forked from extern/egroupware
Update display to match function change in setup
This commit is contained in:
parent
1ff5b9ab09
commit
dc38f82581
@ -29,10 +29,19 @@
|
|||||||
<td>
|
<td>
|
||||||
<select name="newsettings[template_set]">
|
<select name="newsettings[template_set]">
|
||||||
<?php
|
<?php
|
||||||
$templates = $phpgw_setup->get_template_list();
|
if ($phpgw_setup)
|
||||||
while (list ($key, $value) = each ($templates)){
|
{
|
||||||
echo '<option value="'.$key.'" '.$selected[$key].'>'.$templates[$key]["title"].'</option>';
|
$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>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
@ -45,21 +54,25 @@
|
|||||||
<td>
|
<td>
|
||||||
<select name="newsettings[force_theme]">
|
<select name="newsettings[force_theme]">
|
||||||
<?php
|
<?php
|
||||||
|
if ($phpgw_setup)
|
||||||
$themes = $phpgw_setup->list_themes();
|
{
|
||||||
echo '<option value="user_choice"' . $selected['user_choice'] . '>Users Choice</option>';
|
$themes = $phpgw_setup->list_themes();
|
||||||
while (list ($key, $value) = each ($themes))
|
}
|
||||||
{
|
else
|
||||||
echo '<option value="'.$value.'" '.$selected[$value].'>'.$value.'</option>';
|
{
|
||||||
}
|
$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>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php $selected = array(); ?>
|
<?php $selected = array(); ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php/* $selected[$current_config["useframes"]] = " selected"; ?>
|
<?php/* $selected[$current_config["useframes"]] = " selected"; ?>
|
||||||
<tr bgcolor="e6e6e6">
|
<tr bgcolor="e6e6e6">
|
||||||
<td>Frame support:</td>
|
<td>Frame support:</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user