mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Updated for new category name constant
git-svn-id: file:///svn/phpbb/trunk@1679 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d726c82b30
commit
cb10b8c69b
1 changed files with 3 additions and 9 deletions
|
@ -33,13 +33,7 @@ init_userprefs($userdata);
|
||||||
// End session management
|
// End session management
|
||||||
//
|
//
|
||||||
|
|
||||||
while( list($key, $value) = @each($images) )
|
$viewcat = (!empty($HTTP_GET_VARS[POST_CAT_URL])) ? $HTTP_GET_VARS[POST_CAT_URL] : -1;
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
$viewcat = (!empty($HTTP_GET_VARS['viewcat'])) ? $HTTP_GET_VARS['viewcat'] : -1;
|
|
||||||
|
|
||||||
if( isset($HTTP_GET_VARS['mark']) || isset($HTTP_POST_VARS['mark']) )
|
if( isset($HTTP_GET_VARS['mark']) || isset($HTTP_POST_VARS['mark']) )
|
||||||
{
|
{
|
||||||
|
@ -280,7 +274,7 @@ if($total_categories = $db->sql_numrows($q_categories))
|
||||||
$template->assign_block_vars("catrow", array(
|
$template->assign_block_vars("catrow", array(
|
||||||
"CAT_ID" => $cat_id,
|
"CAT_ID" => $cat_id,
|
||||||
"CAT_DESC" => $category_rows[$i]['cat_title'],
|
"CAT_DESC" => $category_rows[$i]['cat_title'],
|
||||||
"U_VIEWCAT" => append_sid("index.$phpEx?viewcat=$cat_id"))
|
"U_VIEWCAT" => append_sid("index.$phpEx?" . POST_CAT_URL . "=$cat_id"))
|
||||||
);
|
);
|
||||||
$gen_cat[$cat_id] = 1;
|
$gen_cat[$cat_id] = 1;
|
||||||
}
|
}
|
||||||
|
@ -422,7 +416,7 @@ if($total_categories = $db->sql_numrows($q_categories))
|
||||||
$template->assign_block_vars("catrow", array(
|
$template->assign_block_vars("catrow", array(
|
||||||
"CAT_ID" => $cat_id,
|
"CAT_ID" => $cat_id,
|
||||||
"CAT_DESC" => $category_rows[$i]['cat_title'],
|
"CAT_DESC" => $category_rows[$i]['cat_title'],
|
||||||
"U_VIEWCAT" => append_sid("index.$phpEx?viewcat=$cat_id"))
|
"U_VIEWCAT" => append_sid("index.$phpEx?" . POST_CAT_URL . "=$cat_id"))
|
||||||
);
|
);
|
||||||
$gen_cat[$cat_id] = 1;
|
$gen_cat[$cat_id] = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue