diff options
author | plegall <plg@piwigo.org> | 2005-04-16 07:49:55 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-04-16 07:49:55 +0000 |
commit | 41e52d7a8a4086f92fe318c22ed69ef3e6a4047b (patch) | |
tree | f7d958f1bcd6d3dc87b4125d4babcfbaded29a5c /template/default/admin | |
parent | 8549bee38a9c7d1ace16bc99c292e7a66c125eba (diff) |
- elements batch management : in addition to global mode, a unit mode is
added : ability to manage a set of elements, element by element. This
screen is very close to the existing "infos_images" (which will soon
disappear).
* elements batch management : in screen element_set_global, the display
options are displayed at the top as in element_set_unit
git-svn-id: http://piwigo.org/svn/trunk@763 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default/admin')
-rw-r--r-- | template/default/admin/element_set_global.tpl | 37 | ||||
-rw-r--r-- | template/default/admin/element_set_unit.tpl | 87 |
2 files changed, 108 insertions, 16 deletions
diff --git a/template/default/admin/element_set_global.tpl b/template/default/admin/element_set_global.tpl index 9af80caac..d3abb16ad 100644 --- a/template/default/admin/element_set_global.tpl +++ b/template/default/admin/element_set_global.tpl @@ -1,3 +1,8 @@ +<p style="text-align:center;"> + global mode + | <a href="{U_UNIT_MODE}">unit mode</a> +</p> + <form action="{F_ACTION}" method="post"> <fieldset> @@ -15,6 +20,22 @@ <fieldset> + <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> + </p> + +</fieldset> + +<fieldset> + <legend>Form</legend> <table> @@ -140,20 +161,4 @@ </fieldset> -<fieldset> - - <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> - </p> - -</fieldset> - </form> diff --git a/template/default/admin/element_set_unit.tpl b/template/default/admin/element_set_unit.tpl new file mode 100644 index 000000000..28ada6196 --- /dev/null +++ b/template/default/admin/element_set_unit.tpl @@ -0,0 +1,87 @@ +<p style="text-align:center;"> + <a href="{U_GLOBAL_MODE}">global mode</a> + | unit mode +</p> + +<form action="{F_ACTION}" method="POST"> + +<input type="hidden" name="list" value="{IDS_LIST}" /> + +<fieldset> + + <legend>Display options</legend> + + <p>elements per page : + <a href="{U_ELEMENTS_PAGE}&display=5">5</a> + | <a href="{U_ELEMENTS_PAGE}&display=10">10</a> + | <a href="{U_ELEMENTS_PAGE}&display=50">50</a> + | <a href="{U_ELEMENTS_PAGE}&display=all">all</a> + </p> + +</fieldset> + +<fieldset> + + <legend>Elements</legend> + + <div class="navigationBar">{NAV_BAR}</div> + + <table width="100%"> + + <tr> + <th class="row2" style="text-align:center;"> </td> + <th class="row2" style="text-align:center;">name</td> + <th class="row2" style="text-align:center;">author</td> + <th class="row2" style="text-align:center;">description</td> + <th class="row2" style="text-align:center;">creation date</td> + <th class="row2" style="text-align:center;">keywords</td> + </tr> + + <!-- BEGIN element --> + <tr> + + <td style="text-align:center;"><img src="{element.TN_SRC}" alt="" class="miniature" title="{element.FILENAME}" /></td> + + <td style="text-align:center;"><input type="text" name="name-{element.ID}" value="{element.NAME}" maxlength="255"/></td> + + <td style="text-align:center;"><input type="text" name="author-{element.ID}" value="{element.AUTHOR}" maxlength="255" size="12" /></td> + + <td style="text-align:center;"><textarea name="comment-{element.ID}" rows="5" cols="30" style="overflow:auto">{element.COMMENT}</textarea></td> + + <td style="text-align:left;"> + <input type="radio" name="date_creation_action-{element.ID}" value="leave" checked="checked" /> leave unchanged + <br /><input type="radio" name="date_creation_action-{element.ID}" value="unset" /> unset + <br /><input type="radio" name="date_creation_action-{element.ID}" value="set" id="date_creation_action_set-{element.ID}" /> + + <select onmousedown="document.getElementById('date_creation_action_set-{element.ID}').checked = true;" name="date_creation_day-{element.ID}"> + <!-- BEGIN date_creation_day --> + <option {element.date_creation_day.SELECTED} value="{element.date_creation_day.VALUE}">{element.date_creation_day.OPTION}</option> + <!-- END date_creation_day --> + </select> + <select onmousedown="document.getElementById('date_creation_action_set-{element.ID}').checked = true;" name="date_creation_month-{element.ID}"> + <!-- BEGIN date_creation_month --> + <option {element.date_creation_month.SELECTED} value="{element.date_creation_month.VALUE}">{element.date_creation_month.OPTION}</option> + <!-- END date_creation_month --> + </select> + <input onmousedown="document.getElementById('date_creation_action_set-{element.ID}').checked = true;" + name="date_creation_year-{element.ID}" + type="text" + size="4" + maxlength="4" + value="{element.DATE_CREATION_YEAR}" /> + </td> + + <td style="text-align:center;"><input type="text" name="keywords-{element.ID}" value="{element.KEYWORDS}" length="255" /></td> + + </tr> + <!-- END element --> + + </table> + + <p style="text-align:center;"> + <input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" /> + </p> + +</fieldset> + +</form> |