#216 제로보드XE 기본 스킨의 댓글 부분에 p 태그가 display:inline으로 처리되는 것을 댓글의 내용에서 block으로 되게 하여 줄 바꿈이 제대로 되도록 변경. 더블어 댓글에서 ul/ol 태그가 제대로 나오도록 css 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2726 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-10-10 07:44:34 +00:00
parent d80524158c
commit cd8dfe8956
6 changed files with 13 additions and 4 deletions

View file

@ -211,6 +211,7 @@ ul.replyZone .replyOption { float:right; white-space:nowrap; margin-left:.2em;}
ul.replyZone .replyOption img { vertical-align:middle;}
ul.replyZone .replyContent { clear:left; }
ul.replyZone .replyContent p { display:block; }
ul.replyZone .reply { background-color:#FAFAFA;}
ul.replyZone .replyIndent { background:url(../images/common/iconReplyArrow.gif) no-repeat .0em .3em; padding-left:1.3em;}
@ -226,6 +227,7 @@ ul.replyZone .replyIndent { background:url(../images/common/iconReplyArrow.gif)
#reply .replyOption img { vertical-align:middle;}
#reply .replyContent { clear:left; }
#reply .replyContent p { display:block; }
#reply .reply { background-color:#FAFAFA;}
#reply .replyIndent { background:url(../images/common/iconReplyArrow.gif) no-repeat .0em .3em; padding-left:1.3em;}

View file

@ -189,7 +189,7 @@ Jeong, Chan Myeong 070601~070630
#trackbacks address .date { font:.8em Tahoma; color:#cccccc; float:right;}
#reply { padding:.6em .6em; color:#666666; border:1px solid #e0e1db; margin-top:.5em;}
#reply li { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; list-style:none;}
#reply li { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; }
#reply p { display:inline; margin-bottom:1em;}
#reply .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin:0 .3em .5em 0;}
#reply .author a { color:#3074a5; margin-right:.3em; text-decoration:none; }
@ -199,6 +199,8 @@ Jeong, Chan Myeong 070601~070630
#reply .replyOption img { vertical-align:middle;}
#reply .replyContent { clear:left; }
#reply .replyContent p { display:block; }
#reply .replyContent li { padding:0; border:none; line-height:1.25em; }
#reply .reply { background-color:#FAFAFA;}
#reply .replyIndent { background:url(../images/common/iconReplyArrow.gif) no-repeat .0em .3em; padding-left:1.3em;}

View file

@ -38,7 +38,7 @@
</div>
<div class="replyContent">
{$val->content}
{$val->content}
</div>
<!--@if($val->uploaded_count && $val->uploaded_list)-->

View file

@ -189,7 +189,7 @@ Jeong, Chan Myeong 070601~070630
#trackbacks address .date { font:.8em Tahoma; color:#cccccc; float:right;}
#reply { padding:.6em .6em; color:#666666; border:1px solid #e0e1db; margin-top:.5em;}
#reply li { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; list-style:none;}
#reply li { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; }
#reply p { display:inline; margin-bottom:1em;}
#reply .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin:0 .3em .5em 0;}
#reply .author a { color:#3074a5; margin-right:.3em; text-decoration:none; }
@ -199,6 +199,8 @@ Jeong, Chan Myeong 070601~070630
#reply .replyOption img { vertical-align:middle;}
#reply .replyContent { clear:left; }
#reply .replyContent p { display:block; }
#reply .replyContent li { padding:0; border:none; line-height:1.25em; }
#reply .reply { background-color:#FAFAFA;}
#reply .replyIndent { background:url(../images/common/iconReplyArrow.gif) no-repeat .0em .3em; padding-left:1.3em;}

View file

@ -196,7 +196,7 @@ Jeong, Chan Myeong 070601~070630
#trackbacks address .date { font:.8em Tahoma; color:#cccccc; float:right;}
#reply { padding:.6em .6em; color:#666666; border:1px solid #e0e1db; margin-top:.5em;}
#reply li { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; list-style:none;}
#reply li { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; }
#reply p { display:inline; margin-bottom:1em;}
#reply .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin:0 .3em .5em 0;}
#reply .author a { color:#3074a5; margin-right:.3em; text-decoration:none; }
@ -206,6 +206,8 @@ Jeong, Chan Myeong 070601~070630
#reply .replyOption img { vertical-align:middle;}
#reply .replyContent { clear:left; }
#reply .replyContent p { display:block; }
#reply .replyContent li { padding:0; border:none; line-height:1.25em; }
#reply .reply { background-color:#FAFAFA;}
#reply .replyIndent { background:url(../images/common/iconReplyArrow.gif) no-repeat .0em .3em; padding-left:1.3em;}

View file

@ -125,6 +125,7 @@
$comment_srl = $source_list[$i]->comment_srl;
$parent_srl = $source_list[$i]->parent_srl;
$member_srl = $source_list[$i]->member_srl;
$source_list[$i]->content = preg_replace('!<(ol|ul|blockquote)>!is','<\\1 style="margin-left:40px;">',$source_list[$i]->content);
if(!$comment_srl) continue;
if($is_admin || $this->isGranted($comment_srl) || $member_srl == $logged_info->member_srl) $source_list[$i]->is_granted = true;