bugfix.
[Plinn.git] / skins / generic / folder_contents_macros.pt
index 19be9c1..b03e11d 100644 (file)
@@ -7,7 +7,7 @@
     <title>folder contents macros</title>
   </head>
 
     <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;
         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" >
       <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"
             <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">
       <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');
                (function(){
                        // ordering / selecting
                        var firsItemPosElement = document.getElementById('FirstItemPos');
@@ -93,6 +94,7 @@
                        }
 
                }());
                        }
 
                }());
+    // -->
     </script>
     <script type="text/javascript" tal:condition="options/form/items_add_allowed">
                (function(){
     </script>
     <script type="text/javascript" tal:condition="options/form/items_add_allowed">
                (function(){