Ignore:
Timestamp:
Aug 14, 2005, 1:09:54 AM (19 years ago)
Author:
plg
Message:
  • new : maintenance screen in administration. There you can update categories informations (number of images, date of the last added element), update images informations (path, average rate), purge obsolete sessions, purge history.
  • new : ability to have random representative for categories. This configuration parameter is set to false by default.
  • new : ability to set an element as representative of a category without belonging to the category. Thus, administrator can choose representative even for empty categories.
  • improvement : semantically superior design for category edition screen by regrouping fields in fieldsets. The improved screen contains action buttons as in category list screen.
  • new : ability to move a virtual category (ie change its parent category).
  • bug fixed : the sync_users function checks all user children tables (access, cache, group association).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/picture_modify.php

    r801 r809  
    235235;';
    236236display_select_cat_wrapper($query,array(),'dissociated_option');
     237
    237238// representing
    238239$query = '
     
    246247SELECT id,name,uppercats,global_rank
    247248  FROM '.CATEGORIES_TABLE.'
    248   WHERE id IN ('.implode(',', $associateds).')
    249     AND representative_picture_id != '.$_GET['image_id'].'
     249  WHERE representative_picture_id != '.$_GET['image_id'].'
     250    OR representative_picture_id IS NULL
    250251;';
    251252display_select_cat_wrapper($query,array(),'dismissed_option');
Note: See TracChangeset for help on using the changeset viewer.