PUT webdav -> on crée un fichier pour le tout venant.
[Plinn.git] / skins / photo_theme / folder_contents_macros.pt
index bd8e7f5..7d25a02 100644 (file)
@@ -39,7 +39,7 @@
                                </tr>
                        </thead>
                        <tbody id="FolderListingBody">
                                </tr>
                        </thead>
                        <tbody id="FolderListingBody">
-<tbody tal:repeat="item_info listItemInfos" tal:omit-tag="">
+<tbody tal:repeat="item_info listItemInfos" tal:omit-tag="" metal:define-macro="itemListing">
                    <tr class="" tal:attributes="class python: (even and 'even') or 'odd'" tal:define="even repeat/item_info/even">
                      <td><img src="." alt="lock" height="16" width="16" border="0"
                               tal:condition="python:not isAnon and item_info['lock']"
                    <tr class="" tal:attributes="class python: (even and 'even') or 'odd'" tal:define="even repeat/item_info/even">
                      <td><img src="." alt="lock" height="16" width="16" border="0"
                               tal:condition="python:not isAnon and item_info['lock']"
                        }
                        
                        var uploadUrl = absolute_url() + '/put_upload';
                        }
                        
                        var uploadUrl = absolute_url() + '/put_upload';
-      // new DDFolderUploader(document.getElementById('ForematterCell'), uploadUrl, listing);
+      new DDFolderUploader(document.getElementById('ForematterCell'), uploadUrl, listing);
 
                }());
                </script>
 
                }());
                </script>