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
f6050677
Commit
f6050677
authored
Dec 20, 2000
by
Martijn Pieters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified the output of HTML image tags to be XHTML compliant.
parent
31bdc1c2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
doc/CHANGES.txt
doc/CHANGES.txt
+4
-0
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+3
-3
lib/python/OFS/Image.py
lib/python/OFS/Image.py
+2
-2
No files found.
doc/CHANGES.txt
View file @
f6050677
...
...
@@ -37,6 +37,10 @@ Zope changes
that need access to this information remotely should be modified
so that a Python Script or DTML Method can explicitly pass
the data.
- The Image.tag() and ZopeAttributionButton methods now return an
image tag that is XHTML compatible; a space and a slash have been
added.
Bugs Fixed
...
...
lib/python/OFS/Application.py
View file @
f6050677
...
...
@@ -85,8 +85,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.13
4 2000/12/05 18:49:43 shane
Exp $'''
__version__
=
'$Revision: 1.13
4
$'
[
11
:
-
2
]
$Id: Application.py,v 1.13
5 2000/12/20 15:01:25 mj
Exp $'''
__version__
=
'$Revision: 1.13
5
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
import
time
,
traceback
,
os
,
string
,
Products
...
...
@@ -261,7 +261,7 @@ class Application(Globals.ApplicationDefaultPermissions,
button along with a link to the Zope site."""
return
'<a href="http://www.zope.org/Credits" target="_top"><img '
\
'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
def
DELETE
(
self
,
REQUEST
,
RESPONSE
):
...
...
lib/python/OFS/Image.py
View file @
f6050677
...
...
@@ -84,7 +84,7 @@
##############################################################################
"""Image object"""
__version__
=
'$Revision: 1.12
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.12
1
$'
[
11
:
-
2
]
import
Globals
,
string
,
struct
,
content_types
from
OFS.content_types
import
guess_content_type
...
...
@@ -617,7 +617,7 @@ class Image(File):
value
=
args
.
get
(
key
)
result
=
'%s %s="%s"'
%
(
result
,
key
,
value
)
return
'%s>'
%
result
return
'%s
/
>'
%
result
def
cookId
(
id
,
title
,
file
):
...
...
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