diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php
index aff336e932..37af7c5fd6 100644
--- a/phpBB/includes/page_header.php
+++ b/phpBB/includes/page_header.php
@@ -202,7 +202,7 @@ $template->assign_vars(array(
"L_PASSWORD" => $lang['Password'],
"L_LOGIN" => $lang['Login'],
"L_LOG_ME_IN" => $lang['Log_me_in'],
- "L_INDEX" => $lang['Forum_Index'],
+ "L_INDEX" => sprintf($lang['Forum_Index'], $board_config['sitename']),
"L_REGISTER" => $lang['Register'],
"L_PROFILE" => $lang['Profile'],
"L_SEARCH" => $lang['Search'],
@@ -234,6 +234,7 @@ $template->assign_vars(array(
"L_BY" => $lang['by'],
"L_LOGIN_LOGOUT" => $l_login_logout,
"L_SEARCH_UNANSWERED" => $lang['Search_unanswered'],
+ "L_SEARCH_SELF" => $lang['Search_your_posts'],
"U_INDEX" => append_sid("index.".$phpEx),
"U_REGISTER" => append_sid("profile.".$phpEx."?mode=register"),
@@ -247,7 +248,7 @@ $template->assign_vars(array(
"U_MEMBERSLIST" => append_sid("memberlist.".$phpEx),
"U_GROUP_CP" => append_sid("groupcp.".$phpEx),
"U_SEARCH_UNANSWERED" => append_sid("search.".$phpEx."?search_id=unanswered"),
-
+ "U_SEARCH_SELF" => append_sid("search.".$phpEx."?search_id=egosearch"),
"S_CONTENT_DIRECTION" => $lang['DIRECTION'],
"S_CONTENT_ENCODING" => $lang['ENCODING'],
@@ -308,15 +309,6 @@ if( !$userdata['session_logged_in'] )
else
{
$template->assign_block_vars("switch_user_logged_in", array());
- //
- // Bart's quick ego search
- //
- $template->assign_block_vars("egosearch", array(
- "L_SEARCH_SELF" => $lang['Search_your_posts'],
- "U_SEARCH_SELF" => append_sid("search.".$phpEx."?search_id=egosearch"))
- );
-
-
}
header ("Cache-Control: no-store, no-cache, must-revalidate");
diff --git a/phpBB/language/lang_english/lang_main.php b/phpBB/language/lang_english/lang_main.php
index e1a4b9eb0c..5c24707bac 100644
--- a/phpBB/language/lang_english/lang_main.php
+++ b/phpBB/language/lang_english/lang_main.php
@@ -31,8 +31,8 @@
// varies ... give it your best guess!
//
-setlocale(LC_ALL, "en");
-$lang['ENCODING'] = "iso-8859-1";
+//setlocale(LC_ALL, "en");
+$lang['ENCODING'] = "utf-8";
$lang['DIRECTION'] = "LTR";
$lang['LEFT'] = "LEFT";
$lang['RIGHT'] = "RIGHT";
@@ -59,6 +59,7 @@ $lang['Author'] = "Author";
$lang['Time'] = "Time";
$lang['Hours'] = "Hours";
$lang['Message'] = "Message";
+
$lang['1_Day'] = "1 Day";
$lang['7_Days'] = "7 Days";
$lang['2_Weeks'] = "2 Weeks";
@@ -99,6 +100,13 @@ $lang['Post_new_topic'] = "Post new topic";
$lang['Reply_to_topic'] = "Reply to topic";
$lang['Reply_with_quote'] = "Reply with quote";
+$lang['Click_return_topic'] = "Click %sHere%s to return to the topic"; // %s's here are for uris, do not remove!
+$lang['Click_return_login'] = "Click %sHere%s to try again";
+$lang['Click_return_forum'] = "Click %sHere%s to return to the forum";
+$lang['Click_view_message'] = "Click %sHere%s to view your message";
+$lang['Click_return_modcp'] = "Click %sHere%s to return to the Moderator Control Panel";
+$lang['Click_return_group'] = "Click %sHere%s to return to group information";
+
$lang['Admin_panel'] = "Go to Administration Panel";
@@ -163,7 +171,7 @@ $lang['Log_me_in'] = "Log me on automatically each visit";
// Index page
//
$lang['No_Posts'] = "No Posts";
-$lang['Forum_Index'] = "Forum Index";
+$lang['Forum_Index'] = "%s Forum Index"; // eg. sitename Forum Index, %s can be removed if you prefer
$lang['No_forums'] = "This board has no forums";
$lang['Private_Message'] = "Private Message";
@@ -229,14 +237,18 @@ $lang['Oldest_First'] = "Oldest First";
$lang['Return_to_top'] = "Return to top";
-$lang['Read_profile'] = "Read profile users profile"; // Followed by username of poster
-$lang['Send_email'] = "Send email to user"; // Followed by username of poster
+$lang['Read_profile'] = "View users profile";
+$lang['Send_email'] = "Send email to user";
$lang['Visit_website'] = "Visit posters website";
$lang['ICQ_status'] = "ICQ Status";
$lang['Edit_delete_post'] = "Edit/Delete this post";
$lang['View_IP'] = "View IP of poster";
$lang['Delete_post'] = "Delete this post";
+$lang['wrote'] = "wrote"; // proceeds the username and is followed by the quoted text
+$lang['Quote'] = "Quote"; // comes before bbcode quote output.
+$lang['Code'] = "Code"; // comes before bbcode code output.
+
$lang['Edited_time_total'] = "Last edited by %s on %s, edited %d time in total"; // Last edited by me on 12 Oct 2001, edited 1 time in total
$lang['Edited_times_total'] = "Last edited by %s on %s, edited %d times in total"; // Last edited by me on 12 Oct 2001, edited 2 times in total
@@ -324,22 +336,11 @@ $lang['Attach_signature'] = "Attach signature (signatures can be changed in prof
$lang['Notify'] = "Notify me when a reply is posted";
$lang['Delete_post'] = "Delete this post";
-$lang['wrote'] = "wrote"; // proceeds the username and is followed by the quoted text
-$lang['Quote'] = "Quote"; // comes before bbcode quote output.
-$lang['Code'] = "Code"; // comes before bbcode code output.
-
$lang['Stored'] = "Your message has been entered successfully";
$lang['Deleted'] = "Your message has been deleted successfully";
$lang['Poll_delete'] = "Your poll has been deleted successfully";
$lang['Vote_cast'] = "Your vote has been cast";
-$lang['Click_return_topic'] = "Click %sHere%s to return to the topic"; // %s's here are for uris, do not remove!
-$lang['Click_return_login'] = "Click %sHere%s to try again";
-$lang['Click_return_forum'] = "Click %sHere%s to return to the forum";
-$lang['Click_view_message'] = "Click %sHere%s to view your message";
-$lang['Click_return_modcp'] = "Click %sHere%s to return to the Moderator Control Panel";
-$lang['Click_return_group'] = "Click %sHere%s to return to group information";
-
$lang['Topic_reply_notification'] = "Topic Reply Notification";
@@ -355,8 +356,8 @@ $lang['No_new_pm'] = "You have no new messages";
$lang['Inbox'] = "Inbox";
$lang['Outbox'] = "Outbox";
-$lang['Savedbox'] = "Saved box";
-$lang['Sentbox'] = "Sent box";
+$lang['Savebox'] = "Savebox";
+$lang['Sentbox'] = "Sentbox";
$lang['Flag'] = "Flag";
$lang['Subject'] = "Subject";
$lang['From'] = "From";
diff --git a/phpBB/login.php b/phpBB/login.php
index 1da008be77..7aa59468df 100644
--- a/phpBB/login.php
+++ b/phpBB/login.php
@@ -53,9 +53,9 @@ if( isset($HTTP_POST_VARS['login']) || isset($HTTP_GET_VARS['login']) || isset($
if( count($rowresult) )
{
- if( (md5($password) == $rowresult['user_password']) && $rowresult['user_active'] != 0 )
+ if( md5($password) == $rowresult['user_password'] && $rowresult['user_active'] )
{
- $autologin = (isset($HTTP_POST_VARS['autologin'])) ? TRUE : 0;
+ $autologin = ( isset($HTTP_POST_VARS['autologin']) ) ? TRUE : 0;
$session_id = session_begin($rowresult['user_id'], $user_ip, PAGE_INDEX, $session_length, TRUE, $autologin);
@@ -189,6 +189,7 @@ else
$template->assign_vars(array(
"USERNAME" => $username,
+ "L_ENTER_PASSWORD" => $lang['Enter_password'],
"L_SEND_PASSWORD" => $lang['Forgotten_password'],
"U_SEND_PASSWORD" => append_sid("profile.$phpEx?mode=sendpassword"),
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index d3c54be750..aad23921fe 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -106,11 +106,11 @@ $inbox_url = ($folder != "inbox" || $mode != "") ? '
' : '
';
$outbox_url = ($folder != "outbox" || $mode != "") ? '' . $lang['Outbox'] . '' : $lang['Outbox'];
-$sentbox_img = ($folder != "sentbox" || $mode != "") ? '
' : '
';
-$sentbox_url = ($folder != "sentbox" || $mode != "") ? '' . $lang['Sent'] . '' : $lang['Sent'];
+$sentbox_img = ($folder != "sentbox" || $mode != "") ? '
' : '
';
+$sentbox_url = ($folder != "sentbox" || $mode != "") ? '' . $lang['Sentbox'] . '' : $lang['Sentbox'];
-$savebox_img = ($folder != "savebox" || $mode != "") ? '
' : '
';
-$savebox_url = ($folder != "savebox" || $mode != "") ? '' . $lang['Saved'] . '' : $lang['Saved'];
+$savebox_img = ($folder != "savebox" || $mode != "") ? '
' : '
';
+$savebox_url = ($folder != "savebox" || $mode != "") ? '' . $lang['Savebox'] . '' : $lang['Savebox'];
// ----------
// Start main
diff --git a/phpBB/templates/subSilver/agreement.tpl b/phpBB/templates/subSilver/agreement.tpl
index d548aff360..f20b44a461 100644
--- a/phpBB/templates/subSilver/agreement.tpl
+++ b/phpBB/templates/subSilver/agreement.tpl
@@ -1,7 +1,7 @@
diff --git a/phpBB/templates/subSilver/faq_body.tpl b/phpBB/templates/subSilver/faq_body.tpl
index c946027a42..7b28714aec 100755
--- a/phpBB/templates/subSilver/faq_body.tpl
+++ b/phpBB/templates/subSilver/faq_body.tpl
@@ -1,7 +1,7 @@
diff --git a/phpBB/templates/subSilver/groupcp_info_body.tpl b/phpBB/templates/subSilver/groupcp_info_body.tpl
index bdbb1dcc09..4ecf7b8d37 100644
--- a/phpBB/templates/subSilver/groupcp_info_body.tpl
+++ b/phpBB/templates/subSilver/groupcp_info_body.tpl
@@ -2,7 +2,7 @@