merge from 1.7.3.5(r13153:r13167)

git-svn-id: http://xe-core.googlecode.com/svn/trunk@13168 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2013-09-29 23:32:39 +00:00
parent cc47d2b247
commit 2d3f149b5a
2042 changed files with 129266 additions and 126243 deletions

View file

@ -7,12 +7,14 @@
* @package /modules/trash
* @version 0.1
*/
class trashAdminView extends trash {
class trashAdminView extends trash
{
/**
* Initialization
* @return void
*/
function init() {
function init()
{
// 템플릿 경로 지정 (board의 경우 tpl에 관리자용 템플릿 모아놓음)
$template_path = sprintf("%stpl/",$this->module_path);
$this->setTemplatePath($template_path);
@ -22,7 +24,9 @@ class trashAdminView extends trash {
* Trash list
* @return void
*/
function dispTrashAdminList() {
function dispTrashAdminList()
{
$args = new stdClass();
$args->page = Context::get('page'); // /< Page
$args->list_count = 30; // /< the number of posts to display on a single page
$args->page_count = 5; // /< the number of pages that appear in the page navigation
@ -42,9 +46,11 @@ class trashAdminView extends trash {
Context::set('total_page', $output->total_page);
Context::set('page', $output->page);
Context::set('page_navigation', $output->page_navigation);
debugPrint($output->data);
// 템플릿 파일 지정
$this->setTemplateFile('trash_list');
}
}
?>
/* End of file trash.admin.view.php */
/* Location: ./modules/trash/trash.admin.view.php */