Changeset 500 for trunk/search.php


Ignore:
Timestamp:
Aug 29, 2004, 4:29:14 PM (20 years ago)
Author:
z0rglub
Message:
  • uses a trick to get all categories with the function to get menu categories
  • corrects a bug in language item choice
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/search.php

    r499 r500  
    236236$template->assign_vars(array(
    237237  'L_TITLE' => $lang['search_title'],
    238   'L_COMMENTS' => $lang['comments'],
     238  'L_SEARCH_COMMENTS' => $lang['search_comments'],
    239239  'L_RETURN' => $lang['gallery_index'],
    240240  'L_SUBMIT' => $lang['submit'],
     
    366366  }
    367367}
     368// this is a trick : normally, get_user_plain_structure is used to create
     369// the categories structure for menu (in category.php) display, but here, we
     370// want all categories to be shown...
     371$user['expand'] = true;
    368372$page['plain_structure'] = get_user_plain_structure(true);
    369373$structure = create_user_structure('');
Note: See TracChangeset for help on using the changeset viewer.