mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 12:19:56 +09:00
admin filelist 에서 검색항목 추가 및 bug fix
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5082 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
64ec631bba
commit
d2d9b2c3a2
13 changed files with 76 additions and 26 deletions
|
|
@ -65,15 +65,15 @@
|
|||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div class="pagination a1">
|
||||
<a href="{getUrl('page','','module_srl','')}" class="prevEnd">{$lang->first_page}</a>
|
||||
<a href="{getUrl('page','','module_srl',$module_srl)}" class="prevEnd">{$lang->first_page}</a>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<!--@if($page == $page_no)-->
|
||||
<strong>{$page_no}</strong>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a>
|
||||
<a href="{getUrl('page',$page_no,'module_srl',$module_srl)}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="nextEnd">{$lang->last_page}</a>
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl',$module_srl)}" class="nextEnd">{$lang->last_page}</a>
|
||||
</div>
|
||||
|
||||
<!-- 검색 -->
|
||||
|
|
|
|||
|
|
@ -75,15 +75,15 @@
|
|||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div class="pagination a1">
|
||||
<a href="{getUrl('page','','module_srl','')}" class="prevEnd">{$lang->first_page}</a>
|
||||
<a href="{getUrl('page','','module_srl',$module_srl)}" class="prevEnd">{$lang->first_page}</a>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<!--@if($page == $page_no)-->
|
||||
<strong>{$page_no}</strong>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a>
|
||||
<a href="{getUrl('page',$page_no,'module_srl',$module_srl)}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="nextEnd">{$lang->last_page}</a>
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl',$module_srl)}" class="nextEnd">{$lang->last_page}</a>
|
||||
</div>
|
||||
|
||||
<!-- 검색 -->
|
||||
|
|
|
|||
|
|
@ -30,6 +30,9 @@
|
|||
case 'filesize' :
|
||||
$args->s_filesize = (int)$search_keyword;
|
||||
break;
|
||||
case 'filesize_mega' :
|
||||
$args->s_filesize = (int)$search_keyword * 1024 * 1024;
|
||||
break;
|
||||
case 'download_count' :
|
||||
$args->s_download_count = (int)$search_keyword;
|
||||
break;
|
||||
|
|
@ -37,7 +40,16 @@
|
|||
$args->s_regdate = $search_keyword;
|
||||
break;
|
||||
case 'ipaddress' :
|
||||
$args->s_ipaddress= $search_keyword;
|
||||
$args->s_ipaddress = $search_keyword;
|
||||
break;
|
||||
case 'user_id' :
|
||||
$args->s_user_id = $search_keyword;
|
||||
break;
|
||||
case 'user_name' :
|
||||
$args->s_user_name = $search_keyword;
|
||||
break;
|
||||
case 'nick_name' :
|
||||
$args->s_nick_name = $search_keyword;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,11 +31,16 @@
|
|||
$lang->msg_checked_file_is_deleted = '%d attachment(s) was(were) deleted';
|
||||
$lang->msg_exceeds_limit_size = 'File size of attachment is bigger than allowed size.';
|
||||
|
||||
$lang->search_target_list = array(
|
||||
|
||||
$lang->file_search_target_list = array(
|
||||
'filename' => 'File Name',
|
||||
'filesize' => 'File Size (byte, over)',
|
||||
'filesize_mega' => '파일크기 (Mb, 이상)',
|
||||
'download_count' => 'Downloads (over)',
|
||||
'regdate' => 'Registered Date',
|
||||
'user_id' => '아이디',
|
||||
'user_name' => '이름',
|
||||
'nick_name' => '닉네임',
|
||||
'ipaddress' => 'IP Address',
|
||||
);
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -31,10 +31,14 @@
|
|||
$lang->msg_checked_file_is_deleted = 'Total de %d archivos eliminados';
|
||||
$lang->msg_exceeds_limit_size = 'Ha excedido el límite del tamaño total de los archivos adjuntos';
|
||||
|
||||
$lang->search_target_list = array(
|
||||
$lang->file_search_target_list = array(
|
||||
'filename' => 'Nombre del archivo',
|
||||
'filesize' => 'Tamaño del archivo (Byte, sobre)',
|
||||
'filesize_mega' => '파일크기 (Mb, 이상)',
|
||||
'download_count' => 'Descargados (Sobre)',
|
||||
'user_id' => '아이디',
|
||||
'user_name' => '이름',
|
||||
'nick_name' => '닉네임'
|
||||
'regdate' => 'La fecha registrada',
|
||||
'ipaddress' => 'Dirección IP',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -31,10 +31,14 @@
|
|||
$lang->msg_checked_file_is_deleted = '%d Annexe(s) est(sont) supprimé(s)';
|
||||
$lang->msg_exceeds_limit_size = 'La mesure de l\'(des) Annexe(s) est plus grande que celle consentie.';
|
||||
|
||||
$lang->search_target_list = array(
|
||||
$lang->file_search_target_list = array(
|
||||
'filename' => 'Nom de Fichier',
|
||||
'filesize' => 'Mesure de Fichier (octet, surplus)',
|
||||
'filesize_mega' => '파일크기 (Mb, 이상)',
|
||||
'download_count' => 'Téléchargés (surplus)',
|
||||
'user_id' => '아이디',
|
||||
'user_name' => '이름',
|
||||
'nick_name' => '닉네임'
|
||||
'regdate' => 'Enrgistré',
|
||||
'ipaddress' => 'Adresse IP',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -31,10 +31,14 @@
|
|||
$lang->msg_checked_file_is_deleted = '%d個の添付ファイルを削除しました';
|
||||
$lang->msg_exceeds_limit_size = 'ファイルサイズの制限を超えたため、添付できません。';
|
||||
|
||||
$lang->search_target_list = array(
|
||||
$lang->file_search_target_list = array(
|
||||
'filename' => 'ファイル名',
|
||||
'filesize' => 'ファイルサイズ((Byte以上)',
|
||||
'filesize_mega' => '파일크기 (Mb, 이상)',
|
||||
'download_count' => 'ダウンロード数(以上)',
|
||||
'user_id' => '아이디',
|
||||
'user_name' => '이름',
|
||||
'nick_name' => '닉네임'
|
||||
'regdate' => '登録日',
|
||||
'ipaddress' => 'IPアドレス',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -31,10 +31,14 @@
|
|||
$lang->msg_checked_file_is_deleted = '%d개의 첨부파일이 삭제되었습니다';
|
||||
$lang->msg_exceeds_limit_size = '허용된 용량을 초과하여 첨부가 되지 않았습니다';
|
||||
|
||||
$lang->search_target_list = array(
|
||||
$lang->file_search_target_list = array(
|
||||
'filename' => '파일이름',
|
||||
'filesize' => '파일크기 (byte, 이상)',
|
||||
'filesize_mega' => '파일크기 (Mb, 이상)',
|
||||
'download_count' => '다운로드 회수 (이상)',
|
||||
'user_id' => '아이디',
|
||||
'user_name' => '이름',
|
||||
'nick_name' => '닉네임',
|
||||
'regdate' => '등록일',
|
||||
'ipaddress' => 'IP 주소',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -31,10 +31,14 @@
|
|||
$lang->msg_checked_file_is_deleted = 'Всего %d вложений было удалено';
|
||||
$lang->msg_exceeds_limit_size = 'Вложение провалено: превышен лимит размера файлов';
|
||||
|
||||
$lang->search_target_list = array(
|
||||
$lang->file_search_target_list = array(
|
||||
'filename' => 'Имя файла',
|
||||
'filesize' => 'Размер файла (байт, Выше)',
|
||||
'filesize_mega' => '파일크기 (Mb, 이상)',
|
||||
'download_count' => 'Скачано (Выше)',
|
||||
'user_id' => '아이디',
|
||||
'user_name' => '이름',
|
||||
'nick_name' => '닉네임'
|
||||
'regdate' => 'Дата',
|
||||
'ipaddress' => 'IP-Адрес',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -31,10 +31,14 @@
|
|||
$lang->msg_checked_file_is_deleted = '已删除%d个文件!';
|
||||
$lang->msg_exceeds_limit_size = '已超过系统指定的上传文件大小!';
|
||||
|
||||
$lang->search_target_list = array(
|
||||
$lang->file_search_target_list = array(
|
||||
'filename' => '文件名',
|
||||
'filesize' => '文件大小 (byte, 以上)',
|
||||
'filesize_mega' => '파일크기 (Mb, 이상)',
|
||||
'download_count' => '下载次数 (以上)',
|
||||
'user_id' => '아이디',
|
||||
'user_name' => '이름',
|
||||
'nick_name' => '닉네임'
|
||||
'regdate' => '登录日期',
|
||||
'ipaddress' => 'IP地址',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -31,10 +31,14 @@
|
|||
$lang->msg_checked_file_is_deleted = '已刪除%d個檔案!';
|
||||
$lang->msg_exceeds_limit_size = '已超過系統指定的上傳檔案大小!';
|
||||
|
||||
$lang->search_target_list = array(
|
||||
$lang->file_search_target_list = array(
|
||||
'filename' => '檔案名稱',
|
||||
'filesize' => '檔案大小 (byte, 以上)',
|
||||
'filesize_mega' => '파일크기 (Mb, 이상)',
|
||||
'download_count' => '下載次數 (以上)',
|
||||
'user_id' => '아이디',
|
||||
'user_name' => '이름',
|
||||
'nick_name' => '닉네임'
|
||||
'regdate' => '登錄日期',
|
||||
'ipaddress' => 'IP位址',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1,23 +1,28 @@
|
|||
<query id="getFileList" action="select">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
<table name="files" alias="files" />
|
||||
<table name="member" alias="member" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="*" />
|
||||
<column name="files.*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="module_srl" var="s_module_srl" />
|
||||
<condition operation="equal" column="isvalid" var="isvalid" pipe="and" />
|
||||
<condition operation="equal" column="files.module_srl" var="s_module_srl" />
|
||||
<condition operation="equal" column="files.isvalid" var="isvalid" pipe="and" />
|
||||
<condition operation="equal" column="files.member_srl" default="member.member_srl" pipe="and" />
|
||||
<group pipe="and">
|
||||
<condition operation="like" column="source_filename" var="s_filename" pipe="or" />
|
||||
<condition operation="more" column="file_size" var="s_filesize" pipe="or" />
|
||||
<condition operation="more" column="download_count" var="s_download_count" pipe="or" />
|
||||
<condition operation="like_prefix" column="regdate" var="s_regdate" pipe="or" />
|
||||
<condition operation="like_prefix" column="ipaddress" var="s_ipaddress" pipe="or" />
|
||||
<condition operation="like" column="files.source_filename" var="s_filename" pipe="or" />
|
||||
<condition operation="more" column="files.file_size" var="s_filesize" pipe="or" />
|
||||
<condition operation="more" column="files.download_count" var="s_download_count" pipe="or" />
|
||||
<condition operation="like_prefix" column="files.regdate" var="s_regdate" pipe="or" />
|
||||
<condition operation="like_prefix" column="files.ipaddress" var="s_ipaddress" pipe="or" />
|
||||
<condition operation="like" column="member.user_id" var="s_user_id" pipe="or" />
|
||||
<condition operation="like" column="member.user_name" var="s_user_name" pipe="or" />
|
||||
<condition operation="like" column="member.nick_name" var="s_nick_name" pipe="or" />
|
||||
</group>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" default="file_srl" order="desc" />
|
||||
<index var="sort_index" default="files.file_srl" order="desc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@
|
|||
</select>
|
||||
<select name="search_target">
|
||||
<option value="">{$lang->search_target}</option>
|
||||
<!--@foreach($lang->search_target_list as $key => $val)-->
|
||||
<!--@foreach($lang->file_search_target_list as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($search_target==$key)-->selected="selected"<!--@end-->>{$val}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue