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@850 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0db210776f
commit
0e433dc6a9
21 changed files with 29 additions and 30 deletions
|
|
@ -8,6 +8,7 @@
|
|||
<action name="dispPageAdminInfo" type="view" standalone="true" />
|
||||
<action name="dispPageAdminInsert" type="view" standalone="true" />
|
||||
<action name="dispPageAdminDelete" type="view" standalone="true" />
|
||||
|
||||
<action name="procPageAdminInsert" type="controller" standalone="true" />
|
||||
<action name="procPageAdminDelete" type="controller" standalone="true" />
|
||||
<action name="procPageAdminInsertConfig" type="controller" standalone="true" />
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
**/
|
||||
function init() {
|
||||
// template path 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl.admin');
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -33,8 +33,8 @@
|
|||
$module_category = $oModuleModel->getModuleCategories();
|
||||
Context::set('module_category', $module_category);
|
||||
|
||||
// 템플릿 경로 구함 (page의 경우 tpl.admin에 관리자용 템플릿 모아놓음)
|
||||
$this->setTemplatePath($this->module_path.'tpl.admin');
|
||||
// 템플릿 경로 구함 (page의 경우 tpl에 관리자용 템플릿 모아놓음)
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
Context::set('module_info', $this->module_info);
|
||||
Context::set('page_content', $this->module_info->content);
|
||||
|
||||
$this->setTemplatePath($this->module_path.'tpl.admin');
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('content');
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<column name="*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="module" default="pagemaker" />
|
||||
<condition operation="equal" column="module" default="page" />
|
||||
<group pipe="and">
|
||||
<condition operation="like" column="mid" var="s_mid" pipe="or" />
|
||||
<condition operation="like" column="title" var="s_title" pipe="or" />
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<filter name="delete_page" module="pagemaker" act="procPageAdminDelete">
|
||||
<filter name="delete_page" module="page" act="procPageAdminDelete">
|
||||
<form>
|
||||
<node target="module_srl" required="true" />
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<filter name="insert_config" module="pagemaker" act="procPageAdminInsertConfig" confirm_msg_code="confirm_submit">
|
||||
<filter name="insert_config" module="page" act="procPageAdminInsertConfig" confirm_msg_code="confirm_submit">
|
||||
<form />
|
||||
<response>
|
||||
<tag name="error" />
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<filter name="insert_page" module="pagemaker" act="procPageAdminInsert" confirm_msg_code="confirm_submit">
|
||||
<filter name="insert_page" module="page" act="procPageAdminInsert" confirm_msg_code="confirm_submit">
|
||||
<form>
|
||||
<node target="mid" required="true" filter="alpha_number" />
|
||||
<node target="browser_title" required="true" maxlength="250" />
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* @file : modules/pagemaker/js/admin.js
|
||||
* @author : zero <zero@nzeo.com>
|
||||
* @desc : pagemaker 모듈의 관리자용 javascript
|
||||
* @file modules/page/js/admin.js
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @desc page모듈의 관리자용 javascript
|
||||
**/
|
||||
|
||||
/* 모듈 생성 후 */
|
||||
|
|
@ -14,7 +14,7 @@ function completeInsertPage(ret_obj) {
|
|||
|
||||
alert(message);
|
||||
|
||||
var url = "./?module=admin&mo=pagemaker&module_srl="+module_srl+"&act=dispAdminPageInfo";
|
||||
var url = "./?module=admin&module_srl="+module_srl+"&act=dispPageAdminInfo";
|
||||
if(page) url += "&page="+page;
|
||||
|
||||
location.href = url;
|
||||
|
|
@ -28,7 +28,7 @@ function completeDeletePage(ret_obj) {
|
|||
var page = ret_obj['page'];
|
||||
alert(message);
|
||||
|
||||
var url = "./?module=admin&mo=pagemaker&act=dispAdminContent";
|
||||
var url = "./?module=admin&act=dispPageAdminContent";
|
||||
if(page) url += "&page="+page;
|
||||
|
||||
location.href = url;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
</div>
|
||||
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, insert_page)" enctype="multipart/form-data">
|
||||
<input type="hidden" name="module" value="pagemaker" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="module_srl" value="{$module_srl}" />
|
||||
<input type="hidden" name="content" value="{htmlspecialchars($module_info->content)}" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue