diff options
Diffstat (limited to 'admin/cat_list.php')
-rw-r--r-- | admin/cat_list.php | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php index 4abc5b069..510f5e284 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -269,13 +269,18 @@ foreach ($categories as $category) $template->assign_block_vars( 'category', array( - 'NAME'=>$category['name'], - 'ID'=>$category['id'], - 'RANK'=>$category['rank']*10, + 'NAME' => $category['name'], + 'ID' => $category['id'], + 'RANK' => $category['rank']*10, - 'U_JUMPTO'=>PHPWG_ROOT_PATH.'category.php?cat='.$category['id'], - 'U_CHILDREN'=>$cat_list_url.'&parent_id='.$category['id'], - 'U_EDIT'=>$base_url.'cat_modify&cat_id='.$category['id'] + 'U_JUMPTO' => make_index_url( + array( + 'category' => $category['id'], + ) + ), + + 'U_CHILDREN' => $cat_list_url.'&parent_id='.$category['id'], + 'U_EDIT' => $base_url.'cat_modify&cat_id='.$category['id'], ) ); |