bugfix.
[Plinn.git] / skins / generic / folder_contents_macros.pt
index 2cb5b03..b03e11d 100644 (file)
@@ -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');
                        }
 
                }());
+    // -->
     </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>