Display warning on configuration pages of blacklisted addons and modules

This commit is contained in:
Kijin Sung 2016-05-08 16:48:42 +09:00
parent f151632242
commit 3cf0e6017d
4 changed files with 19 additions and 0 deletions

View file

@ -2,6 +2,7 @@
<h1>{$lang->installed_addons}</h1>
</div>
<h2>{$addon_info->title}</h2>
<table class="x_table">
<tbody>
<tr>
@ -30,6 +31,9 @@
</tr>
</tbody>
</table>
<div cond="Context::isBlacklistedPlugin($addon_info->addon_name)" class="message error">
<p><em class="x_label x_label-important">{$lang->msg_warning}</em> {$lang->msg_blacklisted_module}</p>
</div>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/addon/tpl/setup_addon/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>