From 6e9c022dc775646f8ae589312d0067cf68f3062a Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 7 Jan 2008 07:46:03 +0000 Subject: [PATCH] =?UTF-8?q?#166=20rss=20=EB=AA=A8=EB=93=88=EC=9D=98=20?= =?UTF-8?q?=EB=85=B8=EC=B6=9C=20=EC=88=9C=EC=84=9C=EB=A5=BC=20=EC=B5=9C?= =?UTF-8?q?=EC=8B=A0=EC=88=9C=EC=9C=BC=EB=A1=9C=20=ED=95=98=EA=B3=A0=2015?= =?UTF-8?q?=EA=B0=9C=EB=A1=9C=20=EC=A0=9C=ED=95=9C=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3480 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/rss/rss.view.php | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/modules/rss/rss.view.php b/modules/rss/rss.view.php index 65f670bff..fca159005 100644 --- a/modules/rss/rss.view.php +++ b/modules/rss/rss.view.php @@ -25,18 +25,6 @@ **/ $mid = Context::get('mid'); ///< 대상 모듈 id, 없으면 전체로 - $page = (int)Context::get('page'); ///< 페이지, 없으면 1 - if(!$page) $page = 1; - - $list_count = (int)Context::get('list_count'); ///< 목록 갯수, 기본 10, 최고 100개 - if(!$list_count|| $list_count>100) $list_count = 10; - - $start_date = Context::get('start_date'); ///< 시작 일자, 없으면 무시 - if(strlen($start_date)!=14 || !ereg("^([0-9]){14}$", $start_date) ) unset($start_date); - - $end_date = Context::get('end_date'); ///< 종료 일자, 없으면 무시 - if(strlen($end_date)!=14 || !ereg("^([0-9]){14}$", $end_date) ) unset($end_date); - // rss module config를 가져옴 $oModuleModel = &getModel('module'); $rss_config = $oModuleModel->getModuleConfig('rss'); @@ -102,13 +90,12 @@ * 출력할 컨텐츠 추출을 위한 인자 정리 **/ $args->module_srl = $module_srl; - $args->page = $page; - $args->list_count = $list_count; - $args->page_count = 10; + $args->page = 1; + $args->list_count = 15; if($start_date) $args->start_date = $start_date; if($end_date) $args->end_date = $end_date; - $args->sort_index = 'update_order'; + $args->sort_index = 'list_order'; $args->order_type = 'asc'; // 대상 문서들을 가져옴