source: branches/branch-1_6/template/yoga/admin/element_set_global.tpl @ 1307

Last change on this file since 1307 was 1307, checked in by plg, 18 years ago

bug 377 fixed: the correction of bug 357 was made too quickly... instead of
having two forms, a reordering of the fieldset fixes bug 357 without
creating bug 377.

improvement: taken from trunk and made by chrisaga, no need to set the
number of columns, it's automatic jsut as in the thumbnails public display.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.3 KB
Line 
1<!-- $Id: element_set_global.tpl 1307 2006-05-15 20:46:43Z plg $ -->
2<h2>{lang:Batch management}</h2>
3
4<h3>{CATEGORIES_NAV}</h3>
5
6<p style="text-align:center;">
7  {lang:global mode}
8  | <a href="{U_UNIT_MODE}">{lang:unit mode}</a>
9</p>
10
11<fieldset>
12
13  <legend>{lang:Display options}</legend>
14
15  <p>{lang:elements per page}:
16      <a href="{U_DISPLAY}&amp;display=20">20</a>
17    | <a href="{U_DISPLAY}&amp;display=50">50</a>
18    | <a href="{U_DISPLAY}&amp;display=100">100</a>
19    | <a href="{U_DISPLAY}&amp;display=all">{lang:all}</a>
20  </p>
21
22</fieldset>
23
24<form action="{F_ACTION}" method="post">
25
26<fieldset>
27
28  <legend>{lang:Elements}</legend>
29
30  <div class="navigationBar">{NAV_BAR}</div>
31
32  <!-- BEGIN thumbnails -->
33  <ul class="thumbnails">
34    <!-- BEGIN thumbnail -->
35    <li><span class="wrap1"><span class="wrap2">
36        <label>
37        <img src="{thumbnails.thumbnail.SRC}"
38             alt="{thumbnails.thumbnail.ALT}"
39             title="{thumbnails.thumbnail.TITLE}"
40             class="thumbLink" />
41        <input type="checkbox" name="selection[]" value="{thumbnails.thumbnail.ID}" />
42        </label>
43    </li>
44    <!-- END thumbnail -->
45  </ul>
46  <!-- END thumbnails -->
47
48</fieldset>
49
50<fieldset>
51
52  <legend>{lang:Form}</legend>
53
54  <table>
55
56    <tr>
57      <td>{lang:associate to category}</td>
58      <td>
59       <select style="width:400px" name="associate" size="1">
60         <!-- BEGIN associate_option -->
61         <option {associate_option.SELECTED} value="{associate_option.VALUE}">{associate_option.OPTION}</option>
62         <!-- END associate_option -->
63       </select>
64      </td>
65    </tr>
66
67    <tr>
68      <td>{lang:dissociate from category}</td>
69      <td>
70        <select style="width:400px" name="dissociate" size="1">
71          <!-- BEGIN dissociate_option -->
72          <option {dissociate_option.SELECTED} value="{dissociate_option.VALUE}">{dissociate_option.OPTION}</option>
73          <!-- END dissociate_option -->
74        </select>
75      </td>
76    </tr>
77
78    <tr>
79      <td>{lang:add tags}</td>
80      <td>{ADD_TAG_SELECTION}</td>
81    </tr>
82
83    <tr>
84      <td>{lang:remove tags}</td>
85      <td>{DEL_TAG_SELECTION}</td>
86    </tr>
87   
88    <tr>
89      <td>{lang:author}</td>
90      <td>
91        <input type="radio" name="author_action" value="leave" checked="checked" /> {lang:leave}
92        <input type="radio" name="author_action" value="unset" /> {lang:unset}
93        <input type="radio" name="author_action" value="set" id="author_action_set" /> {lang:set to}
94        <input onmousedown="document.getElementById('author_action_set').checked = true;" type="text" name="author" value="" />
95      </td>
96    </tr>
97
98    <tr>
99      <td>{lang:title}</td>
100      <td>
101        <input type="radio" name="name_action" value="leave" checked="checked" /> {lang:leave}
102        <input type="radio" name="name_action" value="unset" /> {lang:unset}
103        <input type="radio" name="name_action" value="set" id="name_action_set" /> {lang:set to}
104        <input onmousedown="document.getElementById('name_action_set').checked = true;" type="text" name="name" value="" />
105      </td>
106    </tr>
107
108    <tr>
109      <td>{lang:creation date}</td>
110      <td>
111        <input type="radio" name="date_creation_action" value="leave" checked="checked" /> {lang:leave}
112        <input type="radio" name="date_creation_action" value="unset" /> {lang:unset}
113        <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> {lang:set to}
114        <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_day">
115          <!-- BEGIN date_creation_day -->
116          <option {date_creation_day.SELECTED} value="{date_creation_day.VALUE}">{date_creation_day.OPTION}</option>
117          <!-- END date_creation_day -->
118        </select>
119        <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_month">
120          <!-- BEGIN date_creation_month -->
121          <option {date_creation_month.SELECTED} value="{date_creation_month.VALUE}">{date_creation_month.OPTION}</option>
122          <!-- END date_creation_month -->
123        </select>
124        <input onmousedown="document.getElementById('date_creation_action_set').checked = true;"
125               name="date_creation_year"
126               type="text"
127               size="4"
128               maxlength="4"
129               value="{DATE_CREATION_YEAR_VALUE}" />
130      </td>
131    </tr>
132
133  </table>
134
135  <p>
136    {lang:target}
137    <label><input type="radio" name="target" value="all" /> {lang:all}</label>
138    <label><input type="radio" name="target" value="selection" checked="checked" /> {lang:selection}</label>
139  </p>
140
141   
142  <p><input type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/></p>
143
144</fieldset>
145
146<fieldset>
147
148  <legend>{lang:Caddie management}</legend>
149
150  <ul style="list-style-type:none;">
151
152    <!-- BEGIN in_caddie -->
153    <li><label><input type="radio" name="caddie_action" value="empty_all" /> {lang:Empty caddie}</label></li>
154    <li><label><input type="radio" name="caddie_action" value="empty_selected" /> {lang:Take selected elements out of caddie}</label></li>
155    <!-- END in_caddie -->
156
157    <!-- BEGIN not_in_caddie -->
158    <li><label><input type="radio" name="caddie_action" value="add_selected" /> {lang:Add selected elements to caddie}</label></li>
159    <!-- END not_in_caddie -->
160 
161  </ul>
162
163  <p><input type="submit" value="{L_SUBMIT}" name="submit_caddie" {TAG_INPUT_ENABLED}/></p>
164
165</fieldset>
166
167</form>
Note: See TracBrowser for help on using the repository browser.