Effacement de la sélection quand le déplacement est effectif (validé par le serveur).
[Portfolio.git] / skins / lightbox_view_template.pt
1 <html metal:use-macro="here/main_template/macros/master"
2 xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal">
3 <head>
4 <title>Selection view</title>
5 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
6 <metal:block metal:fill-slot="javascript_head_slot">
7 <script type="text/javascript" tal:attributes="src string:${portal_url}/cart_widgets.js"></script>
8 <script type="text/javascript" tal:attributes="src string:${portal_url}/photo_lightbox_viewer.js"></script>
9 </metal:block>
10
11 </head>
12 <body>
13 <div metal:fill-slot="header">
14 <div metal:use-macro="here/widgets/macros/generic_header">
15 generic_header macro
16 </div>
17 </div>
18 <div metal:fill-slot="main" tal:omit-tag="" i18n:domain="portfolio">
19 <em tal:condition="options/lightboxSelected" i18n:translate="lightbox_selected_explanations"></em>
20 <form tal:attributes="action string:${here/absolute_url}/lightbox_view" tal:condition="options/buttons">
21 <div id="lightbox_toolbar" class="image_toolbar"
22 tal:define="ModifyPortalContent modules/Products/CMFCore/permissions/ModifyPortalContent"
23 tal:condition="python:mtool.checkPermission(ModifyPortalContent, here)">
24 <input type="image" width="17" height="27" alt="delete" title="delete"
25 name="delete"
26 tal:attributes="src string:$portal_url/trash_btn.gif"
27 i18n:attributes="alt;title"/>
28 <br/>
29 </div>
30 <span tal:repeat="button options/buttons" tal:omit-tag="">
31 <input type="submit" tal:attributes="name button/name; value button/value" i18n:attributes="value"/>
32 </span>
33 <div tal:define="batch options/batch;
34 infos options/infos;
35 features options/features"
36 tal:omit-tag="">
37 <div metal:use-macro="here/photo_layout_macros/macros/grid">
38 affichage grille
39 </div>
40 </div>
41 </form>
42 <br clear="all"/>
43 </div>
44 </body>
45 </html>