forked from extern/egroupware
Merge Zone's new configs for vfs into the admin/config template
This commit is contained in:
parent
2bb540dc92
commit
ee800e651e
@ -95,4 +95,24 @@
|
||||
}
|
||||
return $out;
|
||||
}
|
||||
|
||||
function size_type($config)
|
||||
{
|
||||
$size = array('gb','mb','kb','b');
|
||||
|
||||
while(list($x,$val) = each($size))
|
||||
{
|
||||
if($config['vfs_default_account_size_type'] == $val)
|
||||
{
|
||||
$selected = ' selected';
|
||||
}
|
||||
else
|
||||
{
|
||||
$selected = '';
|
||||
}
|
||||
$descr = strtoupper($val);
|
||||
$out .= '<option value="' . $val . '"' . $selected . '>'.$descr.'</option>' . "\n";
|
||||
}
|
||||
return $out;
|
||||
}
|
||||
?>
|
||||
|
@ -154,7 +154,7 @@
|
||||
<tr bgcolor="e6e6e6">
|
||||
<td>Default file system space per user/group ?:</td>
|
||||
<td>
|
||||
<input type="text" name="newsettings[vfs_default_account_size_number]" size=7 value="<?php echo $current_config["vfs_default_account_size_number"]; ?> ">
|
||||
<input type="text" name="newsettings[vfs_default_account_size_number]" size="7" value="<?php echo $current_config['vfs_default_account_size_number']; ?> ">
|
||||
|
||||
<?php $selected[$current_config['vfs_default_account_size_type']] = ' selected'; ?>
|
||||
<select name="newsettings[vfs_default_account_size_type]">
|
||||
|
@ -95,6 +95,15 @@
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="{row_off}">
|
||||
<td>{lang_Default_file_system_space_per_user}/{lang_group_?}:</td>
|
||||
<td>
|
||||
<input type="text" name="newsettings[vfs_default_account_size_number]" size="7" value="{value_vfs_default_account_size_number}">
|
||||
<select name="newsettings[vfs_default_account_size_type]">
|
||||
{hook_size_type}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END body -->
|
||||
|
||||
<!-- BEGIN footer -->
|
||||
|
Loading…
Reference in New Issue
Block a user