1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

Additional info for profiles

git-svn-id: file:///svn/phpbb/trunk@3612 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2003-03-08 22:10:24 +00:00
parent 9a7f6f98f5
commit a2cccab6af
8 changed files with 219 additions and 198 deletions

View File

@@ -45,7 +45,7 @@ if ($mark_read == 'forums')
'META' => '<meta http-equiv="refresh" content="3;url=' . "index.$phpEx$SID" . '">')
);
$message = $user->lang['Forums_marked_read'] . '<br /><br />' . sprintf($user->lang['Click_return_index'], '<a href="' . "index.$phpEx$SID" . '">', '</a> ');
$message = $user->lang['Forums_marked_read'] . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . "index.$phpEx$SID" . '">', '</a> ');
trigger_error($message);
}
@@ -98,6 +98,15 @@ else
$l_total_topic_s = $user->lang['Posted_topics_total'];
}
$sql = "SELECT group_name, group_colour
FROM " . GROUPS_TABLE . "
WHERE group_colour <> ''";
$result = $db->sql_query($sql, 300);
$template->assign_vars(array(
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),