aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-11-02 11:22:30 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-11-02 11:22:30 +0000
commitc903b453fa00871a11ea988b5e348c3a2741b251 (patch)
treed219b75e3038b9ad99bc124249c6eb94f9f580a1
parent1b10cb9c37201560686fc4f1c54d845a9183ba21 (diff)
downloadforums-c903b453fa00871a11ea988b5e348c3a2741b251.tar
forums-c903b453fa00871a11ea988b5e348c3a2741b251.tar.gz
forums-c903b453fa00871a11ea988b5e348c3a2741b251.tar.bz2
forums-c903b453fa00871a11ea988b5e348c3a2741b251.tar.xz
forums-c903b453fa00871a11ea988b5e348c3a2741b251.zip
i had these changes sitting... must've been a merge not committed (and because we do not use svn 1.5 as the client version i am not able to say which they were)
git-svn-id: file:///svn/phpbb/trunk@9042 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/adm/style/install_update.html17
-rw-r--r--phpBB/includes/mcp/mcp_topic.php2
-rw-r--r--phpBB/includes/session.php1
-rw-r--r--phpBB/install/database_update.php2
-rw-r--r--phpBB/install/install_update.php5
-rw-r--r--phpBB/language/en/acp/board.php2
-rw-r--r--phpBB/language/en/install.php3
7 files changed, 22 insertions, 10 deletions
diff --git a/phpBB/adm/style/install_update.html b/phpBB/adm/style/install_update.html
index 318795f4cf..2448f1d39b 100644
--- a/phpBB/adm/style/install_update.html
+++ b/phpBB/adm/style/install_update.html
@@ -186,7 +186,7 @@
<p>{L_NO_UPDATE_FILES_EXPLAIN}</p><br />
<strong>{NO_UPDATE_FILES}</strong>
-
+
</div>
<!-- ENDIF -->
@@ -226,7 +226,7 @@
<!-- IF files.S_CUSTOM -->
<dd style="margin-left: 60%;"><label><input type="checkbox" name="no_update[]" value="{files.FILENAME}" class="radio" /> {L_DO_NOT_UPDATE}</label></dd>
<!-- ENDIF -->
-
+
<!-- IF files.STATUS eq 'modified' -->
</dl>
<dl>
@@ -295,7 +295,7 @@
<p>{L_UPDATE_METHOD_EXPLAIN}</p>
<fieldset class="submit-buttons">
- <input class="button1" type="submit" name="ftp_upload" value="{L_FTP_UPDATE_METHOD}" />&nbsp; &nbsp;<input class="button1" type="submit" name="download" value="{L_DOWNLOAD_UPDATE_METHOD}" />
+ <input class="button1" type="submit" name="ftp_upload" value="{L_FTP_UPDATE_METHOD}" />&nbsp; &nbsp;<input class="button1" type="submit" name="download" value="{L_DOWNLOAD_UPDATE_METHOD_BUTTON}" />
</fieldset>
</form>
@@ -360,9 +360,18 @@
<p>{L_CONNECTION_SUCCESS}</p>
</div>
<!-- ELSEIF S_CONNECTION_FAILED -->
+ <div class="successbox">
+ <p>{L_TRY_DOWNLOAD_METHOD}</p>
+
+ <fieldset class="quick">
+ <input class="button1" type="submit" name="download" value="{L_TRY_DOWNLOAD_METHOD_BUTTON}" />
+ </fieldset>
+ </div>
+
<div class="errorbox">
<p>{L_CONNECTION_FAILED}<br />{ERROR_MSG}</p>
</div>
+
<!-- ENDIF -->
<fieldset>
@@ -378,7 +387,7 @@
</dl>
<!-- END data -->
</fieldset>
-
+
<fieldset class="submit-buttons">
{S_HIDDEN_FIELDS}
<input class="button2" type="submit" name="check_again" value="{L_BACK}" />
diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php
index 9df56c09ba..83f2aaf8d1 100644
--- a/phpBB/includes/mcp/mcp_topic.php
+++ b/phpBB/includes/mcp/mcp_topic.php
@@ -329,7 +329,7 @@ function mcp_topic_view($id, $mode, $action)
*/
function split_topic($action, $topic_id, $to_forum_id, $subject)
{
- global $db, $template, $user, $auth;
+ global $db, $template, $user, $auth, $config;
$post_id_list = request_var('post_id_list', array(0));
$forum_id = request_var('forum_id', 0);
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 450f044414..abbc61cfa8 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -1168,7 +1168,6 @@ class session
}
$dnsbl_check = array(
- 'list.dsbl.org' => 'http://dsbl.org/listing?',
'sbl-xbl.spamhaus.org' => 'http://www.spamhaus.org/query/bl?ip=',
);
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index a98bb7e314..b0b6efe62c 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -8,7 +8,7 @@
*
*/
-$updates_to_version = '3.0.2-RC2';
+$updates_to_version = '3.0.3-RC1';
// Return if we "just include it" to find out for which version the database update is responsuble for
if (defined('IN_PHPBB') && defined('IN_INSTALL'))
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index 33a706edf1..8312b3fc55 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -893,8 +893,9 @@ class install_update extends module
'S_FTP_UPLOAD' => true,
'UPLOAD_METHOD' => $method,
'U_ACTION' => append_sid($this->p_master->module_url, "mode=$mode&amp;sub=update_files"),
- 'S_HIDDEN_FIELDS' => $s_hidden_fields)
- );
+ 'U_DOWNLOAD_METHOD' => append_sid($this->p_master->module_url, "mode=$mode&amp;sub=update_files&amp;download=1"),
+ 'S_HIDDEN_FIELDS' => $s_hidden_fields,
+ ));
return;
}
diff --git a/phpBB/language/en/acp/board.php b/phpBB/language/en/acp/board.php
index 315f95c3d7..b9b089969e 100644
--- a/phpBB/language/en/acp/board.php
+++ b/phpBB/language/en/acp/board.php
@@ -381,7 +381,7 @@ $lang = array_merge($lang, array(
'BROWSER_VALID' => 'Validate browser',
'BROWSER_VALID_EXPLAIN' => 'Enables browser validation for each session improving security.',
'CHECK_DNSBL' => 'Check IP against DNS Blackhole List',
- 'CHECK_DNSBL_EXPLAIN' => 'If enabled the user’s IP address is checked against the following DNSBL services on registration and posting: <a href="http://spamcop.net">spamcop.net</a>, <a href="http://dsbl.org">dsbl.org</a> and <a href="http://www.spamhaus.org">www.spamhaus.org</a>. This lookup may take a while, depending on the server’s configuration. If slowdowns are experienced or too many false positives reported it is recommended to disable this check.',
+ 'CHECK_DNSBL_EXPLAIN' => 'If enabled the user’s IP address is checked against the following DNSBL services on registration and posting: <a href="http://spamcop.net">spamcop.net</a> and <a href="http://www.spamhaus.org">www.spamhaus.org</a>. This lookup may take a while, depending on the server’s configuration. If slowdowns are experienced or too many false positives reported it is recommended to disable this check.',
'CLASS_B' => 'A.B',
'CLASS_C' => 'A.B.C',
'EMAIL_CHECK_MX' => 'Check e-mail domain for valid MX record',
diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php
index cc68e59190..de117098e2 100644
--- a/phpBB/language/en/install.php
+++ b/phpBB/language/en/install.php
@@ -404,6 +404,7 @@ $lang = array_merge($lang, array(
'DONE' => 'Done',
'DOWNLOAD' => 'Download',
'DOWNLOAD_AS' => 'Download as',
+ 'DOWNLOAD_UPDATE_METHOD_BUTTON' => 'Download modified files archive (recommended)',
'DOWNLOAD_UPDATE_METHOD' => 'Download modified files archive',
'DOWNLOAD_UPDATE_METHOD_EXPLAIN' => 'Once downloaded you should unpack the archive. You will find the modified files you need to upload to your phpBB root directory within it. Please upload the files to their respective locations then. After you have uploaded all files, please check the files again with the other button below.',
@@ -504,6 +505,8 @@ $lang = array_merge($lang, array(
'STATUS_UP_TO_DATE' => 'Already updated file',
'TOGGLE_DISPLAY' => 'View/Hide file list',
+ 'TRY_DOWNLOAD_METHOD' => 'You may want to try the download modified files method.<br />This method always works and is also the recommended update path.',
+ 'TRY_DOWNLOAD_METHOD_BUTTON'=> 'Try this method now',
'UPDATE_COMPLETED' => 'Update completed',
'UPDATE_DATABASE' => 'Update database',