사용되지 않는 Admin모듈의 'Shortcut'기능 관련된 파일/코드 제거

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4184 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2008-05-10 03:04:19 +00:00
parent 9a1830ce67
commit 281a720a87
12 changed files with 0 additions and 177 deletions

View file

@ -12,50 +12,6 @@
function init() {
}
/**
* @brief 숏컷 추가
**/
function procAdminInsertShortCut() {
$module = Context::get('selected_module');
$output = $this->insertShortCut($module);
if(!$output->toBool()) return $output;
$this->setMessage('success_registed');
}
/**
* @brief 숏컷의 삭제
**/
function procAdminDeleteShortCut() {
$args->module = Context::get('selected_module');
// 삭제 불가능 바로가기의 처리
if(in_array($args->module, array('module','addon','widget','layout'))) return new Object(-1, 'msg_manage_module_cannot_delete');
$output = executeQuery('admin.deleteShortCut', $args);
if(!$output->toBool()) return $output;
$this->setMessage('success_deleted');
}
/**
* @brief 관리자 페이지의 단축 메뉴 추가
**/
function insertShortCut($module) {
// 선택된 모듈의 정보중에서 admin_index act를 구함
$oModuleModel = &getModel('module');
$module_info = $oModuleModel->getModuleInfoXml($module);
$args->module = $module;
$args->title = $module_info->title;
$args->default_act = $module_info->admin_index_act;
if(!$args->default_act) return new Object(-1, 'msg_default_act_is_null');
$output = executeQuery('admin.insertShortCut', $args);
return $output;
}
/**
* @brief 모든 캐시 파일 재생성
**/