mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Change blacklist to 2-dimensional array
관리 편의를 위해 블랙리스트를 자료 종류별로 구분합니다. 단, 기존과 같이 Context::isBlacklistedPlugin()을 호출하면 자료 종류 구분 없이 블랙리스트 여부를 알려줍니다.
This commit is contained in:
parent
6b32bc6789
commit
1ec6e1ec7a
9 changed files with 54 additions and 26 deletions
|
|
@ -32,7 +32,7 @@
|
|||
<strong cond="!$val->admin_index_act">{$val->title}</strong>
|
||||
</p>
|
||||
<p cond="$val->description">{$val->description}</p>
|
||||
<p cond="Context::isBlacklistedPlugin($val->module)" class="x_alert x_alert-error">
|
||||
<p cond="Context::isBlacklistedPlugin($val->module, 'module')" class="x_alert x_alert-error">
|
||||
{$lang->msg_blacklisted_module}<br />
|
||||
{$lang->get('admin.msg_blacklisted_reason.'.$val->module)}
|
||||
</p>
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
<!--@if($val->version === 'RX_VERSION')-->
|
||||
<img src="{\RX_BASEURL}common/img/icon.png" class="core_symbol" alt="Rhymix Core" title="Rhymix Core" />
|
||||
<!--@else-->
|
||||
<span style="color:#aaa"|cond="Context::isBlacklistedPlugin($val->module)">{$val->version}</span>
|
||||
<span style="color:#aaa"|cond="Context::isBlacklistedPlugin($val->module, 'module')">{$val->version}</span>
|
||||
<!--@endif-->
|
||||
</td>
|
||||
<td class="nowr rx_detail_marks">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue