Fix content style radio buttons

This commit is contained in:
Kijin Sung 2017-12-09 03:18:18 +09:00
parent a8a3c3ef0f
commit 1a234070ca

View file

@ -77,7 +77,7 @@
<div class="x_controls"> <div class="x_controls">
<!--@foreach($content_style_list as $key => $val)--> <!--@foreach($content_style_list as $key => $val)-->
<label class="x_inline"> <label class="x_inline">
<input type="radio" name="content_style" value="{$key}" id="style_{$key}" checked="checked"|cond="$key==$editor_config->content_style||!$editor_config->content_style && $key=='ckeditor_light'"> {$val->title} <input type="radio" name="content_style" value="{$key}" id="content_style_{$key}" checked="checked"|cond="$key==$editor_config->content_style||!$editor_config->content_style && $key=='ckeditor_light'"> {$val->title}
</label> </label>
<!--@end--> <!--@end-->
</div> </div>
@ -129,7 +129,7 @@
<div class="x_controls"> <div class="x_controls">
<!--@foreach($content_style_list as $key => $val)--> <!--@foreach($content_style_list as $key => $val)-->
<label class="x_inline"> <label class="x_inline">
<input type="radio" name="comment_content_style" value="{$key}" id="style_{$key}" checked="checked"|cond="$key==$editor_config->comment_content_style||!$editor_config->comment_content_style && $key=='ckeditor_light'"> {$val->title} <input type="radio" name="comment_content_style" value="{$key}" id="comment_content_style_{$key}" checked="checked"|cond="$key==$editor_config->comment_content_style||!$editor_config->comment_content_style && $key=='ckeditor_light'"> {$val->title}
</label> </label>
<!--@end--> <!--@end-->
</div> </div>