Changeset 614 for trunk/install


Ignore:
Timestamp:
Nov 23, 2004, 11:31:24 PM (20 years ago)
Author:
plg
Message:
  • 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
Location:
trunk/install
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/dbscheme.txt

    r612 r614  
    3232column:uppercats                 table:categories     type:varchar                  nullable:N length:255 binary:N
    3333column:commentable               table:categories     type:enum('true','false')     nullable:N
     34column:global_rank               table:categories     type:varchar                  nullable:Y length:255 binary:N
    3435column:id                        table:comments       type:int                      nullable:N length:11  signed:N
    3536column:image_id                  table:comments       type:mediumint                nullable:N length:8   signed:N
  • trunk/install/phpwebgallery_structure.sql

    r612 r614  
    2626  uppercats varchar(255) NOT NULL default '',
    2727  commentable enum('true','false') NOT NULL default 'true',
     28  global_rank varchar(255) default NULL,
    2829  PRIMARY KEY  (id),
    2930  KEY categories_i2 (id_uppercat)
Note: See TracChangeset for help on using the changeset viewer.