git-svn-id: http://xe-core.googlecode.com/svn/trunk@850 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-01 02:49:55 +00:00
parent 0db210776f
commit 0e433dc6a9
21 changed files with 29 additions and 30 deletions

View file

@ -56,7 +56,7 @@
Context::set('module_list', $module_list); Context::set('module_list', $module_list);
// 템플릿 지정 // 템플릿 지정
$this->setTemplatePath($this->module_path.'tpl.admin'); $this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('comment_list'); $this->setTemplateFile('comment_list');
} }

View file

@ -67,7 +67,7 @@
// 템플릿 지정 // 템플릿 지정
$this->setTemplatePath($this->module_path.'tpl.admin'); $this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('document_list'); $this->setTemplateFile('document_list');
} }

View file

@ -53,7 +53,6 @@
<div> <div>
<form action="./" method="get"> <form action="./" method="get">
<input type="hidden" name="module" value="{$module}" /> <input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="mo" value="{$mo}" />
<input type="hidden" name="act" value="{$act}" /> <input type="hidden" name="act" value="{$act}" />
<div> <div>
@ -65,7 +64,7 @@
</select> </select>
<input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" /> <input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" />
<input type="submit" value="{$lang->cmd_search}" /> <input type="submit" value="{$lang->cmd_search}" />
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('','module',$module,'mo',$mo,'act',$act)}'"/> <input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('','module',$module,'act',$act)}'"/>
</div> </div>
</form> </form>
</div> </div>

View file

@ -1,4 +1,4 @@
<filter name="delete_checked" module="file" act="procEditorAdminDeleteChecked" confirm_msg_code="confirm_delete"> <filter name="delete_checked" module="file" act="procFileAdminDeleteChecked" confirm_msg_code="confirm_delete">
<form> <form>
<node target="cart" required="true" /> <node target="cart" required="true" />
</form> </form>

View file

@ -11,7 +11,7 @@
* @brief 초기화 * @brief 초기화
**/ **/
function init() { function init() {
$this->setTemplatePath($this->module_path.'tpl.admin'); $this->setTemplatePath($this->module_path.'tpl');
} }
/** /**

View file

@ -330,7 +330,7 @@
/** /**
* @brief 회원 가입폼 추가 확장 목록 가져오기 * @brief 회원 가입폼 추가 확장 목록 가져오기
* *
* 메소드는 modules/member/tpl.admin/filter/insert.xml extend_filter로 동작을 한다. * 메소드는 modules/member/tpl/filter/insert.xml extend_filter로 동작을 한다.
* extend_filter로 사용을 하기 위해서는 인자값으로 boolean값을 받도록 규정한다. * extend_filter로 사용을 하기 위해서는 인자값으로 boolean값을 받도록 규정한다.
* 인자값이 true일 경우 filter 타입에 맞는 형태의 object로 결과를 return하여야 한다. * 인자값이 true일 경우 filter 타입에 맞는 형태의 object로 결과를 return하여야 한다.
**/ **/

View file

@ -39,7 +39,7 @@
Context::set('group_list', $this->group_list); Context::set('group_list', $this->group_list);
// template path 지정 // template path 지정
$this->setTemplatePath($this->module_path.'tpl.admin'); $this->setTemplatePath($this->module_path.'tpl');
} }
/** /**

View file

@ -1,5 +1,5 @@
<!--%import("filter/insert.xml")--> <!--%import("filter/insert.xml")-->
<!--%import("../../tpl.admin/js/admin.js")--> <!--%import("../../tpl/js/admin.js")-->
<!--%import("js/member.js")--> <!--%import("js/member.js")-->
<div> <div>

View file

@ -41,7 +41,7 @@
Context::set('skin_list', $skin_list); Context::set('skin_list', $skin_list);
// 템플릿 파일 지정 // 템플릿 파일 지정
$this->setTemplatePath($this->module_path.'tpl.admin/'); $this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('config'); $this->setTemplateFile('config');
} }

View file

@ -6,8 +6,8 @@
<th rowspan="2">{$lang->skin}</th> <th rowspan="2">{$lang->skin}</th>
<td> <td>
<select name="skin"> <select name="skin">
<!--@foreach($skin_list as $val)--> <!--@foreach($skin_list as $key => $val)-->
<option value="{$val}" <!--@if($val==$config->skin)-->selected="true"<!--@end-->>{$val}</option> <option value="{$key}" <!--@if($key==$config->skin)-->selected="true"<!--@end-->>{$val->title}</option>
<!--@end--> <!--@end-->
</select> </select>
</td> </td>

View file

@ -8,6 +8,7 @@
<action name="dispPageAdminInfo" type="view" standalone="true" /> <action name="dispPageAdminInfo" type="view" standalone="true" />
<action name="dispPageAdminInsert" type="view" standalone="true" /> <action name="dispPageAdminInsert" type="view" standalone="true" />
<action name="dispPageAdminDelete" type="view" standalone="true" /> <action name="dispPageAdminDelete" type="view" standalone="true" />
<action name="procPageAdminInsert" type="controller" standalone="true" /> <action name="procPageAdminInsert" type="controller" standalone="true" />
<action name="procPageAdminDelete" type="controller" standalone="true" /> <action name="procPageAdminDelete" type="controller" standalone="true" />
<action name="procPageAdminInsertConfig" type="controller" standalone="true" /> <action name="procPageAdminInsertConfig" type="controller" standalone="true" />

View file

@ -16,7 +16,7 @@
**/ **/
function init() { function init() {
// template path 지정 // template path 지정
$this->setTemplatePath($this->module_path.'tpl.admin'); $this->setTemplatePath($this->module_path.'tpl');
} }
/** /**
@ -33,8 +33,8 @@
$module_category = $oModuleModel->getModuleCategories(); $module_category = $oModuleModel->getModuleCategories();
Context::set('module_category', $module_category); Context::set('module_category', $module_category);
// 템플릿 경로 구함 (page의 경우 tpl.admin에 관리자용 템플릿 모아놓음) // 템플릿 경로 구함 (page의 경우 tpl에 관리자용 템플릿 모아놓음)
$this->setTemplatePath($this->module_path.'tpl.admin'); $this->setTemplatePath($this->module_path.'tpl');
} }
/** /**
@ -47,7 +47,7 @@
Context::set('module_info', $this->module_info); Context::set('module_info', $this->module_info);
Context::set('page_content', $this->module_info->content); Context::set('page_content', $this->module_info->content);
$this->setTemplatePath($this->module_path.'tpl.admin'); $this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('content'); $this->setTemplateFile('content');
} }

View file

@ -6,7 +6,7 @@
<column name="*" /> <column name="*" />
</columns> </columns>
<conditions> <conditions>
<condition operation="equal" column="module" default="pagemaker" /> <condition operation="equal" column="module" default="page" />
<group pipe="and"> <group pipe="and">
<condition operation="like" column="mid" var="s_mid" pipe="or" /> <condition operation="like" column="mid" var="s_mid" pipe="or" />
<condition operation="like" column="title" var="s_title" pipe="or" /> <condition operation="like" column="title" var="s_title" pipe="or" />

View file

@ -1,4 +1,4 @@
<filter name="delete_page" module="pagemaker" act="procPageAdminDelete"> <filter name="delete_page" module="page" act="procPageAdminDelete">
<form> <form>
<node target="module_srl" required="true" /> <node target="module_srl" required="true" />
</form> </form>

View file

@ -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 /> <form />
<response> <response>
<tag name="error" /> <tag name="error" />

View file

@ -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> <form>
<node target="mid" required="true" filter="alpha_number" /> <node target="mid" required="true" filter="alpha_number" />
<node target="browser_title" required="true" maxlength="250" /> <node target="browser_title" required="true" maxlength="250" />

View file

@ -1,7 +1,7 @@
/** /**
* @file : modules/pagemaker/js/admin.js * @file modules/page/js/admin.js
* @author : zero <zero@nzeo.com> * @author zero (zero@nzeo.com)
* @desc : pagemaker 모듈의 관리자용 javascript * @desc page모듈의 관리자용 javascript
**/ **/
/* 모듈 생성 후 */ /* 모듈 생성 후 */
@ -14,7 +14,7 @@ function completeInsertPage(ret_obj) {
alert(message); 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; if(page) url += "&page="+page;
location.href = url; location.href = url;
@ -28,7 +28,7 @@ function completeDeletePage(ret_obj) {
var page = ret_obj['page']; var page = ret_obj['page'];
alert(message); alert(message);
var url = "./?module=admin&mo=pagemaker&act=dispAdminContent"; var url = "./?module=admin&act=dispPageAdminContent";
if(page) url += "&page="+page; if(page) url += "&page="+page;
location.href = url; location.href = url;

View file

@ -10,7 +10,6 @@
</div> </div>
<form action="./" method="post" onsubmit="return procFilter(this, insert_page)" enctype="multipart/form-data"> <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="page" value="{$page}" />
<input type="hidden" name="module_srl" value="{$module_srl}" /> <input type="hidden" name="module_srl" value="{$module_srl}" />
<input type="hidden" name="content" value="{htmlspecialchars($module_info->content)}" /> <input type="hidden" name="content" value="{htmlspecialchars($module_info->content)}" />

View file

@ -27,7 +27,7 @@
Context::set('rss_types',$this->rss_types); Context::set('rss_types',$this->rss_types);
// 템플릿 파일 지정 // 템플릿 파일 지정
$this->setTemplatePath($this->module_path.'tpl.admin/'); $this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('index'); $this->setTemplateFile('index');
} }
@ -90,7 +90,7 @@
Context::set('message', Context::getLang('msg_rss_is_disabled') ); Context::set('message', Context::getLang('msg_rss_is_disabled') );
// 템플릿 파일 지정 // 템플릿 파일 지정
$this->setTemplatePath($this->module_path.'tpl.admin/'); $this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile("error"); $this->setTemplateFile("error");
} }
} }

View file

@ -12,7 +12,7 @@
**/ **/
function init() { function init() {
// 템플릿 경로 지정 // 템플릿 경로 지정
$this->setTemplatePath($this->module_path.'tpl.admin'); $this->setTemplatePath($this->module_path.'tpl');
} }
/** /**

View file

@ -56,7 +56,7 @@
Context::set('module_list', $module_list); Context::set('module_list', $module_list);
// 템플릿 지정 // 템플릿 지정
$this->setTemplatePath($this->module_path.'tpl.admin'); $this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('trackback_list'); $this->setTemplateFile('trackback_list');
} }