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@1024 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
988d15362a
commit
e77791ab6b
3 changed files with 25 additions and 1 deletions
|
|
@ -25,4 +25,11 @@
|
|||
$lang->cmd_null_item = "설문조사로 등록할 값이 없습니다.\n다시 설정해주세요";
|
||||
|
||||
$lang->confirm_poll_submit = "설문조사에 응하시겠습니까?";
|
||||
|
||||
$lang->search_target_list = array(
|
||||
'title' => '제목',
|
||||
'regdate' => '등록일',
|
||||
'ipaddress' => 'IP 주소',
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,24 @@
|
|||
* @brief 관리자 페이지
|
||||
**/
|
||||
function dispPollAdminList() {
|
||||
// 검색 옵션 정리
|
||||
$search_target = trim(Context::get('search_target'));
|
||||
$search_keyword = trim(Context::get('search_keyword'));
|
||||
|
||||
if($search_target && $search_keyword) {
|
||||
switch($search_target) {
|
||||
case 'title' :
|
||||
if($search_keyword) $search_keyword = str_replace(' ','%',$search_keyword);
|
||||
$args->s_title= $search_keyword;
|
||||
break;
|
||||
case 'regdate' :
|
||||
$args->s_regdate = $search_keyword;
|
||||
break;
|
||||
case 'ipaddress' :
|
||||
$args->s_ipaddress= $search_keyword;
|
||||
break;
|
||||
}
|
||||
}
|
||||
// 목록을 구하기 위한 옵션
|
||||
$args->page = Context::get('page'); ///< 페이지
|
||||
$args->list_count = 50; ///< 한페이지에 보여줄 글 수
|
||||
|
|
|
|||
|
|
@ -97,7 +97,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// 변수 설정
|
||||
$args->sort_index = $obj->sort_index;
|
||||
$args->page = $obj->page?$obj->page:1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue