egroupware/preferences/setup/config.inc.php
2001-01-10 03:08:03 +00:00

71 lines
2.5 KiB
PHP

<tr bgcolor="FFFFFF">
<td colspan="2">&nbsp;</td>
</tr>
<tr bgcolor="486591">
<td colspan="2"><font color="fefefe">&nbsp;<b>Preferences</b></font></td>
</tr>
<tr bgcolor="e6e6e6">
<td>Enter the title for your site.</td>
<td><input name="newsettings[site_title]" value="<?php echo $current_config["site_title"]; ?>"></td>
</tr>
<?php $selected[$current_config["showpoweredbyon"]] = " selected"; ?>
<tr bgcolor="e6e6e6">
<td>Showed powered by logo on:</td>
<td>
<select name="newsettings[showpoweredbyon]">
<option value="bottom"<?php echo $selected["bottom"]; ?>>bottom</option>
<option value="top"<?php echo $selected["top"]; ?>>top</option>
</select>
</td>
</tr>
<?php $selected = array(); ?>
<?php $selected[$current_config["template_set"]] = " selected"; ?>
<tr bgcolor="e6e6e6">
<td>Interface/Template Selection:<br> <!---(if user choice, and they dont make a selection, then classic will be used)---></td>
<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>';
}
?>
</select>
</td>
</tr>
<?php $selected = array(); ?>
<?php/* $selected[$current_config["useframes"]] = " selected"; ?>
<tr bgcolor="e6e6e6">
<td>Frame support:</td>
<td>
<select name="newsettings[useframes]">
<option value="allowed"<?php echo $selected["allowed"]; ?>>Allow frames</option>
<option value="always"<?php echo $selected["always"]; ?>>Force frames</option>
<option value="never"<?php echo $selected["never"]; ?>>Disable frames</option>
</select>
</td>
</tr>
<?php $selected = array(); */?>
<?php $selected[$current_config["htmlcompliant"]] = " selected"; ?>
<tr bgcolor="e6e6e6">
<td>Use pure HTML compliant code (not fully working yet):</td>
<td>
<select name="newsettings[htmlcompliant]">
<option value="True"<?php echo $selected["True"]; ?>>True</option>
<option value="False"<?php echo $selected["False"]; ?>>False</option>
</select>
</td>
</tr>
<?php $selected = array(); ?>
<tr bgcolor="e6e6e6">
<td>Would like like phpGroupWare to check for new version<br>when admins login ?:</td>
<td><input type="checkbox" name="newsettings[checkfornewversion]" value="True"<?php echo ($current_config["checkfornewversion"]?" checked":""); ?>></td>
</tr>