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);
// 템플릿 지정
$this->setTemplatePath($this->module_path.'tpl.admin');
$this->setTemplatePath($this->module_path.'tpl');
$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');
}

View file

@ -53,7 +53,6 @@
<div>
<form action="./" method="get">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="mo" value="{$mo}" />
<input type="hidden" name="act" value="{$act}" />
<div>
@ -65,7 +64,7 @@
</select>
<input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" />
<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>
</form>
</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>
<node target="cart" required="true" />
</form>

View file

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

View file

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

View file

@ -39,7 +39,7 @@
Context::set('group_list', $this->group_list);
// 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("../../tpl.admin/js/admin.js")-->
<!--%import("../../tpl/js/admin.js")-->
<!--%import("js/member.js")-->
<div>

View file

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

View file

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

View file

@ -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" />

View file

@ -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');
}

View file

@ -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" />

View file

@ -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>

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

View file

@ -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;

View file

@ -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)}" />

View file

@ -27,7 +27,7 @@
Context::set('rss_types',$this->rss_types);
// 템플릿 파일 지정
$this->setTemplatePath($this->module_path.'tpl.admin/');
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('index');
}
@ -90,7 +90,7 @@
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");
}
}

View file

@ -12,7 +12,7 @@
**/
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);
// 템플릿 지정
$this->setTemplatePath($this->module_path.'tpl.admin');
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('trackback_list');
}