bugfix.
[Plinn.git] / skins / custom_generic / folder_contents_template.pt
index 4e8f748..77e9ea3 100644 (file)
@@ -3,14 +3,17 @@
   <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>
-    <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">