Mise en commentaire d'un code non générique.
[Plinn.git] / skins / custom_generic / folder_contents_template.pt
1 <html metal:use-macro="here/main_template/macros/master">
2
3 <head>
4 <title>folder_contents</title>
5 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
6 <script metal:fill-slot="javascript_head_slot" tal:attributes="src here/folder_contents_script.js/absolute_url" type="text/javascript"></script>
7 </head>
8
9 <body>
10 <div tal:define="hideContentByLine python:1" metal:fill-slot="header">
11 <div metal:use-macro="here/widgets/macros/generic_header">generic_header</div>
12 </div>
13 <div metal:fill-slot="main" i18n:domain="cmf_default" tal:omit-tag=""
14 tal:define="form options/form">
15 <form method="post" tal:attributes="action string:${here/absolute_url}/folder_contents">
16 <div id="FolderListing">
17 <div metal:use-macro="here/folder_contents_macros/macros/FolderListing">FolderListing macro</div>
18 </div>
19 <br/>
20 <div metal:use-macro="context/form_widgets/macros/buttons">
21 buttons here
22 </div>
23
24 <noscript>
25 <div class="FormButtons" tal:condition="form/listDeltas|nothing" i18n:domain="plinn">
26 <input type="submit" name="items_up" value="Up"
27 i18n:attributes="value" />
28 /
29 <input type="submit" name="items_down" value="Down"
30 i18n:attributes="value" />
31 <span i18n:translate="move_by" tal:omit-tag="">by</span>
32 <select name="delta:int">
33 <option value=""
34 tal:repeat="delta form/listDeltas"
35 tal:attributes="value delta"
36 tal:content="delta">
37 </option>
38 </select>
39 <input type="submit" name="items_top" value="Top"
40 i18n:attributes="value" />
41 <input type="submit" name="items_bottom" value="Bottom"
42 i18n:attributes="value" />
43 </div>
44 </noscript>
45
46 </form>
47 <script type="text/javascript">
48 //<!--
49 initForms(document.getElementById("main_body"));
50 // -->
51 </script>
52 </div>
53 </body>
54 </html>