mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +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);
|
@reset ($setup_info);
|
||||||
while (list ($key, $value) = each ($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)
|
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><a href="schematoy.php?detail={appname}"><img src="templates/default/images/{instimg}" alt="{instalt}" border="0"></a></td>
|
||||||
<td>{appinfo} </td>
|
<td>{appinfo} </td>
|
||||||
<td>{apptitle} </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>
|
<td bgcolor="CCFFCC" align="center">{install}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- END apps -->
|
<!-- END apps -->
|
||||||
|
Loading…
Reference in New Issue
Block a user