Ignore:
Timestamp:
Dec 12, 2004, 10:06:39 PM (19 years ago)
Author:
plg
Message:
  • in admin menu, status option for categories is not "permissions" but "private or public" choice = different language item
  • get_cat_display_name changed : use $conflevel_separator to unify presentation
  • default values for category properties commentable, uploadable, status and visible (set in include/config.inc.php) used for category creation (admin/update, admin/remote_site, admin/cat_list)
  • use mass_inserts in admin/update for inserting new categories
  • only one query for counting the number of sub categories in admin/cat_list
File:
1 edited

Legend:

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

    r614 r642  
    160160 */
    161161function get_cat_display_name($cat_informations,
    162                               $separator,
    163162                              $url = 'category.php?cat=',
    164163                              $replace_space = true)
    165164{
     165  global $conf;
     166 
    166167  $output = '';
    167168  $is_first = true;
     
    174175    else
    175176    {
    176       $output.= $separator;
     177      $output.= $conf['level_separator'];
    177178    }
    178179
     
    206207 *
    207208 * @param string uppercats
    208  * @param string separator
    209209 * @param string url
    210210 * @param boolean replace_space
     
    212212 */
    213213function get_cat_display_name_cache($uppercats,
    214                                     $separator,
    215214                                    $url = 'category.php?cat=',
    216215                                    $replace_space = true)
    217216{
    218   global $cat_names;
     217  global $cat_names, $conf;
    219218
    220219  if (!isset($cat_names))
     
    243242    else
    244243    {
    245       $output.= $separator;
     244      $output.= $conf['level_separator'];
    246245    }
    247246
Note: See TracChangeset for help on using the changeset viewer.