mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 21:29:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1291 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5cd542b8da
commit
9fac285610
2 changed files with 9 additions and 2 deletions
|
|
@ -68,7 +68,14 @@
|
|||
|
||||
$item->author = $item->user_name;
|
||||
$item->link = sprintf("%s?document_srl=%d", Context::getRequestUri(), $item->document_srl);
|
||||
$item->description = $item->content;
|
||||
|
||||
// 전문 공개일 경우
|
||||
if($module_info->open_rss=='Y') {
|
||||
$item->description = $item->content;
|
||||
// 요약 공개일 경우
|
||||
} else {
|
||||
$item->description = cut_str(strip_tags($item->content),100,'...');
|
||||
}
|
||||
$item->date = gmdate("D, d M Y H:i:s", $time);
|
||||
$content[$idx++] = $item;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue