Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
5ac74ee1
Commit
5ac74ee1
authored
May 04, 1999
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced old powered by Zope button with a new prettier one.
parent
61e30d36
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+4
-5
lib/python/OFS/misc_.py
lib/python/OFS/misc_.py
+1
-1
No files found.
lib/python/OFS/Application.py
View file @
5ac74ee1
...
@@ -85,8 +85,8 @@
...
@@ -85,8 +85,8 @@
__doc__
=
'''Application support
__doc__
=
'''Application support
$Id: Application.py,v 1.10
3 1999/04/29 21:49:17
amos Exp $'''
$Id: Application.py,v 1.10
4 1999/05/04 21:47:15
amos Exp $'''
__version__
=
'$Revision: 1.10
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.10
4
$'
[
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
...
...
lib/python/OFS/misc_.py
View file @
5ac74ee1
...
@@ -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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment