aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-07-24 18:17:10 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-07-24 18:17:10 +0000
commitbf5856936aeec457730a9b499bb32ad06016de32 (patch)
tree15b5c01966c831439f8cb8841c4ae76fe39fa8bc
parentcfa724410afb6b44380c36f46dda28435900623b (diff)
downloadforums-bf5856936aeec457730a9b499bb32ad06016de32.tar
forums-bf5856936aeec457730a9b499bb32ad06016de32.tar.gz
forums-bf5856936aeec457730a9b499bb32ad06016de32.tar.bz2
forums-bf5856936aeec457730a9b499bb32ad06016de32.tar.xz
forums-bf5856936aeec457730a9b499bb32ad06016de32.zip
Forum locked icon and notice on index
git-svn-id: file:///svn/phpbb/trunk@747 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/index.php2
-rwxr-xr-xphpBB/language/lang_english.php4
-rw-r--r--phpBB/templates/PSO/index_body.tpl12
3 files changed, 13 insertions, 5 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index 41e86ed68f..4b18b0b996 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -202,6 +202,8 @@ if($total_categories = $db->sql_numrows($q_categories))
"NEWEST_UID" => $newest_uid,
"USERS_BROWSING" => $users_browsing,
+ "L_FORUM_LOCKED" => $lang['Forum_is_locked'],
+
"U_NEWEST_USER_PROFILE" => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid"))
);
diff --git a/phpBB/language/lang_english.php b/phpBB/language/lang_english.php
index 553c4092e8..5ac132463b 100755
--- a/phpBB/language/lang_english.php
+++ b/phpBB/language/lang_english.php
@@ -150,6 +150,7 @@ $lang['theforums'] = "the forums";
$lang['No_new_posts'] = "No new posts";
$lang['New_posts'] = "New posts";
$lang['Topic_is_locked'] = "Topic is locked";
+$lang['Forum_is_locked'] = "Forum is locked";
$lang['Joined'] = "Joined";
//
@@ -244,7 +245,8 @@ $lang['Flood_Error'] = "Your last post was less then " . $board_config['flood_in
$lang['Sorry_edit_own_posts'] = "Sorry but you can only edit your own posts";
$lang['Empty_subject'] = "You must specifiy a subject when posting a new topic";
$lang['Empty_message'] = "You must enter a message when posting";
-$lang['Annouce_and_sticky'] = "You cannot post a topic that is both an annoucement and a sticky topic";
+$lang['Announce_and_sticky'] = "You cannot post a topic that is both an announcement and a sticky topic";
+$lang['Forum_locked'] = "This forum is locked you cannot post, reply to or edit topics";
$lang['Topic_locked'] = "This topic is locked you cannot edit posts or make replies";
$lang['No_post_id'] = "You must select a post to edit";
$lang['No_topic_id'] = "You must select a topic to reply to";
diff --git a/phpBB/templates/PSO/index_body.tpl b/phpBB/templates/PSO/index_body.tpl
index 0a2f364da7..9c1792499b 100644
--- a/phpBB/templates/PSO/index_body.tpl
+++ b/phpBB/templates/PSO/index_body.tpl
@@ -1,8 +1,9 @@
-<div align="center"><table width="98%" cellspacing="0" cellpadding="4" border="0" align="center">
+
+<table width="98%" cellspacing="0" cellpadding="4" border="0" align="center">
<tr>
<td align="left"><span class="gensmall"><a href="{U_INDEX}">{SITENAME}&nbsp;{L_INDEX}</a></span></td>
</tr>
-</table></div>
+</table>
<table width="98%" cellpadding="1" cellspacing="0" border="0" align="center">
<tr>
@@ -31,14 +32,14 @@
<!-- END forumrow -->
<!-- END catrow -->
<tr>
- <td class="cat" colspan="6"><span class="cattitle"><b><a href="{U_PRIVATEMSGS}">Private Messages</a></b></span></td>
+ <td class="cat" colspan="6"><span class="cattitle"><b><a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}</a></b></span></td>
</tr>
<tr>
<td class="row1" width="7%" align="center" valign="middle"><img src="images/mailbox.gif"></td>
<td class="row2" colspan="5" align="left"><span class="gen">{L_PRIVATE_MESSAGE_INFO}</span></td>
</tr>
<tr>
- <td class="cat" colspan="6"><span class="cattitle"><b><a href="{U_VIEWONLINE}">Who is Online</a></b></span></td>
+ <td class="cat" colspan="6"><span class="cattitle"><b><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></b></span></td>
</tr>
<tr>
<td class="row1" width="7%" align="center" valign="middle"><img src="images/whosonline.gif"></td>
@@ -57,6 +58,9 @@
<td>&nbsp;&nbsp;</td>
<td width="30" align="center"><img src="images/folder.gif"></td>
<td><span class="gensmall">{L_NONEWPOSTS}</span></td>
+ <td>&nbsp;&nbsp;</td>
+ <td width="30" align="center"><img src="images/folder_lock.gif"></td>
+ <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table></td>
<td align="right" valign="top"><span class="gensmall"><b>{S_TIMEZONE}</b></span></td>