diff options
author | plegall <plg@piwigo.org> | 2005-04-16 16:56:32 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-04-16 16:56:32 +0000 |
commit | b63d91c59e084223d419b4861627673821d3b15b (patch) | |
tree | add112962d09483b6a7ced06cd74fba4fbb538c0 /template/default/admin | |
parent | 41e52d7a8a4086f92fe318c22ed69ef3e6a4047b (diff) |
- elements batch management : element_set page becomes the frontend to
element_set_global and element_set_unit, infos_images (after a long time
of use) become deprecated : the more powerful element_set is used
instead. Consequently, batch management concerns caddie but also "normal
categories".
- refactoring code in admin.php to include the sub-file (clearer)
- caddie : function fill_caddie replaces the code in category.php and can be
used in admin/element_set.php
- caddie : caddie table is added in delete_elements function
git-svn-id: http://piwigo.org/svn/trunk@764 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default/admin')
-rw-r--r-- | template/default/admin/element_set_global.tpl | 33 | ||||
-rw-r--r-- | template/default/admin/element_set_unit.tpl | 2 |
2 files changed, 28 insertions, 7 deletions
diff --git a/template/default/admin/element_set_global.tpl b/template/default/admin/element_set_global.tpl index d3abb16ad..edaba7b87 100644 --- a/template/default/admin/element_set_global.tpl +++ b/template/default/admin/element_set_global.tpl @@ -1,3 +1,5 @@ +<div class="admin">{CATEGORY_TITLE}</div> + <p style="text-align:center;"> global mode | <a href="{U_UNIT_MODE}">unit mode</a> @@ -10,8 +12,16 @@ <legend>Caddie management</legend> <ul style="list-style-type:none;"> + + <!-- BEGIN in_caddie --> <li><input type="radio" name="caddie_action" value="empty_all" /> Empty caddie</li> <li><input type="radio" name="caddie_action" value="empty_selected" /> Take selected elements out of caddie</li> + <!-- END in_caddie --> + + <!-- BEGIN not_in_caddie --> + <li><input type="radio" name="caddie_action" value="add_selected" /> Add selected elements to caddie</li> + <!-- END not_in_caddie --> + </ul> <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit_caddie" class="bouton" /></p> @@ -23,13 +33,20 @@ <legend>Display options</legend> <p>elements per line : - <a href="{U_ELEMENTS_LINE}&display=4">4</a> - | <a href="{U_ELEMENTS_LINE}&display=5">5</a> - | <a href="{U_ELEMENTS_LINE}&display=6">6</a> - | <a href="{U_ELEMENTS_LINE}&display=7">7</a> - | <a href="{U_ELEMENTS_LINE}&display=8">8</a> - | <a href="{U_ELEMENTS_LINE}&display=9">9</a> - | <a href="{U_ELEMENTS_LINE}&display=10">10</a> + <a href="{U_COLS}&cols=4">4</a> + | <a href="{U_COLS}&cols=5">5</a> + | <a href="{U_COLS}&cols=6">6</a> + | <a href="{U_COLS}&cols=7">7</a> + | <a href="{U_COLS}&cols=8">8</a> + | <a href="{U_COLS}&cols=9">9</a> + | <a href="{U_COLS}&cols=10">10</a> + </p> + + <p>elements per page : + <a href="{U_DISPLAY}&display=20">20</a> + | <a href="{U_DISPLAY}&display=50">50</a> + | <a href="{U_DISPLAY}&display=100">100</a> + | <a href="{U_DISPLAY}&display=all">all</a> </p> </fieldset> @@ -140,6 +157,8 @@ <legend>Elements</legend> + <div class="navigationBar">{NAV_BAR}</div> + <!-- BEGIN thumbnails --> <table valign="top" align="center" class="thumbnail"> <!-- BEGIN line --> diff --git a/template/default/admin/element_set_unit.tpl b/template/default/admin/element_set_unit.tpl index 28ada6196..48dac9046 100644 --- a/template/default/admin/element_set_unit.tpl +++ b/template/default/admin/element_set_unit.tpl @@ -1,3 +1,5 @@ +<div class="admin">{CATEGORY_TITLE}</div> + <p style="text-align:center;"> <a href="{U_GLOBAL_MODE}">global mode</a> | unit mode |