mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
f0fcd1eedc
page, N options in the left menu (but the same backend) - categories.global_rank : new calculated field. It gives a global rank of the category among all others (updated during ordering) - category.php page : menu is generated faster thanks to categories.global_rank, recursivity becomes useless :-) - new function to display select box with a set of categories : display_select_cat_wrapper - cat_options : instead of using 1 multiselect for true/false items, using 1 multiselect for true, and another one for false. The form provides buttons with arrows to switch categories from one multiselect to another - deletion of obsolete function display_categories (working with the old template system) - deletion of obsolete functions get_user_plain_structure, create_user_structure, get_user_subcat_ids, update_structure, count_images : useless thanks to global_rank git-svn-id: http://piwigo.org/svn/trunk@614 68402e56-0260-453c-a942-63ccdbb3a9ee
45 lines
1.4 KiB
Smarty
45 lines
1.4 KiB
Smarty
<table width="100%" align="center">
|
|
<tr class="admin">
|
|
<th colspan="2">{L_TITLE}</th>
|
|
</tr>
|
|
</table>
|
|
|
|
<form action="{F_ACTION}" method="post">
|
|
|
|
<table>
|
|
<tr>
|
|
<td style="text-align:center;">{L_CAT_OPTIONS_TRUE}</td>
|
|
<td></td>
|
|
<td style="text-align:center;">{L_CAT_OPTIONS_FALSE}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<select style="width:300px" multiple="multiple" name="cat_true[]" size="20">
|
|
<!-- BEGIN category_option_true -->
|
|
<option class="{category_option_true.CLASS}" {category_option_true.SELECTED} value="{category_option_true.VALUE}">{category_option_true.OPTION}</option>
|
|
<!-- END category_option_true -->
|
|
</select>
|
|
</td>
|
|
<td valign="middle">
|
|
<input type="submit" value="→" name="falsify" style="font-size:15px;" class="bouton" />
|
|
<br />
|
|
<input type="submit" value="←" name="trueify" style="font-size:15px;" class="bouton" />
|
|
</td>
|
|
<td>
|
|
<select style="width:300px" multiple="multiple" name="cat_false[]" size="20">
|
|
<!-- BEGIN category_option_false -->
|
|
<option class="{category_option_false.CLASS}" {category_option_false.SELECTED} value="{category_option_false.VALUE}">{category_option_false.OPTION}</option>
|
|
<!-- END category_option_false -->
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p>{L_CAT_OPTIONS_INFO}</p>
|
|
|
|
<p style="text-align:center;">
|
|
<input type="reset" name="reset" value="{L_RESET}" class="bouton" />
|
|
</p>
|
|
|
|
</form>
|