diff options
Diffstat (limited to 'admin/cat_modify.php')
-rw-r--r-- | admin/cat_modify.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php index 1215b4e73..791dff589 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -104,13 +104,12 @@ foreach (array('comment','dir','site_id', 'id_uppercat') as $nullable) $category['is_virtual'] = empty($category['dir']) ? true : false; // Navigation path -$url = PHPWG_ROOT_PATH.'admin.php?page=cat_list&parent_id='; -$navigation = '<a class="" href="'.add_session_id(PHPWG_ROOT_PATH.'admin.php?page=cat_list').'">'; -$navigation.= $lang['home'].'</a>'.$conf['level_separator']; +$url = PHPWG_ROOT_PATH.'admin.php?page=cat_modify&cat_id='; -$navigation.= get_cat_display_name_cache( +$navigation = get_cat_display_name_cache( $category['uppercats'], - $url); + PHPWG_ROOT_PATH.'admin.php?page=cat_modify&cat_id=' + ); $form_action = PHPWG_ROOT_PATH.'admin.php?page=cat_modify&cat_id='.$_GET['cat_id']; $status = ($category['status']=='public')?'STATUS_PUBLIC':'STATUS_PRIVATE'; |