Ignore:
Timestamp:
Apr 5, 2006, 4:01:36 AM (18 years ago)
Author:
rvelices
Message:

image sort order for tags

very minor code and language simplifications and corrections

File:
1 edited

Legend:

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

    r1109 r1125  
    3838      ( isset($page['category']) and is_numeric($page['category']) ) )
    3939  { // we will regenerate the items by including subcats elements
    40     $page['cat_nb_images'] = 0;
    4140    $page['items'] = array();
    4241    $inner_sql .= '
     
    187186      unset(
    188187        $page['thumbnails_include'],
    189         $page['items'],
    190         $page['cat_nb_images']
     188        $page['items']
    191189        );
    192190
     
    271269
    272270    $page['items']              = array_from_query($query, 'id');
    273     $page['cat_nb_images']      = count($page['items']);
    274271    $page['thumbnails_include'] = 'include/category_default.inc.php';
    275272  }
Note: See TracChangeset for help on using the changeset viewer.