aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-09-26 22:12:38 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-09-26 22:12:38 +0000
commit53dd64926a73eab3d9d7bd1a0ccbddd16b9aaf83 (patch)
tree6a34e197ea05725e46aae43e3c8a1aea23f5362e /phpBB/index.php
parent33d7444cc45923f7358426d2a6e086031447041c (diff)
downloadforums-53dd64926a73eab3d9d7bd1a0ccbddd16b9aaf83.tar
forums-53dd64926a73eab3d9d7bd1a0ccbddd16b9aaf83.tar.gz
forums-53dd64926a73eab3d9d7bd1a0ccbddd16b9aaf83.tar.bz2
forums-53dd64926a73eab3d9d7bd1a0ccbddd16b9aaf83.tar.xz
forums-53dd64926a73eab3d9d7bd1a0ccbddd16b9aaf83.zip
topic watch/forum/topic read now cause a message to be displayed, changed profile ICQ for subSilver, various other changes
git-svn-id: file:///svn/phpbb/trunk@1093 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index 201f9ea821..fee68b2967 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -278,25 +278,16 @@ if($total_categories = $db->sql_numrows($q_categories))
if($forum_rows[$j]['username'] != "" && $forum_rows[$j]['post_time'] > 0)
{
- if($forum_rows[$j]['user_id'] == ANONYMOUS && $forum_rows[$j]['post_username'] != '')
- {
- $last_poster = $forum_rows[$j]['post_username'];
- }
- else
- {
- $last_poster = $forum_rows[$j]['username'];
- }
$last_post_time = create_date($board_config['default_dateformat'], $forum_rows[$j]['post_time'], $board_config['board_timezone']);
$last_post = $last_post_time . "<br />" . $lang['by'] . " ";
- $last_post .= "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=" . $forum_rows[$j]['user_id']) . "\">" . $last_poster . "</a>&nbsp;";
+ $last_post .= ( $forum_rows[$j]['user_id'] == ANONYMOUS ) ? $forum_rows[$j]['username'] . " " : "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=" . $forum_rows[$j]['user_id']) . "\">" . $forum_rows[$j]['username'] . "</a> ";
$last_post .= "<a href=\"" . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $forum_rows[$j]['forum_last_post_id']) . "#" . $forum_rows[$j]['forum_last_post_id'] . "\"><img src=\"" . $images['icon_latest_reply'] . "\" border=\"0\" alt=\"" . $lang['View_latest_post'] . "\" /></a>";
}
else
{
$last_post = $lang['No_Posts'];
- $forum_rows[$j]['forum_name'] = $forum_rows[$j]['forum_name'];
}
$mod_count = 0;