projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Retrait de l'onglet « Import » qui affichait l'applet java.
[Plinn.git]
/
AttachmentTool.py
diff --git
a/AttachmentTool.py
b/AttachmentTool.py
index
c7e7a51
..
a61b4e4
100644
(file)
--- a/
AttachmentTool.py
+++ b/
AttachmentTool.py
@@
-19,8
+19,8
@@
#######################################################################################
""" Basic portal attachment management tool.
#######################################################################################
""" Basic portal attachment management tool.
-$Id: AttachmentTool.py 1261 2008-01-07 01:34:23Z pin $
-$URL: http://svn.cri.ensmp.fr/svn/Plinn/branches/CMF-2.1/AttachmentTool.py $
+
+
"""
from AccessControl import ClassSecurityInfo
"""
from AccessControl import ClassSecurityInfo
@@
-78,8
+78,8
@@
class AttachmentTool( UniqueObject, SimpleItem):
id = makeValidId(attachments, title)
if typeName == 'Photo':
id = makeValidId(attachments, title)
if typeName == 'Photo':
- thumbSize = {'thumb_height' : portal.getProperty('thumb_
height
', 128),
- 'thumb_width' : portal.getProperty('thumb_
width
', 128)}
+ thumbSize = {'thumb_height' : portal.getProperty('thumb_
size
', 128),
+ 'thumb_width' : portal.getProperty('thumb_
size
', 128)}
fileOb = Photo(id, title, file, **thumbSize)
elif typeName == 'File' :
fileOb = File(id, title, '')
fileOb = Photo(id, title, file, **thumbSize)
elif typeName == 'File' :
fileOb = File(id, title, '')