mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1143 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
da8661872b
commit
2efc96a061
5 changed files with 17 additions and 6 deletions
|
|
@ -72,6 +72,13 @@
|
|||
$document->uploaded_list = $file_list;
|
||||
}
|
||||
|
||||
// 태그 정리
|
||||
if($document->tags) {
|
||||
$tag_list = explode(',',$document->tags);
|
||||
$tag_count = count($tag_list);
|
||||
for($i=0;$i<$tag_count;$i++) if(trim($tag_list[$i])) $document->tag_list[] = trim($tag_list[$i]);
|
||||
}
|
||||
|
||||
$document->content = sprintf('<!--BeforeDocument(%d,%d)-->%s<!--AfterDocument(%d,%d)-->', $document_srl, $document->member_srl, $document->content, $document_srl, $document->member_srl);
|
||||
|
||||
return $document;
|
||||
|
|
@ -181,7 +188,7 @@
|
|||
if($search_keyword=='Y') $args->s_is_secret = 'Y';
|
||||
else $args->s_is_secret = '';
|
||||
break;
|
||||
case 'tags' :
|
||||
case 'tag' :
|
||||
if($search_keyword) $search_keyword = str_replace(' ','%',$search_keyword);
|
||||
$args->s_tags = $search_keyword;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue