1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-21 00:02:18 +02:00

Minor cleanup

git-svn-id: file:///svn/phpbb/trunk@194 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-04-19 21:17:16 +00:00
parent 895ac6e0df
commit 562a2e5592
2 changed files with 4 additions and 5 deletions

View File

@ -106,8 +106,8 @@ if($total_categories)
for($i = 0; $i < $total_categories; $i++)
{
$template->assign_block_vars("catrow",
array("CAT_ID" => $category_rows[$i]["cat_id"],
"PHP_SELF" => $PHP_SELF,
array(
"CAT_ID" => $category_rows[$i]["cat_id"],
"POST_FORUM_URL" => POST_FORUM_URL,
"CAT_DESC" => stripslashes($category_rows[$i]["cat_title"])
)
@ -165,7 +165,6 @@ if($total_categories)
"FORUM_ID" => $forum_rows[$j]["forum_id"],
"FORUM_DESC" => stripslashes($forum_rows[$j]["forum_desc"]),
"ROW_COLOR" => $row_color,
"PHPEX" => $phpEx,
"POSTS" => $forum_rows[$j]["forum_posts"],
"TOPICS" => $forum_rows[$j]["forum_topics"],
"LAST_POST" => $last_post,

View File

@ -62,7 +62,6 @@ if(!$onlinerow)
}
$template->assign_vars(array(
"PHP_SELF" => $PHP_SELF,
"POST_FORUM_URL" => POST_FORUM_URL,
"POST_USER_URL" => POST_USERS_URL,
"L_WHOSONLINE" => $l_whosonline,
@ -175,7 +174,8 @@ if($online_count)
if($logged_on)
{
$template->assign_block_vars("userrow",
array("ROW_COLOR" => $row_color,
array(
"ROW_COLOR" => $row_color,
"USER_ID" => $onlinerow[$i]['user_id'],
"USERNAME" => $username,
"LOGGED_ON" => $logged_on,