english comments added

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0_english@8278 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
mosmartin 2011-04-06 16:48:06 +00:00
parent 693e215bc1
commit 4d272994dd
219 changed files with 6407 additions and 8705 deletions

View file

@ -2,9 +2,9 @@
/**
* @class integration_searchView
* @author NHN (developers@xpressengine.com)
* @brief integration_search moduleview class
* @brief view class of the integration_search module
*
* 통합검색 출력
* Search Output
*
**/
@ -14,19 +14,18 @@
var $skin = 'default';
/**
* @brief 초기화
* @brief Initialization
**/
function init() {
}
/**
* @brief 통합 검색 출력
* @brief Search Result
**/
function IS() {
$oFile = &getClass('file');
$oModuleModel = &getModel('module');
// 권한 체크
// Check permissions
if(!$this->grant->access) return new Object(-1,'msg_not_permitted');
$config = $oModuleModel->getModuleConfig('integration_search');
@ -37,18 +36,14 @@
$target = $config->target;
if(!$target) $target = 'include';
$module_srl_list = explode(',',$config->target_module_srl);
// 검색어 변수 설정
// Set a variable for search keyword
$is_keyword = Context::get('is_keyword');
// 페이지 변수 설정
// Set page variables
$page = (int)Context::get('page');
if(!$page) $page = 1;
// 검색탭에 따른 검색
// Search by search tab
$where = Context::get('where');
// integration search model객체 생성
// Create integration search model object
if($is_keyword) {
$oIS = &getModel('integration_search');
switch($where) {