1
diff -Nur phpBB3.orig/includes/acp/acp_update.php phpBB3/includes/acp/acp_update.php
2
--- phpBB3.orig/includes/acp/acp_update.php 2007-12-12 20:12:47.000000000 +0100
3
+++ phpBB3/includes/acp/acp_update.php 2008-01-19 21:16:39.000000000 +0100
5
$this->tpl_name = 'acp_update';
6
$this->page_title = 'ACP_VERSION_CHECK';
8
- // Get current and latest version
9
+/* // Get current and latest version
15
$up_to_date_automatic = (version_compare(str_replace('rc', 'RC', strtolower($current_version)), str_replace('rc', 'RC', strtolower($latest_version)), '<')) ? false : true;
16
$up_to_date = (version_compare(str_replace('rc', 'RC', strtolower($config['version'])), str_replace('rc', 'RC', strtolower($latest_version)), '<')) ? false : true;
19
$template->assign_vars(array(
20
- 'S_UP_TO_DATE' => $up_to_date,
21
- 'S_UP_TO_DATE_AUTO' => $up_to_date_automatic,
22
+ 'S_UP_TO_DATE' => true,
23
+ 'S_UP_TO_DATE_AUTO' => true,
24
'S_VERSION_CHECK' => true,
25
'U_ACTION' => $this->u_action,
27
- 'LATEST_VERSION' => $latest_version,
28
- 'CURRENT_VERSION' => $config['version'],
29
- 'AUTO_VERSION' => $version_update_from,
30
+ 'LATEST_VERSION' => 'See <a href="http://packages.debian.org/phpbb3">Debian Packages</a>',
31
+ 'CURRENT_VERSION' => PHPBB_VERSION,
32
+ 'AUTO_VERSION' => 'See <a href="http://packages.debian.org/phpbb3">Debian Packages</a>',
34
- 'UPDATE_INSTRUCTIONS' => sprintf($user->lang['UPDATE_INSTRUCTIONS'], $announcement_url, $update_link),
35
+ 'UPDATE_INSTRUCTIONS' => 'You are using the Debian package of phpBB. Check <a href="http://packages.debian.org/phpbb3">packages.debian.org</a> for updates.',
41
\ No newline at end of file