Ignore:
Timestamp:
Sep 10, 2008, 3:16:13 AM (16 years ago)
Author:
rvelices
Message:
  • fix undefined template vars U_LOST_PASSWORD (menubar), F_ACTION (extend_for_templates) and F_C13Y_ACTION (check_integrity)
  • normalized some template variable names between category thumbnails and thumbnails (take advantage of full template change with smarty and do it now)
File:
1 edited

Legend:

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

    r2433 r2515  
    3333  $query = '
    3434SELECT
    35   id, name, permalink, representative_picture_id, comment, nb_images, uppercats,
    36   date_last, max_date_last, count_images, count_categories, global_rank
    37   FROM '.CATEGORIES_TABLE.' INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.'
     35  c.*, nb_images, date_last, max_date_last, count_images, count_categories
     36  FROM '.CATEGORIES_TABLE.' c INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.'
    3837  ON id = cat_id and user_id = '.$user['id'].'
    3938  WHERE date_last >= SUBDATE(
     
    5554  $query = '
    5655SELECT
    57   id, name, permalink, representative_picture_id, comment, nb_images, uppercats,
    58   date_last, max_date_last, count_images, count_categories
    59   FROM '.CATEGORIES_TABLE.' INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.'
     56  c.*, nb_images, date_last, max_date_last, count_images, count_categories
     57  FROM '.CATEGORIES_TABLE.' c INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.'
    6058  ON id = cat_id and user_id = '.$user['id'].'
    6159  WHERE id_uppercat '.
     
    246244          'ID'    => $category['id'],
    247245          'TN_SRC'   => $thumbnail_src_of[$category['representative_picture_id']],
    248           'ALT'   => strip_tags($category['name']),
    249           'ICON'  => $icon_ts,
     246          'TN_ALT'   => strip_tags($category['name']),
     247          'ICON_TS'  => $icon_ts,
    250248
    251249          'URL'   => make_index_url(
Note: See TracChangeset for help on using the changeset viewer.