mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
에디터 서식 지정시 댓글 서식을 별도로 지정할 수 있도록 수정
하지만 본문 출력시에는 문서 서식 css만 load 가능 함 (입력폼을 위한 서식 분리로 보는 것이 맞음) git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7013 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2809771145
commit
4ea14b7ea4
3 changed files with 12 additions and 2 deletions
|
|
@ -81,6 +81,7 @@
|
|||
$editor_config->editor_skin = Context::get('editor_skin');
|
||||
$editor_config->comment_editor_skin = Context::get('comment_editor_skin');
|
||||
$editor_config->content_style = Context::get('content_style');
|
||||
$editor_config->comment_content_style = Context::get('comment_content_style');
|
||||
$editor_config->content_font = Context::get('content_font');
|
||||
if($editor_config->content_font) {
|
||||
$font_list = array();
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@
|
|||
$config->enable_autosave = $editor_config->enable_autosave;
|
||||
} else {
|
||||
$config->editor_skin = $editor_config->comment_editor_skin;
|
||||
$config->content_style = $editor_config->content_style;
|
||||
$config->content_style = $editor_config->comment_content_style;
|
||||
$config->content_font = $editor_config->content_font;
|
||||
$config->content_font_size = $editor_config->content_font_size;
|
||||
$config->sel_editor_colorset = $editor_config->sel_comment_editor_colorset;
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
<option value="{$editor}" <!--@if($editor==$editor_config->editor_skin)-->selected="selected"<!--@end-->>{$editor}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<br/>
|
||||
<select name="sel_editor_colorset" id="sel_editor_colorset"<!--@if(!count($editor_colorset_list))--> style="display:none"<!--@end-->>
|
||||
<!--@foreach($editor_colorset_list as $key => $val)-->
|
||||
<option value="{$val->name}" <!--@if($editor_config->sel_editor_colorset == $val->name)-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
|
|
@ -36,6 +37,7 @@
|
|||
<option value="{$editor}" <!--@if($editor==$editor_config->comment_editor_skin)-->selected="selected"<!--@end-->>{$editor}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<br/>
|
||||
<select name="sel_comment_editor_colorset" id="sel_comment_editor_colorset"<!--@if(!count($editor_comment_colorset_list))--> style="display:none"<!--@end-->>
|
||||
<!--@foreach($editor_comment_colorset_list as $key => $val)-->
|
||||
<option value="{$val->name}" <!--@if($editor_config->sel_comment_editor_colorset == $val->name)-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
|
|
@ -48,13 +50,20 @@
|
|||
<td colspan="2"><p>{$lang->about_content_style}</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<td>
|
||||
<select name="content_style">
|
||||
<!--@foreach($content_style_list as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($key==$editor_config->content_style)-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<select name="comment_content_style">
|
||||
<!--@foreach($content_style_list as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($key==$editor_config->comment_content_style)-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2"><div>{$lang->content_font}</div></th>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue