diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-24 13:03:44 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-24 13:03:44 +0000 |
| commit | cb10b8c69be6a9694486211865bf9e32ef59f84f (patch) | |
| tree | d4585a869845cf36ac922877e9de69b57846dda5 /phpBB/index.php | |
| parent | d726c82b307e9dc7e9da7ca3464f6f79dee11b90 (diff) | |
| download | forums-cb10b8c69be6a9694486211865bf9e32ef59f84f.tar forums-cb10b8c69be6a9694486211865bf9e32ef59f84f.tar.gz forums-cb10b8c69be6a9694486211865bf9e32ef59f84f.tar.bz2 forums-cb10b8c69be6a9694486211865bf9e32ef59f84f.tar.xz forums-cb10b8c69be6a9694486211865bf9e32ef59f84f.zip | |
Updated for new category name constant
git-svn-id: file:///svn/phpbb/trunk@1679 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/index.php')
| -rw-r--r-- | phpBB/index.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index 1a611f054a..3f995e2a76 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -33,13 +33,7 @@ init_userprefs($userdata); // End session management // -while( list($key, $value) = @each($images) ) -{ - - -} - -$viewcat = (!empty($HTTP_GET_VARS['viewcat'])) ? $HTTP_GET_VARS['viewcat'] : -1; +$viewcat = (!empty($HTTP_GET_VARS[POST_CAT_URL])) ? $HTTP_GET_VARS[POST_CAT_URL] : -1; 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( "CAT_ID" => $cat_id, "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; } @@ -422,7 +416,7 @@ if($total_categories = $db->sql_numrows($q_categories)) $template->assign_block_vars("catrow", array( "CAT_ID" => $cat_id, "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; } |
