From 33bcb91d05aa43bd248128ca02f247a98f53bff8 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 19 Nov 2006 20:08:24 +0000 Subject: some tiny fixes. git-svn-id: file:///svn/phpbb/trunk@6612 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/style/acp_groups.html | 5 +++++ phpBB/adm/style/acp_users.html | 4 ++-- phpBB/adm/style/editor.js | 2 +- phpBB/adm/style/permission_mask.html | 2 +- phpBB/language/en/acp/groups.php | 1 + phpBB/language/en/viewforum.php | 4 +++- phpBB/search.php | 2 +- phpBB/styles/subSilver/template/posting_preview.html | 4 ++-- 8 files changed, 16 insertions(+), 8 deletions(-) (limited to 'phpBB') diff --git a/phpBB/adm/style/acp_groups.html b/phpBB/adm/style/acp_groups.html index 1d3ed9c62f..c8e56f9d81 100644 --- a/phpBB/adm/style/acp_groups.html +++ b/phpBB/adm/style/acp_groups.html @@ -289,6 +289,11 @@ + + + {L_NO_GROUPS_CREATED} + + diff --git a/phpBB/adm/style/acp_users.html b/phpBB/adm/style/acp_users.html index bc8da69997..f15d448722 100644 --- a/phpBB/adm/style/acp_users.html +++ b/phpBB/adm/style/acp_users.html @@ -94,7 +94,7 @@
{REGISTERED_IP}
-
[ {L_WHOIS} ]
+
[ {L_WHOIS} ]
@@ -595,7 +595,7 @@ var help_line = { - + diff --git a/phpBB/adm/style/editor.js b/phpBB/adm/style/editor.js index 9591fc67d1..2dc9e0bf79 100644 --- a/phpBB/adm/style/editor.js +++ b/phpBB/adm/style/editor.js @@ -23,7 +23,7 @@ var is_mac = (clientPC.indexOf('mac') != -1); */ function helpline(help) { - document.forms[form_name].helpbox.value = eval(help + '_help'); + document.forms[form_name].helpbox.value = help_line[help]; } /** diff --git a/phpBB/adm/style/permission_mask.html b/phpBB/adm/style/permission_mask.html index d841dbd31f..51b5bf9c63 100644 --- a/phpBB/adm/style/permission_mask.html +++ b/phpBB/adm/style/permission_mask.html @@ -186,7 +186,7 @@ - +   diff --git a/phpBB/language/en/acp/groups.php b/phpBB/language/en/acp/groups.php index 582dbb3465..06f1301e4b 100644 --- a/phpBB/language/en/acp/groups.php +++ b/phpBB/language/en/acp/groups.php @@ -95,6 +95,7 @@ $lang = array_merge($lang, array( 'MEMBERS' => 'Members', 'NO_GROUP' => 'No group specified.', + 'NO_GROUPS_CREATED' => 'No groups created yet.', 'NO_PERMISSIONS' => 'Do not copy permissions', 'NO_USERS' => 'You haven’t entered any users.', diff --git a/phpBB/language/en/viewforum.php b/phpBB/language/en/viewforum.php index 8c7c6a78d9..f18dc37c77 100644 --- a/phpBB/language/en/viewforum.php +++ b/phpBB/language/en/viewforum.php @@ -33,7 +33,9 @@ if (empty($lang) || !is_array($lang)) $lang = array_merge($lang, array( 'ACTIVE_TOPICS' => 'Active topics', 'ANNOUNCEMENTS' => 'Announcements', - + + 'FORUM_PERMISSIONS' => 'Forum permissions', + 'ICON_ANNOUNCEMENT' => 'Announcement', 'ICON_STICKY' => 'Sticky', diff --git a/phpBB/search.php b/phpBB/search.php index a9c098adc7..d9a1a7457b 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -1002,7 +1002,7 @@ $result = $db->sql_query_limit($sql, 5); while ($row = $db->sql_fetchrow($result)) { - $keywords = htmlspecialchars($row['search_keywords']); + $keywords = htmlspecialchars($row['search_keywords'], ENT_COMPAT, 'UTF-8'); $template->assign_block_vars('recentsearch', array( 'KEYWORDS' => $keywords, diff --git a/phpBB/styles/subSilver/template/posting_preview.html b/phpBB/styles/subSilver/template/posting_preview.html index 4bb98fbd7d..b990428f36 100644 --- a/phpBB/styles/subSilver/template/posting_preview.html +++ b/phpBB/styles/subSilver/template/posting_preview.html @@ -43,9 +43,9 @@
{PREVIEW_MESSAGE}
- +

- + -- cgit v1.2.1
{L_ATTACHMENTS}: