From 684b1b88d9bb98f97bc26fd299a2a7d3d97f4525 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Thu, 23 Aug 2001 13:17:07 +0000 Subject: [PATCH] Various updates for templates git-svn-id: file:///svn/phpbb/trunk@917 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/page_header.php | 2 ++ phpBB/language/lang_english.php | 4 ++++ phpBB/templates/PSO/viewforum_body.tpl | 7 +++++++ phpBB/templates/PSO/viewtopic_body.tpl | 2 +- phpBB/viewtopic.php | 3 ++- 5 files changed, 16 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php index a4551a6f11..243e58e4a5 100644 --- a/phpBB/includes/page_header.php +++ b/phpBB/includes/page_header.php @@ -211,6 +211,8 @@ $template->assign_vars(array( "L_MODERATOR" => $lang['Moderator'], "L_NONEWPOSTS" => $lang['No_new_posts'], "L_NEWPOSTS" => $lang['New_posts'], + "L_NONEWPOSTS_HOT" => $lang['No_new_posts_hot'], + "L_NEWPOSTS_HOT" => $lang['New_posts_hot'], "L_TOPIC_IS_LOCKED" => $lang['Topic_is_locked'], "L_POSTED" => $lang['Posted'], "L_JOINED" => $lang['Joined'], diff --git a/phpBB/language/lang_english.php b/phpBB/language/lang_english.php index 8b8c697555..af61728cd6 100755 --- a/phpBB/language/lang_english.php +++ b/phpBB/language/lang_english.php @@ -157,6 +157,8 @@ $lang['theforums'] = "the forums"; $lang['No_new_posts'] = "No new posts"; $lang['New_posts'] = "New posts"; +$lang['No_new_posts_hot'] = "No new posts [ Popular ]"; +$lang['New_posts_hot'] = "New posts [ Popular ]"; $lang['Topic_is_locked'] = "Topic is locked"; $lang['Forum_is_locked'] = "Forum is locked"; $lang['Joined'] = "Joined"; @@ -212,6 +214,8 @@ $lang['All_Posts'] = "All Posts"; $lang['Newest_First'] = "Newest First"; $lang['Oldest_First'] = "Oldest First"; +$lang['Return_to_top'] = "Return to top"; + $lang['Read_profile'] = "Read profile of"; // Followed by username of poster $lang['Send_email'] = "Send email to "; // Followed by username of poster $lang['Visit_website'] = "Visit posters website"; diff --git a/phpBB/templates/PSO/viewforum_body.tpl b/phpBB/templates/PSO/viewforum_body.tpl index 8702765217..167f3fa5f9 100644 --- a/phpBB/templates/PSO/viewforum_body.tpl +++ b/phpBB/templates/PSO/viewforum_body.tpl @@ -65,6 +65,13 @@ {L_FORUM_LOCKED} {L_TOPIC_IS_LOCKED} + + {L_NEWPOSTS_HOT} + {L_NEWPOSTS_HOT} +    + {L_NONEWPOSTS_HOT} + {L_NONEWPOSTS_HOT} +
{S_TIMEZONE} diff --git a/phpBB/templates/PSO/viewtopic_body.tpl b/phpBB/templates/PSO/viewtopic_body.tpl index 158684a351..c33e97dd36 100644 --- a/phpBB/templates/PSO/viewtopic_body.tpl +++ b/phpBB/templates/PSO/viewtopic_body.tpl @@ -27,7 +27,7 @@ {postrow.POSTER_NAME}
{postrow.POSTER_RANK}
{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}

{postrow.POSTER_JOINED}
{postrow.POSTER_POSTS}
{postrow.POSTER_FROM}


- Back to top + {L_RETURN_TO_TOP} diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index a2acc3b13b..8430b1955c 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -410,7 +410,8 @@ $template->assign_vars(array( "TOPIC_ID" => $topic_id, "TOPIC_TITLE" => $topic_title, - "L_DISPLAY_POSTS" => $lang['Display_posts'], + "L_DISPLAY_POSTS" => $lang['Display_posts'], + "L_RETURN_TO_TOP" => $lang['Return_to_top'], "S_SELECT_POST_DAYS" => $select_post_days, "S_SELECT_POST_ORDER" => $select_post_order,