aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-16 17:39:33 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-16 17:39:33 +0000
commit4f310f8777338db610968099367768d3518e551b (patch)
treec817b0068e86e63c50625c5126a1f594f6bb2aaa /phpBB/viewtopic.php
parentd895171404491f480638a9ffc567b32d2d651e0c (diff)
downloadforums-4f310f8777338db610968099367768d3518e551b.tar
forums-4f310f8777338db610968099367768d3518e551b.tar.gz
forums-4f310f8777338db610968099367768d3518e551b.tar.bz2
forums-4f310f8777338db610968099367768d3518e551b.tar.xz
forums-4f310f8777338db610968099367768d3518e551b.zip
Mainly language updates but some bug fixes too
git-svn-id: file:///svn/phpbb/trunk@1334 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index df3a4d5640..f882777d31 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -474,8 +474,10 @@ $view_forum_url = append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"
$view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;view=previous");
$view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;view=next");
-$reply_img = ($forum_row['forum_status'] == FORUM_LOCKED || $forum_row['topic_status'] == TOPIC_LOCKED) ? $images['reply_locked'] : $images['reply_new'];
-$post_img = ($forum_row['forum_status'] == FORUM_LOCKED) ? $images['post_locked'] : $images['post_new'];
+$reply_img = ( $forum_row['forum_status'] == FORUM_LOCKED || $forum_row['topic_status'] == TOPIC_LOCKED ) ? $images['reply_locked'] : $images['reply_new'];
+$reply_alt = ( $forum_row['forum_status'] == FORUM_LOCKED || $forum_row['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['Reply_to_topic'];
+$post_img = ( $forum_row['forum_status'] == FORUM_LOCKED ) ? $images['post_locked'] : $images['post_new'];
+$post_alt = ( $forum_row['forum_status'] == FORUM_LOCKED ) ? $lang['Forum_locked'] : $lang['Post_new_topic'];
//
// Censor topic title
@@ -524,6 +526,9 @@ $template->assign_vars(array(
"L_VIEW_NEXT_TOPIC" => $lang['View_next_topic'],
"L_VIEW_PREVIOUS_TOPIC" => $lang['View_previous_topic'],
+ "L_POST_NEW_TOPIC" => $post_alt,
+ "L_POST_REPLY_TOPIC" => $reply_alt,
+
"IMG_POST" => $post_img,
"IMG_REPLY" => $reply_img,