Ignore:
Timestamp:
Dec 8, 2006, 12:21:54 AM (17 years ago)
Author:
rvelices
Message:
  • remove #user_cache_categories.is_child_date_last
  • optimize code in get_icon
  • correct css font-wigth:italic to font-style:italic
  • aditionnal check on $confauthorize_remembering before allowing auto_login
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_cats.inc.php

    r1638 r1641  
    3838SELECT
    3939  id,name, representative_picture_id, comment, nb_images, uppercats,
    40   max_date_last, is_child_date_last, count_images, count_categories
     40  date_last, max_date_last, count_images, count_categories
    4141  FROM '.CATEGORIES_TABLE.' INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.'
    4242  ON id = cat_id and user_id = '.$user['id'].'
     
    5151SELECT
    5252  id,name, representative_picture_id, comment, nb_images,
    53   max_date_last, is_child_date_last, count_images, count_categories
     53  date_last, max_date_last, count_images, count_categories
    5454  FROM '.CATEGORIES_TABLE.' INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.'
    5555  ON id = cat_id and user_id = '.$user['id'].'
     
    6666while ($row = mysql_fetch_assoc($result))
    6767{
    68   $row['is_child_date_last'] = get_boolean($row['is_child_date_last']);
     68  $row['is_child_date_last'] = isset($row['date_last'])
     69      and $row['max_date_last']>$row['date_last'];
    6970
    7071  if (isset($row['representative_picture_id'])
Note: See TracChangeset for help on using the changeset viewer.