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

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

Modification: new data model for history, more compact, more efficient. A
summary table is used as cache for history stats display.

New: a Perl script fill_history.pl was added to simulate a high load on
history table (making the efficiency of the new data model obvious).

Modification: function prepend_append_array_items moved from
include/functions_search.inc.php to include/functions_search.inc.php since
this function is used in new file admin/history.php

Modification: admin/images/*_stats.img.php replaced by a simpler and more
generic admin/images/stats.img.php unique file.

New: a history detail search page was added. Currently, only start and end
dates can be modified, it's just a beginning.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.5 KB
Line 
1<!-- $Id: element_set_global.tpl 1727 2007-01-16 23:39:39Z 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">
36        <label>
37          <span class="wrap2"><span>
38            <img src="{thumbnails.thumbnail.SRC}"
39               alt="{thumbnails.thumbnail.ALT}"
40               title="{thumbnails.thumbnail.TITLE}"
41               class="thumbnail" />
42          </span></span>
43          <input type="checkbox" name="selection[]" value="{thumbnails.thumbnail.ID}" />
44        </label>
45        </span>
46    </li>
47    <!-- END thumbnail -->
48  </ul>
49  <!-- END thumbnails -->
50
51</fieldset>
52
53<fieldset>
54
55  <legend>{lang:Form}</legend>
56
57  <table>
58
59    <tr>
60      <td>{lang:associate to category}</td>
61      <td>
62       <select style="width:400px" name="associate" size="1">
63         <!-- BEGIN associate_option -->
64         <option {associate_option.SELECTED} value="{associate_option.VALUE}">{associate_option.OPTION}</option>
65         <!-- END associate_option -->
66       </select>
67      </td>
68    </tr>
69
70    <tr>
71      <td>{lang:dissociate from category}</td>
72      <td>
73        <select style="width:400px" name="dissociate" size="1">
74          <!-- BEGIN dissociate_option -->
75          <option {dissociate_option.SELECTED} value="{dissociate_option.VALUE}">{dissociate_option.OPTION}</option>
76          <!-- END dissociate_option -->
77        </select>
78      </td>
79    </tr>
80
81    <tr>
82      <td>{lang:add tags}</td>
83      <td>{ADD_TAG_SELECTION}</td>
84    </tr>
85
86    <tr>
87      <td>{lang:remove tags}</td>
88      <td>{DEL_TAG_SELECTION}</td>
89    </tr>
90   
91    <tr>
92      <td>{lang:author}</td>
93      <td>
94        <input type="radio" name="author_action" value="leave" checked="checked" /> {lang:leave}
95        <input type="radio" name="author_action" value="unset" /> {lang:unset}
96        <input type="radio" name="author_action" value="set" id="author_action_set" /> {lang:set to}
97        <input onmousedown="document.getElementById('author_action_set').checked = true;" type="text" name="author" value="" />
98      </td>
99    </tr>
100
101    <tr>
102      <td>{lang:title}</td>
103      <td>
104        <input type="radio" name="name_action" value="leave" checked="checked" /> {lang:leave}
105        <input type="radio" name="name_action" value="unset" /> {lang:unset}
106        <input type="radio" name="name_action" value="set" id="name_action_set" /> {lang:set to}
107        <input onmousedown="document.getElementById('name_action_set').checked = true;" type="text" name="name" value="" />
108      </td>
109    </tr>
110
111    <tr>
112      <td>{lang:creation date}</td>
113      <td>
114        <input type="radio" name="date_creation_action" value="leave" checked="checked" /> {lang:leave}
115        <input type="radio" name="date_creation_action" value="unset" /> {lang:unset}
116        <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> {lang:set to}
117        <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_day">
118          <!-- BEGIN date_creation_day -->
119          <option {date_creation_day.SELECTED} value="{date_creation_day.VALUE}">{date_creation_day.OPTION}</option>
120          <!-- END date_creation_day -->
121        </select>
122        <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_month">
123          <!-- BEGIN date_creation_month -->
124          <option {date_creation_month.SELECTED} value="{date_creation_month.VALUE}">{date_creation_month.OPTION}</option>
125          <!-- END date_creation_month -->
126        </select>
127        <input onmousedown="document.getElementById('date_creation_action_set').checked = true;"
128               name="date_creation_year"
129               type="text"
130               size="4"
131               maxlength="4"
132               value="{DATE_CREATION_YEAR_VALUE}" />
133      </td>
134    </tr>
135
136  </table>
137
138  <p>
139    {lang:target}
140    <label><input type="radio" name="target" value="all" /> {lang:all}</label>
141    <label><input type="radio" name="target" value="selection" checked="checked" /> {lang:selection}</label>
142  </p>
143
144   
145  <p><input type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/></p>
146
147</fieldset>
148
149<fieldset>
150
151  <legend>{lang:Caddie management}</legend>
152
153  <ul style="list-style-type:none;">
154    <!-- BEGIN in_caddie -->
155    <li><label><input type="radio" name="caddie_action" value="empty_all" /> {lang:Empty caddie}</label></li>
156    <li><label><input type="radio" name="caddie_action" value="empty_selected" /> {lang:Take selected elements out of caddie}</label></li>
157    <!-- END in_caddie -->
158
159    <!-- BEGIN not_in_caddie -->
160    <li><label><input type="radio" name="caddie_action" value="add_selected" /> {lang:Add selected elements to caddie}</label></li>
161    <!-- END not_in_caddie -->
162
163    <li><label><input type="radio" name="caddie_action" value="export" /> {lang:Export data}</label></li>
164 
165  </ul>
166
167  <p><input type="submit" value="{L_SUBMIT}" name="submit_caddie" {TAG_INPUT_ENABLED}/></p>
168
169</fieldset>
170
171</form>
Note: See TracBrowser for help on using the repository browser.