mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Undo needless use of hook, fix one typo in config.inc.php
This commit is contained in:
parent
c709c1282b
commit
2fe4597371
@ -95,24 +95,4 @@
|
||||
}
|
||||
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;
|
||||
}
|
||||
?>
|
||||
|
@ -161,7 +161,7 @@
|
||||
<option value="gb" <?php echo $selected['gb']?>>GB</option>
|
||||
<option value="mb" <?php echo $selected['mb']?>>MB</option>
|
||||
<option value="kb" <?php echo $selected['mb']?>>KB</option>
|
||||
<option value="b" <?php echo $selected['mb']?>>B</option>
|
||||
<option value="b" <?php echo $selected['b']?>>B</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -100,7 +100,10 @@
|
||||
<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}
|
||||
<option value="gb"{selected_vfs_default_account_size_type_gb}>GB</option>
|
||||
<option value="mb"{selected_vfs_default_account_size_type_mb}>MB</option>
|
||||
<option value="kb"{selected_vfs_default_account_size_type_mb}>KB</option>
|
||||
<option value="b"{selected_vfs_default_account_size_type_b}>B</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user