X-Git-Url: https://scm.cri.minesparis.psl.eu/git/Plinn.git/blobdiff_plain/f1aeba78bce0888de483a29111d5d915614f03bb..49cbdf73c2d2ecd45629edffba1feceacca3bb8b:/skins/generic/folder_contents_macros.pt?ds=sidebyside diff --git a/skins/generic/folder_contents_macros.pt b/skins/generic/folder_contents_macros.pt index 2cb5b03..b03e11d 100644 --- a/skins/generic/folder_contents_macros.pt +++ b/skins/generic/folder_contents_macros.pt @@ -7,7 +7,7 @@ <title>folder contents macros</title> </head> - <body i18n:domain="cmf_default" metal:define-macro="FolderListing" + <body i18n:domain="plinn" metal:define-macro="FolderListing" tal:define="batch_dict options/batch; batch batch_dict/batch_obj; listColumnInfos batch_dict/listColumnInfos; @@ -28,7 +28,7 @@ <thead id="FolderListingHeader"> <tr> <th tal:attributes="width column_info/width; colspan column_info/colspan" tal:repeat="column_info listColumnInfos" nowrap="nowrap" > - <a href="." tal:attributes="href column_info/url" tal:content="column_info/title" i18n:translate="">Type</a> + <a href="." tal:attributes="href column_info/url" tal:content="column_info/title">Type</a> <span tal:repeat="img column_info/images" tal:omit-tag=""> <a tal:omit-tag="python:not img.has_key('href')" tal:attributes="href img/href|nothing ; title img/alt" i18n:attributes="title" @@ -70,6 +70,7 @@ <span metal:use-macro="here/batch_macros/macros/navigation">batch navigation</span> </div> <script type="text/javascript"> + <!-- (function(){ // ordering / selecting var firsItemPosElement = document.getElementById('FirstItemPos'); @@ -93,12 +94,13 @@ } }()); + // --> </script> <script type="text/javascript" tal:condition="options/form/items_add_allowed"> (function(){ // upload by drag and drop var uploadUrl = absolute_url() + '/put_upload'; - new DDFolderUploader(document.getElementById('ForematterCell'), uploadUrl, document.getElementById("FolderListingBody")); + new DDFolderUploader(document.getElementById('Desktop'), uploadUrl, document.getElementById("FolderListingBody")); }()); </script> </body>