mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Added select boxs for the version numbers on the apps that have them avaiable. Milosch, what do you think ?
This commit is contained in:
parent
961757eec8
commit
cb9c5a0d46
@ -223,7 +223,25 @@
|
||||
@reset ($setup_info);
|
||||
while (list ($key, $value) = each ($setup_info))
|
||||
{
|
||||
if($value['name'])
|
||||
unset($test);
|
||||
if (file_exists(PHPGW_SERVER_ROOT . '/' . $value['name'] . '/setup/tables_update.inc.php'))
|
||||
{
|
||||
include(PHPGW_SERVER_ROOT . '/' . $value['name'] . '/setup/tables_update.inc.php');
|
||||
}
|
||||
|
||||
if (is_array($test))
|
||||
{
|
||||
reset($test);
|
||||
}
|
||||
|
||||
$s = '<option value=""> </option>';
|
||||
while (is_array($test) && list(,$versionnumber) = each($test))
|
||||
{
|
||||
$s .= '<option value="' . $versionnumber . '">' . $versionnumber . '</option>';
|
||||
}
|
||||
$setup_tpl->set_var('select_version',$s);
|
||||
|
||||
if ($value['name'])
|
||||
{
|
||||
if ($i)
|
||||
{
|
||||
|
@ -28,7 +28,7 @@
|
||||
<td><a href="schematoy.php?detail={appname}"><img src="templates/default/images/{instimg}" alt="{instalt}" border="0"></a></td>
|
||||
<td>{appinfo} </td>
|
||||
<td>{apptitle} </td>
|
||||
<td align="center"><input name="version[{appname}]"></td>
|
||||
<td align="center"><select name="version[{appname}]">{select_version}</select></td>
|
||||
<td bgcolor="CCFFCC" align="center">{install}</td>
|
||||
</tr>
|
||||
<!-- END apps -->
|
||||
|
Loading…
Reference in New Issue
Block a user