Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Florian Lippert authored
4 syscp/admin_index.php
@@ -84,7 +84,7 @@
84 84 if((isset($_GET['lookfornewversion']) && $_GET['lookfornewversion'] == 'yes')
85 85 || (isset($lookfornewversion) && $lookfornewversion == 'yes'))
86 86 {
87   - $latestversion = @file('http://version.syscp.org/SysCP/legacy/' . $version);
  87 + $latestversion = @file('http://version.syscp.org/SysCP/legacy/' . $version . $patchlevel);
88 88
89 89 if(is_array($latestversion)
90 90 && count($latestversion) >= 2)
@@ -103,7 +103,7 @@
103 103 }
104 104 else
105 105 {
106   - redirectTo('http://version.syscp.org/SysCP/legacy/' . $version . '/pretty', NULL);
  106 + redirectTo('http://version.syscp.org/SysCP/legacy/' . $version . $patchlevel . '/pretty', NULL);
107 107 }
108 108 }
109 109 else
1  syscp/lib/tables.inc.php
@@ -89,5 +89,6 @@
89 89 define('PACKAGE_LOCKED', 1);
90 90 define('PACKAGE_ENABLED', 2);
91 91 $version = '1.4.2';
  92 +$patchlevel = '.1';
92 93
93 94 ?>
2  syscp/templates/admin/index/index.tpl
@@ -131,7 +131,7 @@ $header
131 131 </if>
132 132 <tr>
133 133 <td class="field_name_border_left">{$lng['admin']['installedversion']}:</td>
134   - <td class="field_display">$version</td>
  134 + <td class="field_display">{$version}{$patchlevel}</td>
135 135 </tr>
136 136 <tr>
137 137 <td class="field_name_border_left">{$lng['admin']['latestversion']}:</td>
2  syscp/templates/footer.tpl
@@ -6,7 +6,7 @@

0 comments on commit 49b92f4

Please sign in to comment.
Something went wrong with that request. Please try again.