diff --git a/phpBB/adm/style/acp_styles.html b/phpBB/adm/style/acp_styles.html
index 652bdbd372..bebbdb4235 100644
--- a/phpBB/adm/style/acp_styles.html
+++ b/phpBB/adm/style/acp_styles.html
@@ -261,11 +261,11 @@
« {L_BACK}
-
+
{L_TEMPLATE_CACHE}
-
+
{L_TEMPLATE_CACHE_EXPLAIN}
-
+
@@ -464,7 +464,7 @@
- - {S_SUPERTEMPLATE}
+ - {S_SUPERTEMPLATE}
@@ -513,7 +513,7 @@
{S_FORM_TOKEN}
-
+
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index 18eb870a3d..fbbe3eeff0 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -53,6 +53,7 @@
- Changelog
+ - Changes since 3.0.2
- Changes since 3.0.1
- Changes since 3.0.0
- Changes since RC-8
diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php
index 436c8692b4..fef5b76fe1 100644
--- a/phpBB/includes/functions_template.php
+++ b/phpBB/includes/functions_template.php
@@ -50,7 +50,7 @@ class template_compile
{
$this->template = &$template;
}
-
+
/**
* Load template source from file
* @access private
@@ -72,7 +72,7 @@ class template_compile
if ($store_in_db)
{
global $db, $user;
-
+
$sql_ary = array(
'template_id' => $this->template->files_template[$handle],
'template_filename' => $this->template->filename[$handle],
@@ -80,7 +80,7 @@ class template_compile
'template_mtime' => time(),
'template_data' => trim(@file_get_contents($this->template->files[$handle])),
);
-
+
$sql = 'INSERT INTO ' . STYLES_TEMPLATE_DATA_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary);
$db->sql_query($sql);
}
@@ -518,50 +518,6 @@ class template_compile
else if (!empty($token))
{
$token = '(' . $token . ')';
- /**
- * If we need to really secure the usage, or force specific types on specific operations... the following would be the code
-
- if (!isset($tokens[$i - 1]))
- {
- unset($tokens[$i]);
- break;
- }
-
- $prev_token = trim($tokens[$i - 1]);
-
- switch ($prev_token)
- {
- // Integer
- case '<':
- case '>':
- case '<=':
- case '>=':
- case '%':
- $token = ( ((double) $token) != 0) ? (double) $token : (int) $token;
- break;
-
- case '==':
- case '!=':
- $int_token = (((double) $token) != 0) ? (double) $token : (int) $token;
- if ($int_token && $int_token == $token)
- {
- $token = $int_token;
- break;
- }
-
- // It is a string...
- $token = '(' . $token . ')';
- break;
-
- case '!':
- case '||':
- case '&&':
- default:
- unset($tokens[$i]);
- break;
- break;
- }
- */
}
break;
diff --git a/phpBB/language/en/common.php b/phpBB/language/en/common.php
index 5e594e025b..9b066ecdaa 100644
--- a/phpBB/language/en/common.php
+++ b/phpBB/language/en/common.php
@@ -262,7 +262,7 @@ $lang = array_merge($lang, array(
'HOME' => 'Home',
'ICQ' => 'ICQ',
- 'ICQ_STATUS' => 'ICQ status',
+ 'ICQ_STATUS' => 'ICQ status',
'IF' => 'If',
'IMAGE' => 'Image',
'IMAGE_FILETYPE_INVALID' => 'Image file type %d for mimetype %s not supported.',
@@ -333,7 +333,7 @@ $lang = array_merge($lang, array(
'MODERATORS' => 'Moderators',
'MONTH' => 'Month',
'MOVE' => 'Move',
- 'MSNM' => 'MSNM/WLM',
+ 'MSNM' => 'MSNM/WLM',
'NA' => 'N/A',
'NEWEST_USER' => 'Our newest member %s',
@@ -500,7 +500,7 @@ $lang = array_merge($lang, array(
'SEARCHING_FORUMS' => 'Searching forums',
'SEARCH_ACTIVE_TOPICS' => 'View active topics',
'SEARCH_FOR' => 'Search for',
- 'SEARCH_FORUM' => 'Search this forum…',
+ 'SEARCH_FORUM' => 'Search this forum…',
'SEARCH_NEW' => 'View new posts',
'SEARCH_POSTS_BY' => 'Search posts by',
'SEARCH_SELF' => 'View your posts',
@@ -674,7 +674,7 @@ $lang = array_merge($lang, array(
'YEAR' => 'Year',
'YEAR_MONTH_DAY' => '(YYYY-MM-DD)',
'YES' => 'Yes',
- 'YIM' => 'YIM',
+ 'YIM' => 'YIM',
'YOU_LAST_VISIT' => 'Last visit was: %s',
'YOU_NEW_PM' => 'A new private message is waiting for you in your Inbox.',
'YOU_NEW_PMS' => 'New private messages are waiting for you in your Inbox.',