Commit 5ac74ee1 authored by Amos Latteier's avatar Amos Latteier

Replaced old powered by Zope button with a new prettier one.

parent 61e30d36
...@@ -85,8 +85,8 @@ ...@@ -85,8 +85,8 @@
__doc__='''Application support __doc__='''Application support
$Id: Application.py,v 1.103 1999/04/29 21:49:17 amos Exp $''' $Id: Application.py,v 1.104 1999/05/04 21:47:15 amos Exp $'''
__version__='$Revision: 1.103 $'[11:-2] __version__='$Revision: 1.104 $'[11:-2]
import Globals,Folder,os,regex,sys,App.Product, App.ProductRegistry, misc_ import Globals,Folder,os,regex,sys,App.Product, App.ProductRegistry, misc_
...@@ -277,10 +277,9 @@ class Application(Globals.ApplicationDefaultPermissions, Folder.Folder, ...@@ -277,10 +277,9 @@ class Application(Globals.ApplicationDefaultPermissions, Folder.Folder,
def ZopeAttributionButton(self): def ZopeAttributionButton(self):
"""Returns an HTML fragment that displays the 'powered by zope' """Returns an HTML fragment that displays the 'powered by zope'
button along with a link to the Zope site. Use this method to button along with a link to the Zope site."""
easily comply with the Zope attribute requirement."""
return '<a href="http://www.zope.org/Credits"><img ' \ return '<a href="http://www.zope.org/Credits"><img ' \
'src="%s/p_/ZopeButton" width="60" height="82" ' \ 'src="%s/p_/ZopeButton" width="115" height="50" ' \
'border="0" alt="Powered by Zope"></a>' % self.REQUEST.BASE1 'border="0" alt="Powered by Zope"></a>' % self.REQUEST.BASE1
......
...@@ -116,7 +116,7 @@ class p_: ...@@ -116,7 +116,7 @@ class p_:
ProductFolder_icon=ImageFile('App/www/productFolder.gif') ProductFolder_icon=ImageFile('App/www/productFolder.gif')
PyPoweredSmall_Gif=ImageFile('App/www/PythonPoweredSmall.gif') PyPoweredSmall_Gif=ImageFile('App/www/PythonPoweredSmall.gif')
ZopeButton=ImageFile('App/www/zope_button.gif') ZopeButton=ImageFile('App/www/zope_button.jpg')
ZButton=ImageFile('App/www/z_button.jpg') ZButton=ImageFile('App/www/z_button.jpg')
Properties_icon=ImageFile('OFS/www/Properties_icon.gif') Properties_icon=ImageFile('OFS/www/Properties_icon.gif')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment