mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Update display to match function change in setup
This commit is contained in:
parent
1ff5b9ab09
commit
dc38f82581
@ -29,10 +29,19 @@
|
||||
<td>
|
||||
<select name="newsettings[template_set]">
|
||||
<?php
|
||||
$templates = $phpgw_setup->get_template_list();
|
||||
while (list ($key, $value) = each ($templates)){
|
||||
echo '<option value="'.$key.'" '.$selected[$key].'>'.$templates[$key]["title"].'</option>';
|
||||
}
|
||||
if ($phpgw_setup)
|
||||
{
|
||||
$templates = $phpgw_setup->get_template_list();
|
||||
}
|
||||
else
|
||||
{
|
||||
$templates = $phpgw->common->list_templates();
|
||||
}
|
||||
echo '<option value="user_choice"' . $selected['user_choice'] . '>Users Choice</option>';
|
||||
while (list ($key, $value) = each ($templates))
|
||||
{
|
||||
echo '<option value="'.$key.'" '.$selected[$key].'>'.$templates[$key]["title"].'</option>';
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
@ -45,21 +54,25 @@
|
||||
<td>
|
||||
<select name="newsettings[force_theme]">
|
||||
<?php
|
||||
|
||||
$themes = $phpgw_setup->list_themes();
|
||||
echo '<option value="user_choice"' . $selected['user_choice'] . '>Users Choice</option>';
|
||||
while (list ($key, $value) = each ($themes))
|
||||
{
|
||||
echo '<option value="'.$value.'" '.$selected[$value].'>'.$value.'</option>';
|
||||
}
|
||||
if ($phpgw_setup)
|
||||
{
|
||||
$themes = $phpgw_setup->list_themes();
|
||||
}
|
||||
else
|
||||
{
|
||||
$themes = $phpgw->common->list_themes();
|
||||
}
|
||||
echo '<option value="user_choice"' . $selected['user_choice'] . '>Users Choice</option>';
|
||||
while (list ($key, $value) = each ($themes))
|
||||
{
|
||||
echo '<option value="'.$value.'" '.$selected[$value].'>'.$value.'</option>';
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?php $selected = array(); ?>
|
||||
|
||||
|
||||
|
||||
<?php/* $selected[$current_config["useframes"]] = " selected"; ?>
|
||||
<tr bgcolor="e6e6e6">
|
||||
<td>Frame support:</td>
|
||||
|
Loading…
Reference in New Issue
Block a user