projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Début d’implémentation de l’upload par glisser / déposer dans les dossiers Plinn.
[Plinn.git]
/
skins
/
custom_control
/
addtoFavorites.py
diff --git
a/skins/custom_control/addtoFavorites.py
b/skins/custom_control/addtoFavorites.py
index
2816b6f
..
03d5a86
100644
(file)
--- a/
skins/custom_control/addtoFavorites.py
+++ b/
skins/custom_control/addtoFavorites.py
@@
-12,7
+12,7
@@
ttool = portal.portal_types
homeFolder = portal.portal_membership.getHomeFolder()
if not hasattr(homeFolder, 'Favorites'):
homeFolder = portal.portal_membership.getHomeFolder()
if not hasattr(homeFolder, 'Favorites'):
- ttool.constructContent( 'Plinn Folder', homeFolder, 'Favorites', title=str(_('Favorites')) )
+ ttool.constructContent( '
Huge
Plinn Folder', homeFolder, 'Favorites', title=str(_('Favorites')) )
targetFolder = getattr( homeFolder, 'Favorites' )
new_id='fav_' + str(int( context.ZopeTime()))
targetFolder = getattr( homeFolder, 'Favorites' )
new_id='fav_' + str(int( context.ZopeTime()))