diff --git a/modules/document/document.controller.php b/modules/document/document.controller.php index 9f78771a3..56012a96e 100644 --- a/modules/document/document.controller.php +++ b/modules/document/document.controller.php @@ -39,7 +39,9 @@ class documentController extends document if($document_config->use_vote_up=='N') return new Object(-1, 'msg_invalid_request'); $point = 1; - return $this->updateVotedCount($document_srl, $point); + $output = $this->updateVotedCount($document_srl, $point); + $this->add('voted_count', $output->get('voted_count')); + return $output; } /** @@ -82,7 +84,9 @@ class documentController extends document if($document_config->use_vote_down=='N') return new Object(-1, 'msg_invalid_request'); $point = -1; - return $this->updateVotedCount($document_srl, $point); + $output = $this->updateVotedCount($document_srl, $point); + $this->add('blamed_count', $output->get('blamed_count')); + return $output; } /** diff --git a/modules/trash/tpl/trash_list.html b/modules/trash/tpl/trash_list.html index 64393fdb1..f69476fb9 100644 --- a/modules/trash/tpl/trash_list.html +++ b/modules/trash/tpl/trash_list.html @@ -29,6 +29,7 @@ var no_text_comment = '{$lang->no_text_comment}'; {$lang->document} + {$lang->nick_name} {$lang->origin_module_type} {$lang->trash_nick_name} {$lang->trash_date} @@ -48,6 +49,7 @@ var no_text_comment = '{$lang->no_text_comment}'; {$oTrashVO->getTitle()} + {$oTrashVO->unserializedObject['nick_name']} {$lang->document}{$lang->comment} {$oTrashVO->getNickName()} {zdate($oTrashVO->getRegdate(), "Y-m-d H:i:s")}