Ajout traductions d'actions globales ou d'onglets.
[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 <metal:block metal:fill-slot="javascript_head_slot">
7 <script tal:attributes="src string:$portal_url/fileupload.js" type="text/javascript" charset="utf-8"></script>
8 <script tal:attributes="src string:$portal_url/folder_contents_script.js" type="text/javascript" charset="utf-8"></script>
9 </metal:block>
10 </head>
11
12 <body>
13 <div tal:define="hideContentByLine python:1" metal:fill-slot="header">
14 <div metal:use-macro="here/widgets/macros/generic_header">generic_header</div>
15 </div>
16 <div metal:fill-slot="main" i18n:domain="plinn" tal:omit-tag=""
17 tal:define="form options/form">
18 <form method="post" tal:attributes="action string:${here/absolute_url}/folder_contents">
19 <div id="FolderListing">
20 <div metal:use-macro="here/folder_contents_macros/macros/FolderListing">FolderListing macro</div>
21 </div>
22 <br/>
23 <div metal:use-macro="context/form_widgets/macros/buttons">
24 buttons here
25 </div>
26
27 <noscript>
28 <div class="FormButtons" tal:condition="form/listDeltas|nothing" i18n:domain="plinn">
29 <input type="submit" name="items_up" value="Up"
30 i18n:attributes="value" />
31 /
32 <input type="submit" name="items_down" value="Down"
33 i18n:attributes="value" />
34 <span i18n:translate="move_by" tal:omit-tag="">by</span>
35 <select name="delta:int">
36 <option value=""
37 tal:repeat="delta form/listDeltas"
38 tal:attributes="value delta"
39 tal:content="delta">
40 </option>
41 </select>
42 <input type="submit" name="items_top" value="Top"
43 i18n:attributes="value" />
44 <input type="submit" name="items_bottom" value="Bottom"
45 i18n:attributes="value" />
46 </div>
47 </noscript>
48
49 </form>
50 </div>
51 </body>
52 </html>