mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +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>
|
<h1>{$lang->installed_addons}</h1>
|
||||||
</div>
|
</div>
|
||||||
<h2>{$addon_info->title}</h2>
|
<h2>{$addon_info->title}</h2>
|
||||||
|
|
||||||
<table class="x_table">
|
<table class="x_table">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -30,6 +31,9 @@
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</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}">
|
<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>
|
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,12 @@ $lang->cmd_shortcut_management = 'Edit Menu';
|
||||||
$lang->msg_is_not_administrator = 'Only administrator can access this page.';
|
$lang->msg_is_not_administrator = 'Only administrator can access this page.';
|
||||||
$lang->msg_manage_module_cannot_delete = 'Shortcuts of module, addon, layout, widget cannot be removed.';
|
$lang->msg_manage_module_cannot_delete = 'Shortcuts of module, addon, layout, widget cannot be removed.';
|
||||||
$lang->msg_default_act_is_null = 'Shortcut cannot be registered because the default admin Action is not set.';
|
$lang->msg_default_act_is_null = 'Shortcut cannot be registered because the default admin Action is not set.';
|
||||||
|
$lang->msg_blacklisted_plugin = 'This plugin has been disabled because it conflicts with a feature that Rhymix supports by default, or is known to have other compatibility problems.';
|
||||||
|
$lang->msg_blacklisted_module = 'This module has been disabled because it conflicts with a feature that Rhymix supports by default, or is known to have other compatibility problems.';
|
||||||
|
$lang->msg_blacklisted_addon = 'This addon has been disabled because it conflicts with a feature that Rhymix supports by default, or is known to have other compatibility problems.';
|
||||||
|
$lang->msg_blacklisted_widget = 'This widget has been disabled because it conflicts with a feature that Rhymix supports by default, or is known to have other compatibility problems.';
|
||||||
|
$lang->msg_blacklisted_layout = 'This layout has been disabled because it conflicts with a feature that Rhymix supports by default, or is known to have other compatibility problems.';
|
||||||
|
$lang->msg_warning = 'Warning';
|
||||||
$lang->welcome_to_xe = 'Welcome to the Rhymix admin page.';
|
$lang->welcome_to_xe = 'Welcome to the Rhymix admin page.';
|
||||||
$lang->about_lang_env = 'If you want to make the language setting same for first-time visitors, change the language setting to what you want and click [Save] button below.';
|
$lang->about_lang_env = 'If you want to make the language setting same for first-time visitors, change the language setting to what you want and click [Save] button below.';
|
||||||
$lang->xe_license = 'Rhymix complies with the GPL.';
|
$lang->xe_license = 'Rhymix complies with the GPL.';
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,12 @@ $lang->cmd_shortcut_management = '메뉴 편집하기';
|
||||||
$lang->msg_is_not_administrator = '관리자만 접속이 가능합니다.';
|
$lang->msg_is_not_administrator = '관리자만 접속이 가능합니다.';
|
||||||
$lang->msg_manage_module_cannot_delete = '모듈, 애드온, 레이아웃, 위젯 모듈의 바로가기는 삭제 불가능합니다.';
|
$lang->msg_manage_module_cannot_delete = '모듈, 애드온, 레이아웃, 위젯 모듈의 바로가기는 삭제 불가능합니다.';
|
||||||
$lang->msg_default_act_is_null = '기본 관리자 Action이 지정되어 있지 않아 바로가기 등록을 할 수 없습니다.';
|
$lang->msg_default_act_is_null = '기본 관리자 Action이 지정되어 있지 않아 바로가기 등록을 할 수 없습니다.';
|
||||||
|
$lang->msg_blacklisted_plugin = '이 플러그인은 Rhymix에서 기본 제공하는 기능과 충돌하거나 그 밖의 호환성 문제가 있으므로 사용이 중단되었습니다.';
|
||||||
|
$lang->msg_blacklisted_module = '이 모듈은 Rhymix에서 기본 제공하는 기능과 충돌하거나 그 밖의 호환성 문제가 있으므로 사용이 중단되었습니다.';
|
||||||
|
$lang->msg_blacklisted_addon = '이 애드온은 Rhymix에서 기본 제공하는 기능과 충돌하거나 그 밖의 호환성 문제가 있으므로 사용이 중단되었습니다.';
|
||||||
|
$lang->msg_blacklisted_widget = '이 위젯은 Rhymix에서 기본 제공하는 기능과 충돌하거나 그 밖의 호환성 문제가 있으므로 사용이 중단되었습니다.';
|
||||||
|
$lang->msg_blacklisted_layout = '이 레이아웃은 Rhymix에서 기본 제공하는 기능과 충돌하거나 그 밖의 호환성 문제가 있으므로 사용이 중단되었습니다.';
|
||||||
|
$lang->msg_warning = '경고';
|
||||||
$lang->welcome_to_xe = 'Rhymix 관리자';
|
$lang->welcome_to_xe = 'Rhymix 관리자';
|
||||||
$lang->about_lang_env = '처음 방문하는 사용자들의 언어 설정을 동일하게 하려면, 원하는 언어로 변경 후 아래 [저장] 버튼을 클릭하면 됩니다.';
|
$lang->about_lang_env = '처음 방문하는 사용자들의 언어 설정을 동일하게 하려면, 원하는 언어로 변경 후 아래 [저장] 버튼을 클릭하면 됩니다.';
|
||||||
$lang->xe_license = 'Rhymix는 GPL을 따릅니다.';
|
$lang->xe_license = 'Rhymix는 GPL을 따릅니다.';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
<include target="./_header.html" />
|
<include target="./_header.html" />
|
||||||
<div class="content" id="content">
|
<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>
|
||||||
{$content}
|
{$content}
|
||||||
</div>
|
</div>
|
||||||
<include target="./_footer.html" />
|
<include target="./_footer.html" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue