mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Display warning about blacklisted modules in module list screen
This commit is contained in:
parent
7ef14490b8
commit
3fbb11f5ea
1 changed files with 4 additions and 1 deletions
|
|
@ -28,6 +28,9 @@
|
|||
<strong cond="!$val->admin_index_act">{$val->title}</strong>
|
||||
</p>
|
||||
<p>{$val->description}</p>
|
||||
<p cond="Context::isBlacklistedPlugin($val->module)" class="message error" style="margin-top:6px;padding:6px 10px">
|
||||
{$lang->msg_blacklisted_module}
|
||||
</p>
|
||||
<p cond="$val->need_install" class="x_alert x_alert-info">{$lang->msg_avail_install} <button class="text" type="button" onclick="doInstallModule('{$val->module}')">{$lang->msg_do_you_like_install}</button></p>
|
||||
<p cond="$val->need_update" class="x_alert x_alert-info">{$lang->msg_avail_update} <button class="text" type="button" onclick="doUpdateModule('{$val->module}')">{$lang->msg_do_you_like_update}</button></p>
|
||||
<p cond="$val->need_autoinstall_update == 'Y'" class="x_alert x_alert-info">{$lang->msg_avail_easy_update} <a href="{$val->update_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->msg_do_you_like_update}</a></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue