diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/default/admin/element_set_global.tpl | 155 |
1 files changed, 135 insertions, 20 deletions
diff --git a/template/default/admin/element_set_global.tpl b/template/default/admin/element_set_global.tpl index c693ff53a..9af80caac 100644 --- a/template/default/admin/element_set_global.tpl +++ b/template/default/admin/element_set_global.tpl @@ -1,26 +1,123 @@ -<p style="text-align:center"><a href="{U_EMPTY_CADDIE}">Empty caddie</a></p> - <form action="{F_ACTION}" method="post"> - associate to - <select style="width:400px" name="associate" size="1"> - <!-- BEGIN associate_option --> - <option {associate_option.SELECTED} value="{associate_option.VALUE}">{associate_option.OPTION}</option> - <!-- END associate_option --> - </select> - - <br />dissociate from - <select style="width:400px" name="dissociate" size="1"> - <!-- BEGIN dissociate_option --> - <option {dissociate_option.SELECTED} value="{dissociate_option.VALUE}">{dissociate_option.OPTION}</option> - <!-- END dissociate_option --> - </select> - - <br />target - <input type="radio" name="target" value="all" /> all - <input type="radio" name="target" value="selection" /> selection +<fieldset> + + <legend>Caddie management</legend> + + <ul style="list-style-type:none;"> + <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> + </ul> + + <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit_caddie" class="bouton" /></p> + +</fieldset> + +<fieldset> + + <legend>Form</legend> + + <table> + + <tr> + <td>associate to category</td> + <td> + <select style="width:400px" name="associate" size="1"> + <!-- BEGIN associate_option --> + <option {associate_option.SELECTED} value="{associate_option.VALUE}">{associate_option.OPTION}</option> + <!-- END associate_option --> + </select> + </td> + </tr> + + <tr> + <td>dissociate from category</td> + <td> + <select style="width:400px" name="dissociate" size="1"> + <!-- BEGIN dissociate_option --> + <option {dissociate_option.SELECTED} value="{dissociate_option.VALUE}">{dissociate_option.OPTION}</option> + <!-- END dissociate_option --> + </select> + </td> + </tr> + + <tr> + <td>add keywords</td> + <td><input type="text" name="add_keywords" value="" /></td> + </tr> + + <tr> + <td>remove keyword</td> + <td> + <select name="remove_keyword"> + <!-- BEGIN remove_keyword_option --> + <option value="{remove_keyword_option.VALUE}">{remove_keyword_option.OPTION}</option> + <!-- END remove_keyword_option --> + </select> + </td> + </tr> + + <tr> + <td>author</td> + <td> + <input type="radio" name="author_action" value="leave" checked="checked" /> leave unchanged + <input type="radio" name="author_action" value="unset" /> unset + <input type="radio" name="author_action" value="set" id="author_action_set" /> set to + <input onmousedown="document.getElementById('author_action_set').checked = true;" type="text" name="author" value="" /> + </td> + </tr> + + <tr> + <td>title</td> + <td> + <input type="radio" name="name_action" value="leave" checked="checked" /> leave unchanged + <input type="radio" name="name_action" value="unset" /> unset + <input type="radio" name="name_action" value="set" id="name_action_set" /> set to + <input onmousedown="document.getElementById('name_action_set').checked = true;" type="text" name="name" value="" /> + </td> + </tr> + + <tr> + <td>creation date</td> + <td> + <input type="radio" name="date_creation_action" value="leave" checked="checked" /> leave unchanged + <input type="radio" name="date_creation_action" value="unset" /> unset + <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> set to + <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_day"> + <!-- BEGIN date_creation_day --> + <option {date_creation_day.SELECTED} value="{date_creation_day.VALUE}">{date_creation_day.OPTION}</option> + <!-- END date_creation_day --> + </select> + <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_month"> + <!-- BEGIN date_creation_month --> + <option {date_creation_month.SELECTED} value="{date_creation_month.VALUE}">{date_creation_month.OPTION}</option> + <!-- END date_creation_month --> + </select> + <input onmousedown="document.getElementById('date_creation_action_set').checked = true;" + name="date_creation_year" + type="text" + size="4" + maxlength="4" + value="{DATE_CREATION_YEAR_VALUE}" /> + </td> + </tr> + + </table> + + <p style="text-align:center;"> + target + <input type="radio" name="target" value="all" /> all + <input type="radio" name="target" value="selection" checked="checked" /> selection + </p> + - <br /><input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" /> + <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" /></p> + +</fieldset> + +<fieldset> + + <legend>Elements</legend> <!-- BEGIN thumbnails --> <table valign="top" align="center" class="thumbnail"> @@ -41,4 +138,22 @@ </table> <!-- END thumbnails --> +</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> |