mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Display warning on configuration pages of blacklisted addons and modules
This commit is contained in:
parent
f151632242
commit
3cf0e6017d
4 changed files with 19 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue