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