Changeset 642 for trunk/admin.php


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/admin.php

    r631 r642  
    3131include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
    3232include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php' );
    33 
    3433//--------------------------------------- validating page and creation of title
    3534$page_valide = false;
     
    8685     {
    8786       $result = get_cat_info( $page['cat'] );
    88        $name = get_cat_display_name( $result['name'],' > ', '' );
     87       $name = get_cat_display_name($result['name'], '');
    8988       $title.= ' "'.$name.'"';
    9089     }
     
    203202  'L_CAT_COMMENTS'=>$lang['comments'],
    204203  'L_CAT_VISIBLE'=>$lang['lock'],
    205   'L_CAT_STATUS'=>$lang['permissions'],
     204  'L_CAT_STATUS'=>$lang['admin_menu_cat_status'],
    206205
    207206  'U_CONFIG_GENERAL'=>add_session_id($conf_link.'general' ),
Note: See TracChangeset for help on using the changeset viewer.