From f0fcd1eedc26c0d36b6b0556b9f53124ba9f889f Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 23 Nov 2004 22:31:24 +0000 Subject: - global categories' options : instead of N horizontal tabs on a single 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 --- template/default/admin/cat_options.tpl | 83 ++++++++++++++-------------------- template/default/admin/user_perm.tpl | 10 ++-- 2 files changed, 39 insertions(+), 54 deletions(-) (limited to 'template/default/admin') diff --git a/template/default/admin/cat_options.tpl b/template/default/admin/cat_options.tpl index 148f72e0b..1a5f442ba 100644 --- a/template/default/admin/cat_options.tpl +++ b/template/default/admin/cat_options.tpl @@ -1,60 +1,43 @@ -

- {L_CAT_OPTIONS_MENU_UPLOAD} - {L_CAT_OPTIONS_MENU_COMMENTS} - {L_CAT_OPTIONS_MENU_VISIBLE} - {L_CAT_OPTIONS_MENU_STATUS} -

+ + + + +
{L_TITLE}
- + + + + + + +
+ + + + + + + - -

{L_CAT_OPTIONS_UPLOAD_INFO}

-

- {L_CAT_OPTIONS_UPLOAD_TRUE} -

-

- {L_CAT_OPTIONS_UPLOAD_FALSE} -

- - - -

{L_CAT_OPTIONS_COMMENTS_INFO}

-

- {L_CAT_OPTIONS_COMMENTS_TRUE} -

-

- {L_CAT_OPTIONS_COMMENTS_FALSE} -

- - - -

{L_CAT_OPTIONS_VISIBLE_INFO}

-

- {L_CAT_OPTIONS_VISIBLE_TRUE} -

-

- {L_CAT_OPTIONS_VISIBLE_FALSE} -

- - - -

{L_CAT_OPTIONS_STATUS_INFO}

-

- {L_CAT_OPTIONS_STATUS_TRUE} -

-

- {L_CAT_OPTIONS_STATUS_FALSE} -

- +

{L_CAT_OPTIONS_INFO}

-

diff --git a/template/default/admin/user_perm.tpl b/template/default/admin/user_perm.tpl index c55c85446..f6fa3ba2a 100644 --- a/template/default/admin/user_perm.tpl +++ b/template/default/admin/user_perm.tpl @@ -12,15 +12,17 @@
- \ No newline at end of file + -- cgit v1.2.3