forked from extern/egroupware
Show "EPL Only" for quota in edit account & group dialogs
This commit is contained in:
parent
271ae92e69
commit
0ad1934afc
@ -91,6 +91,8 @@ class admin_account
|
||||
'loginshell' => $GLOBALS['egw_info']['server']['ldap_account_shell'],
|
||||
);
|
||||
}
|
||||
|
||||
$account['default_quota'] = lang('(EPL Only)');
|
||||
// should we show extra ldap attributes home-directory and login-shell
|
||||
$account['ldap_extra_attributes'] = $GLOBALS['egw_info']['server']['ldap_extra_attributes'] &&
|
||||
get_class($GLOBALS['egw']->accounts->backend) === 'EGroupware\\Api\\Accounts\\Ldap';
|
||||
|
@ -217,6 +217,7 @@ class Groups
|
||||
}
|
||||
$run_rights = $content['account_id'] ? $this->acl->get_user_applications($content['account_id'], false, false) : array();
|
||||
$content['apps'] = $content['old_run'] = array();
|
||||
$content['default_quota'] = lang('(EPL Only)');
|
||||
foreach($GLOBALS['egw_info']['apps'] as $app => $data)
|
||||
{
|
||||
if (!$data['enabled'] || !$data['status'] || $data['status'] == 3)
|
||||
|
@ -55,8 +55,8 @@
|
||||
<description value="Primary group" for="account_primary_group"/>
|
||||
<select-account id="account_primary_group" account_type="groups" class="et2_fullWidth"/>
|
||||
<description/>
|
||||
<description value="Filesystem quota" disabled="!@epl"/>
|
||||
<textbox id="quota" readonly="true" blur="@default_quota"/>
|
||||
<description value="Filesystem quota"/>
|
||||
<textbox id="quota" disabled="!@epl" blur="@default_quota"/>
|
||||
<description/>
|
||||
</row>
|
||||
<row>
|
||||
|
@ -42,8 +42,8 @@
|
||||
<url-email id="account_email" size="40" maxlength="64" class="et2_fullWidth"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="Filesystem quota" disabled="!@epl"/>
|
||||
<textbox id="quota" readonly="true" blur="@default_quota"/>
|
||||
<description value="Filesystem quota"/>
|
||||
<textbox id="quota" disabled="!@epl" blur="@default_quota"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
Loading…
Reference in New Issue
Block a user