smartphone 애드온에서 문서번호로 링크될경우 내용이 안 나오는 문제 수정 및 플래닛 스마트 모듈에서 내용 출력부분 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6306 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-05-08 02:40:54 +00:00
parent c1dee8afa0
commit d524c052d4
4 changed files with 11 additions and 10 deletions

View file

@ -53,9 +53,9 @@
return $this->getExtraValue(20);
}
function getContent() {
function getContent($add_popup_menu = false, $add_content_info = true, $resource_realpath = false, $add_xe_content_class = true) {
if(!$this->document_srl) return;
return parent::getContent(false,true);
return parent::getContent($add_popup_menu, $add_content_info, $resource_realpath, $add_xe_content_class);
}
function getArrTags() {

View file

@ -3,11 +3,12 @@
<!--@foreach($content_list as $no => $item)-->
<li class="item noArrow">
<a href="{getUrl('','mid',$item->getPlanetMid(),'smartphone','true')}"><img src="{$item->getPlanetPhotoSrc(40,40)}" width="40" height="40" alt="" align="left" class="thumbnail"/></a>
<span class="title">
{$item->getContent(false)}
ps. {htmlspecialchars($item->getPostScript())}</p>
<a href="{getUrl('','mid',$item->getPlanetMid(),'smartphone','true')}">
<img src="{$item->getPlanetPhotoSrc(40,40)}" width="40" height="40" alt="" align="left" class="thumbnail"/>
{preg_replace('/<([^>]+)>/is','',$item->getContent(false,false,false,false))}
<!--@if($item->getPostScript())--><br/>ps. {htmlspecialchars($item->getPostScript())}</p><!--@end-->
</a>
</span>
<span class="info">
{$item->get('regdate')}