mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1243 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
61aa6c309f
commit
c3f7830e36
7 changed files with 16 additions and 13 deletions
|
|
@ -49,7 +49,7 @@
|
|||
* @brief 특정 카테고리의 정보를 이용하여 템플릿을 구한후 return
|
||||
* 관리자 페이지에서 특정 메뉴의 정보를 추가하기 위해 서버에서 tpl을 컴파일 한후 컴파일 된 html을 직접 return
|
||||
**/
|
||||
function getCategoryAdminTplInfo() {
|
||||
function getBlogAdminCategoryTplInfo() {
|
||||
// 해당 메뉴의 정보를 가져오기 위한 변수 설정
|
||||
$category_srl = Context::get('category_srl');
|
||||
$parent_srl = Context::get('parent_srl');
|
||||
|
|
|
|||
|
|
@ -47,6 +47,8 @@
|
|||
<action name="procBlogUploadFile" type="controller" />
|
||||
<action name="procBlogDownloadFile" type="controller" />
|
||||
|
||||
<action name="getBlogAdminCategoryTplInfo" type="model" standalone="true" />
|
||||
|
||||
<action name="dispBlogAdminContent" type="view" standalone="true" admin_index="true" />
|
||||
<action name="dispBlogAdminBlogInfo" type="view" standalone="true" />
|
||||
<action name="dispBlogAdminInsertBlog" type="view" standalone="true" />
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
|
||||
$lang->about_category_name = '카테고리 이름을 입력해주세요';
|
||||
$lang->about_expand = '선택하시면 늘 펼쳐진 상태로 있게 합니다';
|
||||
$lang->category_group_srls = '선택하신 그룹만 현재 카테고리가 보이게 됩니다. (xml파일을 직접 열람하면 노출이 됩니다)';
|
||||
$lang->about_category_group_srls = '선택하신 그룹만 현재 카테고리가 보이게 됩니다. (xml파일을 직접 열람하면 노출이 됩니다)';
|
||||
|
||||
$lang->msg_new_module = '모듈 생성';
|
||||
$lang->msg_update_module = '모듈 수정';
|
||||
|
|
|
|||
|
|
@ -27,10 +27,10 @@
|
|||
<input type="checkbox" id="category_enable_move" /> <label for="category_enable_move">{$lang->cmd_enable_move_category}</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="button" value="{$lang->cmd_insert}" onclick="doInsertMenuItem(0);return false;" />
|
||||
<input type="button" value="{$lang->cmd_insert}" onclick="doInsertCategory(0);return false;" />
|
||||
<input type="button" value="{$lang->cmd_open_all}" onclick="openAllTreeMenu('category');return false;" />
|
||||
<input type="button" value="{$lang->cmd_close_all}" onclick="closeAllTreeMenu('category');return false;" />
|
||||
<input type="button" value="{$lang->cmd_remake_cache}" onclick="doReloadTreeMenu('{$category_info->category_srl}');return false;" />
|
||||
<input type="button" value="{$lang->cmd_remake_cache}" onclick="doReloadTreeCategory('{$category_info->category_srl}');return false;" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
|
|
@ -42,6 +42,6 @@
|
|||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
loadTreeMenu("{$category_info->xml_file}", "category", "category_zone_category", "{$lang->category}", doGetMenuItemInfo, 0, doMoveTree);
|
||||
loadTreeMenu("{$category_info->xml_file}", "category", "category_zone_category", "{$lang->category}", doGetCategoryInfo, 0, doMoveTree);
|
||||
</script>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
$oModuleController->insertActionForward('menu', 'view', 'dispMenuAdminInsert');
|
||||
$oModuleController->insertActionForward('menu', 'view', 'dispMenuAdminManagement');
|
||||
|
||||
// 레이아웃에서 사용할 디렉토리 생성
|
||||
// 메뉴 사용할 디렉토리 생성
|
||||
FileHandler::makeDir('./files/cache/menu');
|
||||
|
||||
return new Object();
|
||||
|
|
|
|||
|
|
@ -65,8 +65,7 @@
|
|||
// 메뉴의 정보를 가져옴
|
||||
$oMenuModel = &getModel('menu');
|
||||
$menu_info = $oMenuModel->getMenu($menu_srl);
|
||||
if($menu_info->menu_srl == $menu_srl) Context::set('menu_info', $menu_info);
|
||||
else return $this->dispMenuAdminContent();
|
||||
if($menu_info->menu_srl != $menu_srl) return $this->dispMenuAdminContent();
|
||||
|
||||
Context::set('menu_info', $menu_info);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue