diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2005-04-30 14:36:33 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-04-30 14:36:33 +0000 |
commit | be3bdf61d778928916942c07c6d60968fddf9d18 (patch) | |
tree | f1b2941da4725d9de0c54c5cacdd2343abcf5b85 /phpBB/index.php | |
parent | 75012dec17b0cf47023f4b81cfba2034ecd47419 (diff) | |
download | forums-be3bdf61d778928916942c07c6d60968fddf9d18.tar forums-be3bdf61d778928916942c07c6d60968fddf9d18.tar.gz forums-be3bdf61d778928916942c07c6d60968fddf9d18.tar.bz2 forums-be3bdf61d778928916942c07c6d60968fddf9d18.tar.xz forums-be3bdf61d778928916942c07c6d60968fddf9d18.zip |
- some fixes here and there
git-svn-id: file:///svn/phpbb/trunk@5138 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/index.php')
-rw-r--r-- | phpBB/index.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index 3914e8a5eb..5b135a1d1c 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -43,7 +43,7 @@ $result = $db->sql_query($sql); $legend = ''; while ($row = $db->sql_fetchrow($result)) { - $legend .= (($legend != '') ? ', ' : '') . '<a style="color:#' . $row['group_colour'] . '" href="memberlist.' . $phpEx . $SID . '&mode=group&g=' . $row['group_id'] . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</a>'; + $legend .= (($legend != '') ? ', ' : '') . '<a style="color:#' . $row['group_colour'] . '" href="' . "{$phpbb_root_path}memberlist.$phpEx$SID" . '&mode=group&g=' . $row['group_id'] . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</a>'; } $db->sql_freeresult($result); @@ -62,7 +62,7 @@ if ($config['load_birthdays']) while ($row = $db->sql_fetchrow($result)) { $user_colour = ($row['user_colour']) ? ' style="color:#' . $row['user_colour'] .'"' : ''; - $birthday_list .= (($birthday_list != '') ? ', ' : '') . '<a' . $user_colour . " href=\"memberlist.$phpEx$SID&mode=viewprofile&u=" . $row['user_id'] . '">' . $row['username'] . '</a>'; + $birthday_list .= (($birthday_list != '') ? ', ' : '') . '<a' . $user_colour . " href=\"{$phpbb_root_path}memberlist.$phpEx$SID&mode=viewprofile&u=" . $row['user_id'] . '">' . $row['username'] . '</a>'; if ($age = (int)substr($row['user_birthday'], -4)) { @@ -77,7 +77,7 @@ $template->assign_vars(array( 'TOTAL_POSTS' => sprintf($user->lang[$l_total_post_s], $total_posts), 'TOTAL_TOPICS' => sprintf($user->lang[$l_total_topic_s], $total_topics), 'TOTAL_USERS' => sprintf($user->lang[$l_total_user_s], $total_users), - 'NEWEST_USER' => sprintf($user->lang['NEWEST_USER'], "<a href=\"memberlist.$phpEx$SID&mode=viewprofile&u=$newest_uid \">", $newest_user, '</a>'), + 'NEWEST_USER' => sprintf($user->lang['NEWEST_USER'], "<a href=\"{$phpbb_root_path}memberlist.$phpEx$SID&mode=viewprofile&u=$newest_uid \">", $newest_user, '</a>'), 'LEGEND' => $legend, 'BIRTHDAY_LIST' => $birthday_list, @@ -85,10 +85,10 @@ $template->assign_vars(array( 'FORUM_NEW_IMG' => $user->img('forum_new', 'NEW_POSTS'), 'FORUM_LOCKED_IMG' => $user->img('forum_locked', 'NO_NEW_POSTS_LOCKED'), - 'S_LOGIN_ACTION' => "ucp.$phpEx$SID&mode=login", + 'S_LOGIN_ACTION' => "{$phpbb_root_path}ucp.$phpEx$SID&mode=login", 'S_DISPLAY_BIRTHDAY_LIST' => ($config['load_birthdays']) ? true : false, - 'U_MARK_FORUMS' => "index.$phpEx$SID&mark=forums") + 'U_MARK_FORUMS' => "{$phpbb_root_path}index.$phpEx$SID&mark=forums") ); // Output page |