모듈별로 트리거를 활용하여 각각 언어를 설정할 수 있도록 한다.

This commit is contained in:
Johnny 2022-03-24 23:47:45 +09:00
parent eae941b9b8
commit af33d7b84f

View file

@ -10,12 +10,16 @@
<section class="section">
<div class="x_control-group">
<!--@foreach($notify_types as $notify_type => $notify_srl)-->
<!--@if($notify_srl > 0 && lang('ncenterlite_type_' . $notify_type) === 'ncenterlite_type_' . $notify_type)-->
<label class="x_control-label">{$notify_type} {$lang->ncenterlite_notify}</label>
<!--@else-->
<!--@if($notify_srl > 0)-->
<label class="x_control-label">
{$notify_type} {$lang->ncenterlite_notify}
{$lang->get('ncenterlite_type_' . $notify_type)}
</label>
<!--@else-->
<label class="x_control-label">{$lang->get('ncenterlite_type_' . $notify_type)}</label>
<label class="x_control-label">{$lang->get('ncenterlite_type_' . $notify_type)}</label>
<!--@end-->
<!--@end-->
<div class="x_controls">
<label class="x_inline"><input type="checkbox" name="use[{$notify_type}][web]" value="1" checked="checked"|cond="isset($config->use[$notify_type]['web'])" /> {$lang->cmd_web_notify}</label>