게시판 모듈에 최신순/업데이트 순 순서를 정할 수 있도록 기능 추가하고 xe시리즈의 스킨에 반영

git-svn-id: http://xe-core.googlecode.com/svn/trunk@1924 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-13 04:26:06 +00:00
parent 2759bf5363
commit 89d40258bd
8 changed files with 48 additions and 4 deletions

View file

@ -378,10 +378,12 @@
/**
* @brief 해당 document의 댓글 증가
**/
function updateCommentCount($document_srl, $comment_count) {
function updateCommentCount($document_srl, $comment_count, $comment_inserted = false) {
$args->document_srl = $document_srl;
$args->comment_count = $comment_count;
if($comment_inserted) $args->update_order = -1*getNextSequence();
return executeQuery('document.updateCommentCount', $args);
}