mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 00:32:15 +09:00
Display reasons for blacklisted modules and addons
This commit is contained in:
parent
94f35fec5e
commit
2300106aa5
5 changed files with 22 additions and 4 deletions
|
|
@ -1,7 +1,10 @@
|
|||
<include target="./_header.html" />
|
||||
<div class="content" id="content">
|
||||
<div cond="Context::isBlacklistedPlugin(strtolower(preg_replace('/^disp([A-Z][a-z0-9_]+)[A-Z].+$/', '$1', $act)))" class="message error" style="margin-top:15px">
|
||||
<p><em class="x_label x_label-important">{$lang->msg_warning}</em> {$lang->msg_blacklisted_module}</p>
|
||||
<div cond="Context::isBlacklistedPlugin($blacklisted_plugin_name = strtolower(preg_replace('/^disp([A-Z][a-z0-9_]+)[A-Z].+$/', '$1', $act)))" class="message error" style="margin-top:15px">
|
||||
<p>
|
||||
<em class="x_label x_label-important">{$lang->msg_warning}</em> {$lang->msg_blacklisted_module}<br />
|
||||
{$lang->get('admin.msg_blacklisted_reason.'.$blacklisted_plugin_name)}
|
||||
</p>
|
||||
</div>
|
||||
{$content}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue