aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-04-19 21:17:16 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-04-19 21:17:16 +0000
commit562a2e559296b71ea673b609a183dcd8bfa15710 (patch)
tree6e59cc2bc2d36372601ea3551e2ad6ec0d401a88
parent895ac6e0dfc339629497a2d165bd92297e5fe500 (diff)
downloadforums-562a2e559296b71ea673b609a183dcd8bfa15710.tar
forums-562a2e559296b71ea673b609a183dcd8bfa15710.tar.gz
forums-562a2e559296b71ea673b609a183dcd8bfa15710.tar.bz2
forums-562a2e559296b71ea673b609a183dcd8bfa15710.tar.xz
forums-562a2e559296b71ea673b609a183dcd8bfa15710.zip
Minor cleanup
git-svn-id: file:///svn/phpbb/trunk@194 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/index.php5
-rw-r--r--phpBB/viewonline.php4
2 files changed, 4 insertions, 5 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index 73d4ff59fb..1c9c1a0738 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -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,
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 6e4aedcd2c..cada2b70c4 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -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,