X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/f1aeba78bce0888de483a29111d5d915614f03bb..2ed1eae398e5d04ed8810765105dc9535a26bf44:/skins/photo_theme/folder_jsupload_snippet.py diff --git a/skins/photo_theme/folder_jsupload_snippet.py b/skins/photo_theme/folder_jsupload_snippet.py deleted file mode 100644 index f932675..0000000 --- a/skins/photo_theme/folder_jsupload_snippet.py +++ /dev/null @@ -1,15 +0,0 @@ -##parameters=ob -from Products.CMFCore.utils import getUtilityByInterfaceName -utool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IURLTool') -locale_date_fmt = context.locale_date_fmt() -infos = {'checkbox' : True, - 'url' : ob.absolute_url(), - 'lock' : False, - 'modified' : ob.modified().strftime(locale_date_fmt), - 'title_or_id' : ob.title_or_id(), - 'position' : context.getObjectPosition(ob.getId()), - 'type' : ob.Type() or None, - 'id' : ob.getId(), - 'icon': '%s/%s' % (utool(), ob.getIcon())} - -return context.folder_jsupload_snippet_template(listItemInfos=[infos]) \ No newline at end of file