Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding patchlevel to version

git-svn-id: file:///var/svn/trunk@2691 45fdb5c4-e40b-0410-b369-9aab4fe9a275
  • Loading branch information...
commit 49b92f49d19ba964a438dc425412835c2a19d2a5 1 parent 5742e88
@flol authored
View
4 syscp/admin_index.php
@@ -84,7 +84,7 @@
if((isset($_GET['lookfornewversion']) && $_GET['lookfornewversion'] == 'yes')
|| (isset($lookfornewversion) && $lookfornewversion == 'yes'))
{
- $latestversion = @file('http://version.syscp.org/SysCP/legacy/' . $version);
+ $latestversion = @file('http://version.syscp.org/SysCP/legacy/' . $version . $patchlevel);
if(is_array($latestversion)
&& count($latestversion) >= 2)
@@ -103,7 +103,7 @@
}
else
{
- redirectTo('http://version.syscp.org/SysCP/legacy/' . $version . '/pretty', NULL);
+ redirectTo('http://version.syscp.org/SysCP/legacy/' . $version . $patchlevel . '/pretty', NULL);
}
}
else
View
1  syscp/lib/tables.inc.php
@@ -89,5 +89,6 @@
define('PACKAGE_LOCKED', 1);
define('PACKAGE_ENABLED', 2);
$version = '1.4.2';
+$patchlevel = '.1';
?>
View
2  syscp/templates/admin/index/index.tpl
@@ -131,7 +131,7 @@ $header
</if>
<tr>
<td class="field_name_border_left">{$lng['admin']['installedversion']}:</td>
- <td class="field_display">$version</td>
+ <td class="field_display">{$version}{$patchlevel}</td>
</tr>
<tr>
<td class="field_name_border_left">{$lng['admin']['latestversion']}:</td>
View
2  syscp/templates/footer.tpl
@@ -6,7 +6,7 @@
<td width="100%" class="footer">
<br />SysCP
<if ($settings['admin']['show_version_login'] == '1' && $filename == 'index.php') || ($filename != 'index.php' && $settings['admin']['show_version_footer'] == '1')>
- $version
+ {$version}{$patchlevel}
</if>
<a style="text-decoration:none;" href="index.php?page=easter&amp;action=egg">&copy;</a> 2003-2008 by <a href="http://www.syscp.org/" target="_blank">the SysCP Team</a>
<br />Theme: Luca Piona and Luca Longinotti
Please sign in to comment.
Something went wrong with that request. Please try again.