source: trunk/template/yoga/admin/element_set_global.tpl @ 1124

Last change on this file since 1124 was 1119, checked in by plg, 19 years ago

improvement: tags replace keywords. Better data model, less
limitations. Each image can be associated to as many tag as needed. Tags can
contain non ASCII characters. Oriented navigation with tags by association.

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