mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
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']);
|
$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);
|
$tpl->exec(static::APP_CLASS.'edit', $content, $sel_options, $readonlys, $content, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -243,7 +243,7 @@
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<description for="acc_spam_api" value="SpamTitan API URL"/>
|
<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>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
Loading…
Reference in New Issue
Block a user