- 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
This commit is contained in:
plegall
2004-11-23 22:31:24 +00:00
parent 5197779bba
commit f0fcd1eedc
16 changed files with 352 additions and 478 deletions
+14 -10
View File
@@ -326,18 +326,22 @@ $lang['cat_list_virtual_category_added'] = 'virtual category added';
$lang['cat_list_virtual_category_deleted'] = 'virtual category deleted';
$lang['cat_options_menu'] = 'Options';
$lang['cat_options_menu_upload'] = 'upload';
$lang['cat_options_menu_visible'] = 'lock';
$lang['cat_options_menu_comments'] = 'comments';
$lang['cat_options_menu_status'] = 'access';
$lang['cat_options_upload_true'] = 'authorize upload';
$lang['cat_options_upload_false'] = 'forbid upload';
$lang['cat_options_upload_menu'] = 'Upload';
$lang['cat_options_upload_title'] = 'upload authorization settings for categories';
$lang['cat_options_visible_menu'] = 'Lock';
$lang['cat_options_visible_title'] = 'temporary lock categories';
$lang['cat_options_comments_menu'] = 'Comments';
$lang['cat_options_comments_title'] = 'authorize comments for categories';
$lang['cat_options_status_menu'] = 'Access';
$lang['cat_options_status_title'] = 'make your category private or public';
$lang['cat_options_upload_true'] = 'upload authorized';
$lang['cat_options_upload_false'] = 'upload forbidden';
$lang['cat_options_upload_info'] = '(multi)select categories to make them uploadable or not. Upload is not applicable to virtual categories and to categories from a remote site.';
$lang['cat_options_comments_true'] = 'authorize comments';
$lang['cat_options_comments_false'] = 'forbid comments';
$lang['cat_options_comments_true'] = 'comments authorized';
$lang['cat_options_comments_false'] = 'comments forbidden';
$lang['cat_options_comments_info'] = '(multi)select categories to make them commentable or not. By inheritance, an element is commentable if it belongs at least to one commentable category.';
$lang['cat_options_visible_true'] = 'unlock';
$lang['cat_options_visible_false'] = 'lock temporary';
$lang['cat_options_visible_true'] = 'unlocked';
$lang['cat_options_visible_false'] = 'locked';
$lang['cat_options_visible_info'] = '(multi)select categories to lock or unlock them. If you lock category, all its child categories becomes locked. It you unlock a category, all its parent categories becomes unlocked';
$lang['cat_options_status_true'] = 'public';
$lang['cat_options_status_false'] = 'private';