Écrire du HTML n'est pas une maladie honteuse.
[Plinn.git] / skins / generic / folder_contents_macros.pt
index 2cb5b03..009a3e2 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;
@@ -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>