mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:48:53 +00: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:
parent
3b5a1b549a
commit
d73080b03f
1 changed files with 26 additions and 25 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue