mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@386 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b313d5b5c4
commit
c74bdb90fa
7 changed files with 81 additions and 9 deletions
|
|
@ -76,6 +76,7 @@
|
|||
$lang->uploaded_file = '첨부파일';
|
||||
$lang->grant = "권한";
|
||||
$lang->target = "대상";
|
||||
$lang->total = "전체";
|
||||
$lang->total_count = "전체개수";
|
||||
$lang->ipaddress = "IP 주소";
|
||||
$lang->path = "경로";
|
||||
|
|
|
|||
|
|
@ -35,14 +35,6 @@
|
|||
|
||||
$lang->about_test = "테스트는 블라블라...";
|
||||
|
||||
// 권한의 명칭
|
||||
$lang->grant_title = array(
|
||||
'list' => "목록 접근 권한",
|
||||
'view' => "내용 접근 권한",
|
||||
'write_document' => "게시물 작성 권한",
|
||||
'write_comment' => "코멘트 작성 권한",
|
||||
'fileupload' => "파일첨부 권한",
|
||||
);
|
||||
$lang->msg_not_permitted = "권한이 없습니다";
|
||||
|
||||
// 주절 주절..
|
||||
|
|
|
|||
|
|
@ -33,6 +33,15 @@
|
|||
$lang->redirect_url = '회원 가입후 이동할 페이지';
|
||||
$lang->agreement = '회원 가입 약관';
|
||||
|
||||
$lang->search_target_list = array(
|
||||
'user_id' => '아이디',
|
||||
'user_name' => '이름',
|
||||
'nick_name' => '닉네임',
|
||||
'email_address' => '메일주소',
|
||||
'regdate' => '가입일시',
|
||||
'last_login' => '최근로그인일시',
|
||||
);
|
||||
|
||||
$lang->msg_new_member = '회원 추가';
|
||||
$lang->msg_update_member = '회원 정보 수정';
|
||||
$lang->msg_group_is_null = '등록된 그룹이 없습니다';
|
||||
|
|
|
|||
|
|
@ -14,7 +14,15 @@
|
|||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
// 관리자 모듈에서 요청중이면 initAdmin(), 아니면 initNormal()
|
||||
if(Context::get('module')=='admin') $this->initAdmin();
|
||||
else $this->initNormal();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 관리자 페이지의 초기화
|
||||
**/
|
||||
function initAdmin() {
|
||||
// 멤버모델 객체 생성
|
||||
$oMemberModel = &getModel('member');
|
||||
|
||||
|
|
@ -32,8 +40,14 @@
|
|||
|
||||
// template path 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl.admin');
|
||||
}
|
||||
|
||||
return true;
|
||||
/**
|
||||
* @brief 일반 페이지 초기화
|
||||
**/
|
||||
function initNormal() {
|
||||
// template path 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl.admin');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
11
modules/member/tpl.admin/filter/search.xml
Normal file
11
modules/member/tpl.admin/filter/search.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<filter name="search" module="member">
|
||||
<form>
|
||||
<node target="search_target" required="true" />
|
||||
<node target="search_keyword" minlegnth="2" maxlength="40" required="true" />
|
||||
</form>
|
||||
<parameter />
|
||||
<response callback_func="completeSearch">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -252,3 +252,9 @@ function completeSearchKrZip(ret_obj, response_tags, callback_args) {
|
|||
zone_addr1_obj.style.display = 'none';
|
||||
zone_list_obj.style.display = 'inline';
|
||||
}
|
||||
|
||||
/* 검색 실행 */
|
||||
function completeSearch(fo_obj, params) {
|
||||
fo_obj.submit();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
<!--#include("header.html")-->
|
||||
|
||||
<!--%import("filter/search.xml")-->
|
||||
|
||||
<!-- 정보 -->
|
||||
<div>
|
||||
{number_format($total_count)},
|
||||
|
|
@ -42,6 +44,43 @@
|
|||
[<a href="{getUrl('act','dispMemberInsert','member_srl','')}">{$lang->cmd_make}</a>]
|
||||
</div>
|
||||
|
||||
<!-- 검색 -->
|
||||
<div>
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, search)">
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
<input type="hidden" name="mo" value="{$mo}" />
|
||||
<input type="hidden" name="act" value="{$act}}" />
|
||||
|
||||
<div>
|
||||
<select name="is_admin">
|
||||
<option value="" <!--@if($is_admin!='Y')-->selected="true"<!--@end-->>{$lang->total}</option>
|
||||
<option value="Y" <!--@if($is_admin=='Y')-->selected="true"<!--@end-->>{$lang->is_admin}</option>
|
||||
</select>
|
||||
<select name="is_denied">
|
||||
<option value="" <!--@if($is_denied!='Y')-->selected="true"<!--@end-->>{$lang->total}</option>
|
||||
<option value="Y" <!--@if($is_denied=='Y')-->selected="true"<!--@end-->>{$lang->denied}</option>
|
||||
</select>
|
||||
<select name="group_srl">
|
||||
<option value="0">{$lang->group}</option>
|
||||
<!--@foreach($group_list as $key => $val)-->
|
||||
<option value="{$val->group_srl}" <!--@if($group_srl==$val->group_srl)-->selected="true"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
<select name="search_target">
|
||||
<option value="">{$lang->search_target}</option>
|
||||
<!--@foreach($lang->search_target_list as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($search_target==$key)-->selected="true"<!--@end-->>{$val}</option>
|
||||
<!--@end-->
|
||||
</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('search_target','','search_keyword','','page','1','member_srl','')}'"/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div>
|
||||
<a href="{getUrl('page','','member_srl','')}">[{$lang->first_page}]</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue