egroupware/preferences/setup/config.inc.php
2001-04-21 16:25:04 +00:00

75 lines
2.8 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(); */?>
<tr bgcolor="e6e6e6">
<td>Use pure HTML compliant code (not fully working yet):</td>
<td><input type="checkbox" name="newsettings[htmlcompliant]" value="True"<?php echo ($current_config["htmlcompliant"]?" checked":""); ?>></td>
</tr>
<?php $selected = array(); ?>
<tr bgcolor="e6e6e6">
<td>Use cookies to pass sessionid:</td>
<td><input type="checkbox" name="newsettings[usecookies]" value="True"<?php echo ($current_config["usecookies"]?" checked":""); ?>></td>
</tr>
<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>
<tr bgcolor="e6e6e6">
<td>Would like like phpGroupWare to cache the phpgw_info array ?:</td>
<td><input type="checkbox" name="newsettings[cache_phpgw_info]" value="True"<?php echo ($current_config["cache_phpgw_info"]?" checked":""); ?>></td>
</tr>