Update display to match function change in setup

This commit is contained in:
Miles Lott 2001-05-31 09:24:56 +00:00
parent 1ff5b9ab09
commit dc38f82581

View File

@ -29,8 +29,17 @@
<td>
<select name="newsettings[template_set]">
<?php
if ($phpgw_setup)
{
$templates = $phpgw_setup->get_template_list();
while (list ($key, $value) = each ($templates)){
}
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>';
}
?>
@ -45,8 +54,14 @@
<td>
<select name="newsettings[force_theme]">
<?php
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))
{
@ -58,8 +73,6 @@
</tr>
<?php $selected = array(); ?>
<?php/* $selected[$current_config["useframes"]] = " selected"; ?>
<tr bgcolor="e6e6e6">
<td>Frame support:</td>