중복된 조건문 삭제 하고 코드 깔끔하게 정리

This commit is contained in:
Johnny 2022-03-25 12:08:06 +09:00
parent 961f5f04bd
commit 05c389a3ef

View file

@ -13,13 +13,7 @@
<!--@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">
{$lang->get('ncenterlite_type_' . $notify_type)}
</label>
<!--@else-->
<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>