댓글 링크 문제 수정/ 휴대전화에서도 문단을 구분하기 쉽도록 첫줄 들여쓰기 함.

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6354 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-05-22 06:23:06 +00:00
parent a67bc73eb3
commit 9b13392e59
2 changed files with 18 additions and 10 deletions

View file

@ -54,12 +54,12 @@
} else {
// 내용 지정 (태그를 모두 제거한 내용을 설정)
$content = strip_tags($oDocument->getContent(false,false,false));
$content = strip_tags(str_replace('<p>','<br>&nbsp;&nbsp;&nbsp;',$oDocument->getContent(false,false,false)),'<br><b><i><u><em><small><strong><big>');
// 내용 상단에 정보 출력 (댓글 보기 링크 포함)
$content = Context::getLang('replies').' : <a href="'.getUrl('act','dispBoardContentCommentList').'">'.$oDocument->getCommentCount().'</a><br>'."\r\n".$content;
$content = '<b>'.$oDocument->getNickName()."</b> (".$oDocument->getRegdate("Y-m-d").")<br>\r\n".$content;
$content = '<b>'.$oDocument->getNickName().'</b> ('.$oDocument->getRegdate("Y-m-d").")<br>\r\n".$content;
// 내용 설정
$oMobile->setContent( $content );
@ -90,7 +90,7 @@
$obj = null;
$obj['href'] = $val->getPermanentUrl();
$title = $val->getTitleText();
$title = htmlspecialchars($val->getTitleText());
if($val->getCommentCount()) $title .= ' ['.$val->getCommentCount().']';
$obj['link'] = $obj['text'] = '['.$val->getNickName().'] '.$title;
$childs[] = $obj;