forked from extern/egroupware
Mail: Only show EPL version needed blur if EPL is not available
This commit is contained in:
parent
8778be01ff
commit
836a3b07e3
@ -1361,6 +1361,9 @@ class admin_mail
|
||||
$content['ident_email'] = Mail::fixInvalidAliasAddress (Api\Accounts::id2name($content['acc_imap_account_id'], 'account_email'), $content['ident_email']);
|
||||
}
|
||||
|
||||
// If no EPL available, show that in spamtitan blur
|
||||
$content['spamtitan_blur'] = $GLOBALS['egw_info']['user']['apps']['stylite'] ? '' : lang('SpamTitian integration requires EPL version');
|
||||
|
||||
$tpl->exec(static::APP_CLASS.'edit', $content, $sel_options, $readonlys, $content, 2);
|
||||
}
|
||||
|
||||
|
@ -243,7 +243,7 @@
|
||||
</row>
|
||||
<row>
|
||||
<description for="acc_spam_api" value="SpamTitan API URL"/>
|
||||
<url id="acc_spam_api" blur="SpamTitian integration requires EPL version" width="95%" maxlength="128"/>
|
||||
<url id="acc_spam_api" blur="@spamtitan_blur" width="95%" maxlength="128"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
Loading…
Reference in New Issue
Block a user