Bugfix : à l'instanciation d'un site CMF, le composant Products.CMFCore.interfaces...
[Plinn.git] / skins / custom_generic / folder_contents_template.pt
index ba3001c..77e9ea3 100644 (file)
@@ -3,14 +3,17 @@
   <head>
     <title>folder_contents</title>
     <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
   <head>
     <title>folder_contents</title>
     <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
-               <script metal:fill-slot="javascript_head_slot" tal:attributes="src here/folder_contents_script.js/absolute_url" type="text/javascript"></script>
+    <metal:block metal:fill-slot="javascript_head_slot">
+               <script tal:attributes="src string:$portal_url/fileupload.js" type="text/javascript" charset="utf-8"></script>
+               <script tal:attributes="src string:$portal_url/folder_contents_script.js" type="text/javascript" charset="utf-8"></script>
+    </metal:block>
   </head>
 
   <body>
     <div tal:define="hideContentByLine python:1" metal:fill-slot="header">
       <div metal:use-macro="here/widgets/macros/generic_header">generic_header</div>
     </div>
   </head>
 
   <body>
     <div tal:define="hideContentByLine python:1" metal:fill-slot="header">
       <div metal:use-macro="here/widgets/macros/generic_header">generic_header</div>
     </div>
-    <div metal:fill-slot="main" i18n:domain="cmf_default" tal:omit-tag=""
+    <div metal:fill-slot="main" i18n:domain="plinn" tal:omit-tag=""
                 tal:define="form options/form">
       <form method="post" tal:attributes="action string:${here/absolute_url}/folder_contents">
              <div id="FolderListing">
                 tal:define="form options/form">
       <form method="post" tal:attributes="action string:${here/absolute_url}/folder_contents">
              <div id="FolderListing">
                                </noscript>
 
       </form>
                                </noscript>
 
       </form>
-                       <script type="text/javascript">
-                       //<!--
-                               initForms(document.getElementById("main_body"));
-                       // -->
-                       </script>
     </div>
   </body>
 </html>
\ No newline at end of file
     </div>
   </body>
 </html>
\ No newline at end of file