mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
#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:
parent
d80524158c
commit
cd8dfe8956
6 changed files with 13 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue