2001-01-07 11:43:48 +01:00
|
|
|
<tr bgcolor="FFFFFF">
|
|
|
|
<td colspan="2"> </td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="486591">
|
|
|
|
<td colspan="2"><font color="fefefe"> <b>Preferences</b></font></td>
|
|
|
|
</tr>
|
|
|
|
|
2001-01-08 19:51:39 +01:00
|
|
|
<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>
|
|
|
|
|
2001-01-07 11:43:48 +01:00
|
|
|
<?php $selected[$current_config["showpoweredbyon"]] = " selected"; ?>
|
|
|
|
<tr bgcolor="e6e6e6">
|
2001-04-24 10:24:11 +02:00
|
|
|
<td>Show 'powered by' logo on:</td>
|
2001-01-07 11:43:48 +01:00
|
|
|
<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(); ?>
|
|
|
|
|
2001-06-23 08:15:37 +02:00
|
|
|
<?php $selected[$current_config["countrylist"]] = " selected"; ?>
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Country Selection (Text Entry/SelectBox):</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[countrylist]">
|
|
|
|
<?php
|
|
|
|
echo '<option value="user_choice"' . $selected['user_choice'] . '>Users Choice</option>';
|
|
|
|
echo '<option value="force_select"' . $selected['force_select'] . '>Force Selectbox</option>';
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php $selected = array(); ?>
|
|
|
|
|
2001-01-07 11:43:48 +01:00
|
|
|
<?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
|
2001-05-31 11:24:56 +02:00
|
|
|
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>';
|
|
|
|
}
|
2001-01-07 11:43:48 +01:00
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php $selected = array(); ?>
|
|
|
|
|
2001-04-27 12:02:33 +02:00
|
|
|
<?php $selected[$current_config["force_theme"]] = " selected"; ?>
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Use theme:<br></td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[force_theme]">
|
|
|
|
<?php
|
2001-05-31 11:24:56 +02:00
|
|
|
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>';
|
|
|
|
}
|
2001-04-27 12:02:33 +02:00
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php $selected = array(); ?>
|
|
|
|
|
2001-06-09 17:21:45 +02:00
|
|
|
<?php
|
|
|
|
/* $selected[$current_config["useframes"]] = " selected"; ?>
|
2001-01-07 11:43:48 +01:00
|
|
|
<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>
|
2001-06-09 17:21:45 +02:00
|
|
|
<?php $selected = array(); */
|
|
|
|
?>
|
2001-01-07 11:43:48 +01:00
|
|
|
|
|
|
|
<?php $selected = array(); ?>
|
2001-06-23 08:15:37 +02:00
|
|
|
<?php $selected[$current_config['htmlcompliant']] = ' selected'; ?>
|
2001-01-10 19:24:31 +01:00
|
|
|
<tr bgcolor="e6e6e6">
|
2001-06-23 08:15:37 +02:00
|
|
|
<td>Use pure HTML compliant code (not fully working yet):</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[htmlcompliant]">
|
|
|
|
<option value="">No</option>
|
|
|
|
<option value="True"<?php echo $selected['True']?>>Yes</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2001-01-10 19:24:31 +01:00
|
|
|
|
2001-06-23 08:15:37 +02:00
|
|
|
<?php $selected = array(); ?>
|
|
|
|
<?php $selected[$current_config['usecookies']] = ' selected'; ?>
|
2001-01-07 11:43:48 +01:00
|
|
|
<tr bgcolor="e6e6e6">
|
2001-06-23 08:15:37 +02:00
|
|
|
<td>Use cookies to pass sessionid:</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[usecookies]">
|
|
|
|
<option value="">No</option>
|
|
|
|
<option value="True"<?php echo $selected['True']?>>Yes</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2001-06-22 02:49:32 +02:00
|
|
|
|
2001-06-23 08:15:37 +02:00
|
|
|
<?php $selected = array(); ?>
|
|
|
|
<?php $selected[$current_config['checkfornewversion']] = ' selected'; ?>
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Would you like phpGroupWare to check for new version<br>when admins login ?:</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[checkfornewversion]">
|
|
|
|
<option value="">No</option>
|
|
|
|
<option value="True"<?php echo $selected['True']?>>Yes</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2001-06-22 02:49:32 +02:00
|
|
|
|
2001-06-23 08:15:37 +02:00
|
|
|
<?php $selected = array(); ?>
|
|
|
|
<?php $selected[$current_config['cache_phpgw_info']] = ' selected'; ?>
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Would you like phpGroupWare to cache the phpgw_info array ?:</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[cache_phpgw_info]">
|
|
|
|
<option value="">No</option>
|
|
|
|
<option value="True"<?php echo $selected['True']?>>Yes</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2001-06-26 00:22:42 +02:00
|
|
|
|
|
|
|
<?php $selected = array(); ?>
|
2001-07-28 05:14:08 +02:00
|
|
|
<!--
|
2001-06-26 00:22:42 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Default file system space per user/group ?:</td>
|
|
|
|
<td>
|
2001-06-26 00:33:21 +02:00
|
|
|
<input type="text" name="newsettings[vfs_default_account_size_number]" size="7" value="<?php echo $current_config['vfs_default_account_size_number']; ?> ">
|
2001-06-26 00:22:42 +02:00
|
|
|
|
|
|
|
<?php $selected[$current_config['vfs_default_account_size_type']] = ' selected'; ?>
|
|
|
|
<select name="newsettings[vfs_default_account_size_type]">
|
|
|
|
<option value="gb" <?php echo $selected['gb']?>>GB</option>
|
|
|
|
<option value="mb" <?php echo $selected['mb']?>>MB</option>
|
2001-06-26 22:32:34 +02:00
|
|
|
<option value="kb" <?php echo $selected['kb']?>>KB</option>
|
2001-06-26 00:57:11 +02:00
|
|
|
<option value="b" <?php echo $selected['b']?>>B</option>
|
2001-06-26 00:22:42 +02:00
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2001-07-28 05:14:08 +02:00
|
|
|
-->
|