forked from extern/egroupware
112 lines
3.6 KiB
PHP
112 lines
3.6 KiB
PHP
<tr bgcolor="FFFFFF">
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
|
|
<tr bgcolor="486591">
|
|
<td colspan="2"><font color="fefefe"> <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>Show '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
|
|
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>
|
|
</tr>
|
|
<?php $selected = array(); ?>
|
|
|
|
<?php $selected[$current_config["force_theme"]] = " selected"; ?>
|
|
<tr bgcolor="e6e6e6">
|
|
<td>Use theme:<br></td>
|
|
<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))
|
|
{
|
|
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>
|
|
<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 you 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 you 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>
|
|
|