source: trunk/admin/template/goto/element_set_global.tpl @ 3081

Last change on this file since 3081 was 2761, checked in by vdigital, 16 years ago

Some Input text have been enlarged in Admin (class="large")
Bullet points removed on comments in picture page. (Neuronal correction...)[merge]

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 7.7 KB
Line 
1{* $Id: element_set_global.tpl 2761 2008-10-16 19:21:56Z vdigital $ *}
2
3{include file='include/datepicker.inc.tpl'}
4
5{literal}
6<script type="text/javascript">
7  pwg_initialization_datepicker("#date_creation_day", "#date_creation_month", "#date_creation_year", "#date_creation_linked_date", "#date_creation_action_set");
8</script>
9{/literal}
10
11<h2>{'Batch management'|@translate}</h2>
12
13<h3>{$CATEGORIES_NAV}</h3>
14
15{if !empty($thumbnails)}
16  <p style="text-align:center;">
17    {'global mode'|@translate}
18    | <a href="{$U_UNIT_MODE}">{'unit mode'|@translate}</a>
19  </p>
20
21  <fieldset>
22
23    <legend>{'Display options'|@translate}</legend>
24
25    <p>{'elements per page'|@translate}:
26        <a href="{$U_DISPLAY}&amp;display=20">20</a>
27      | <a href="{$U_DISPLAY}&amp;display=50">50</a>
28      | <a href="{$U_DISPLAY}&amp;display=100">100</a>
29      | <a href="{$U_DISPLAY}&amp;display=all">{'all'|@translate}</a>
30    </p>
31
32  </fieldset>
33
34  <form action="{$F_ACTION}" method="post">
35
36  <fieldset>
37
38    <legend>{'Elements'|@translate}</legend>
39
40    {if !empty($NAV_BAR)}<div class="navigationBar">{$NAV_BAR}</div>{/if}
41
42  {if !empty($thumbnails)}
43    <ul class="thumbnails">
44      {foreach from=$thumbnails item=thumbnail}
45      <li><span class="wrap1">
46          <label>
47            <span class="wrap2">
48        {if $thumbnail.LEVEL > 0}
49        <em class="levelIndicatorB">{$thumbnail.LEVEL}</em>
50        <em class="levelIndicatorF" title="{$pwg->l10n($pwg->sprintf('Level %d',$thumbnail.LEVEL))}">{$thumbnail.LEVEL}</em>
51        {/if}
52            <span>
53              <img src="{$thumbnail.TN_SRC}"
54                 alt="{$thumbnail.FILE}"
55                 title="{$thumbnail.TITLE}"
56                 class="thumbnail" />
57            </span></span>
58            <input type="checkbox" name="selection[]" value="{$thumbnail.ID}" />
59          </label>
60          </span>
61      </li>
62      {/foreach}
63    </ul>
64  {/if}
65
66  </fieldset>
67
68  {if $show_delete_form}
69  <fieldset>
70    <legend>{'Deletions'|@translate}</legend>
71    <p style="font-style:italic">{'Note: Only deletes photos added with pLoader'|@translate}</p>
72    <p>
73      {'target'|@translate}
74      <label><input type="radio" name="target_deletion" value="all" /> {'all'|@translate}</label>
75      <label><input type="radio" name="target_deletion" value="selection" checked="checked" /> {'selection'|@translate}</label>
76    </p>
77    <p>
78    <label><input type="checkbox" name="confirm_deletion" value="1" /> {'confirm'|@translate}</label>
79    <input class="submit" type="submit" value="{'Delete selected photos'|@translate}" name="delete" {$TAG_INPUT_ENABLED}/>
80    </p>
81  </fieldset>
82  {/if}
83
84  <fieldset>
85
86    <legend>{'Form'|@translate}</legend>
87
88    <table>
89
90      <tr>
91        <td>{'associate to category'|@translate}</td>
92        <td>
93          <select style="width:400px" name="associate" size="1">
94            <option value="0">------------</option>
95            {html_options options=$associate_options }
96         </select>
97        </td>
98      </tr>
99
100      <tr>
101        <td>{'dissociate from category'|@translate}</td>
102        <td>
103          <select style="width:400px" name="dissociate" size="1">
104            <option value="0">------------</option>
105            {if !empty($dissociate_options)}{html_options options=$dissociate_options }{/if}
106          </select>
107        </td>
108      </tr>
109
110      <tr>
111        <td>{'add tags'|@translate}</td>
112        <td>{if !empty($ADD_TAG_SELECTION)}{$ADD_TAG_SELECTION}{else}<p>{'No tag defined. Use Administration>Pictures>Tags'|@translate}</p>{/if}</td>
113      </tr>
114
115      {if !empty($DEL_TAG_SELECTION)}
116      <tr>
117        <td>{'remove tags'|@translate}</td>
118        <td>{$DEL_TAG_SELECTION}</td>
119      </tr>
120      {/if}
121
122      <tr>
123        <td>{'Author'|@translate}</td>
124        <td>
125          <label><input type="radio" name="author_action" value="leave" checked="checked" /> {'leave'|@translate}</label>
126          <label><input type="radio" name="author_action" value="unset" /> {'unset'|@translate}</label>
127          <label><input type="radio" name="author_action" value="set" id="author_action_set" /> {'set to'|@translate}</label>
128          <input onchange="document.getElementById('author_action_set').checked = true;" type="text" class="large" name="author" value="" />
129        </td>
130      </tr>
131
132      <tr>
133        <td>{'title'|@translate}</td>
134        <td>
135          <label><input type="radio" name="name_action" value="leave" checked="checked" /> {'leave'|@translate}</label>
136          <label><input type="radio" name="name_action" value="unset" /> {'unset'|@translate}</label>
137          <label><input type="radio" name="name_action" value="set" id="name_action_set" /> {'set to'|@translate}</label>
138          <input onchange="document.getElementById('name_action_set').checked = true;" type="text" class="large" name="name" value="" />
139        </td>
140      </tr>
141
142      <tr>
143        <td>{'Creation date'|@translate}</td>
144        <td>
145          <label><input type="radio" name="date_creation_action" value="leave" checked="checked" /> {'leave'|@translate}</label>
146          <label><input type="radio" name="date_creation_action" value="unset" /> {'unset'|@translate}</label>
147          <label><input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> {'set to'|@translate}</label>
148          <select id="date_creation_day" name="date_creation_day">
149             <option value="0">--</option>
150            {section name=day start=1 loop=32}
151              <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$DATE_CREATION_DAY}selected="selected"{/if}>{$smarty.section.day.index}</option>
152            {/section}
153          </select>
154          <select id="date_creation_month" name="date_creation_month">
155            {html_options options=$month_list selected=$DATE_CREATION_MONTH}
156          </select>
157          <input id="date_creation_year"
158                 name="date_creation_year"
159                 type="text"
160                 size="4"
161                 maxlength="4"
162                 value="{$DATE_CREATION_YEAR}" />
163          <input id="date_creation_linked_date" name="date_creation_linked_date" type="hidden" size="10" disabled="disabled"/>
164        </td>
165      </tr>
166
167    <tr>
168      <td>{'Minimum privacy level'|@translate}</td>
169      <td>
170        <label><input type="radio" name="level_action" value="leave" checked="checked" />{'leave'|@translate}</label>
171        <label><input type="radio" name="level_action" value="set" id="level_action_set" />{'set to'|@translate}</label>
172        <select onchange="document.getElementById('level_action_set').checked = true;" name="level" size="1">
173          {html_options options=$level_options}
174        </select>
175      </td>
176    </tr>
177
178    </table>
179
180    <p>
181      {'target'|@translate}
182      <label><input type="radio" name="target" value="all" /> {'all'|@translate}</label>
183      <label><input type="radio" name="target" value="selection" checked="checked" /> {'selection'|@translate}</label>
184    </p>
185
186
187    <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}/></p>
188
189  </fieldset>
190
191  <fieldset>
192
193    <legend>{'Caddie management'|@translate}</legend>
194
195    <ul style="list-style-type:none;">
196      {if ($IN_CADDIE)}
197      <li><label><input type="radio" name="caddie_action" value="empty_all" /> {'Empty caddie'|@translate}</label></li>
198      <li><label><input type="radio" name="caddie_action" value="empty_selected" /> {'Take selected elements out of caddie'|@translate}</label></li>
199      {else}
200      <li><label><input type="radio" name="caddie_action" value="add_selected" /> {'Add selected elements to caddie'|@translate}</label></li>
201      {/if}
202    </ul>
203
204    <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit_caddie" /></p>
205
206  </fieldset>
207
208  </form>
209
210{else}
211  <div class="infos"><p>{'Caddie is currently empty'|@translate}</p></div>
212{/if}
Note: See TracBrowser for help on using the repository browser.