1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-25 19:11:47 +02:00

Made index.php use the POST_USERS_URL constant everywhere

git-svn-id: file:///svn/phpbb/trunk@172 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson
2001-04-18 06:30:10 +00:00
parent 3b5a1b549a
commit d73080b03f

View File

@@ -35,6 +35,7 @@ init_userprefs($userdata);
//
// End session management
//
//nl2br(var_dump($userdata));
$total_posts = get_db_stat($db, 'postcount');
$total_users = get_db_stat($db, 'usercount');
@@ -128,7 +129,7 @@ if($total_categories)
$last_post_userid = $forum_rows[$j]["user_id"];
$last_post_time = date($date_format, $forum_rows[$j]["post_time"]);
$last_post = $last_post_time."<br>by ";
$last_post .= "<a href=\"profile.$phpEx?mode=viewprofile&user_id=".$last_post_userid;
$last_post .= "<a href=\"profile.$phpEx?mode=viewprofile&".POST_USERS_URL."=".$last_post_userid;
$last_post .= "\">".$last_post_user."</a>";
}
else
@@ -156,7 +157,7 @@ if($total_categories)
{
$moderators_links .= "<br>";
}
$moderators_links .= "<a href=\"profile.$phpEx?mode=viewprofile&user_id=".$forum_mods["forum_".$forum_rows[$j]["forum_id"]."_id"][$mods]."\">".$forum_mods["forum_".$forum_rows[$j]["forum_id"]."_name"][$mods]."</a>";
$moderators_links .= "<a href=\"profile.$phpEx?mode=viewprofile&".POST_USERS_URL."=".$forum_mods["forum_".$forum_rows[$j]["forum_id"]."_id"][$mods]."\">".$forum_mods["forum_".$forum_rows[$j]["forum_id"]."_name"][$mods]."</a>";
}
$template->assign_block_vars("catrow.forumrow", array("FOLDER" => $folder_image,