mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Show quota as disabled for non-stylite
This commit is contained in:
parent
9ce0520e5c
commit
bf97118963
@ -423,7 +423,7 @@ class filemanager_admin extends filemanager_ui
|
|||||||
{
|
{
|
||||||
$content['check_oversize'] = true;
|
$content['check_oversize'] = true;
|
||||||
}
|
}
|
||||||
$readonlys['quota'] = !($GLOBALS['egw_info']['apps']['stylite']);
|
|
||||||
$tpl = new Etemplate('filemanager.quota');
|
$tpl = new Etemplate('filemanager.quota');
|
||||||
$GLOBALS['egw_info']['flags']['app_header'] = lang('Quota');
|
$GLOBALS['egw_info']['flags']['app_header'] = lang('Quota');
|
||||||
$tpl->exec('filemanager.filemanager_admin.quota', $content, $sel_options, $readonlys);
|
$tpl->exec('filemanager.filemanager_admin.quota', $content, $sel_options, $readonlys);
|
||||||
|
@ -4,8 +4,9 @@
|
|||||||
<overlay>
|
<overlay>
|
||||||
<template id="filemanager.quota" template="" lang="" group="0" version="1.9.004">
|
<template id="filemanager.quota" template="" lang="" group="0" version="1.9.004">
|
||||||
<vbox>
|
<vbox>
|
||||||
<textbox label="User home quota" id="quota" blur="(EPL Only)" disabled="true"/>
|
<textbox label="User home quota" id="quota" blur="(EPL Only)" disabled="true" class="et2-label-fixed"/>
|
||||||
<textbox label="Group home quota" id="group_quota" blur="(EPL Only)" disabled="true"
|
<textbox label="Group home quota" id="group_quota" blur="(EPL Only)" disabled="true"
|
||||||
|
class="et2-label-fixed"
|
||||||
help-text="Enter a file size, e.g. 100K, 200M or 2G"/>
|
help-text="Enter a file size, e.g. 100K, 200M or 2G"/>
|
||||||
<button label="Recalculate" id="button[recalculate]" statustext="Recalculate directory sizes"/>
|
<button label="Recalculate" id="button[recalculate]" statustext="Recalculate directory sizes"/>
|
||||||
<grid id="oversize" disabled="!@oversize">
|
<grid id="oversize" disabled="!@oversize">
|
||||||
|
Loading…
Reference in New Issue
Block a user