회원/문서/댓글의 팝업 메뉴에 추적 기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4251 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-06-09 04:17:27 +00:00
parent dc9a1e2ea7
commit 198b531aae
27 changed files with 78 additions and 13 deletions

View file

@ -53,6 +53,19 @@
// trigger 호출 (after)
ModuleHandler::triggerCall('comment.getCommentMenu', 'after', $menu_list);
// 관리자일 경우 ip로 글 찾기
if($logged_info->is_admin == 'Y') {
$oCommentModel = &getModel('comment');
$oComment = $oCommentModel->getComment($comment_srl);
if($oComment->isExists()) {
// ip주소에 해당하는 글 찾기
$url = getUrl('','module','admin','act','dispCommentAdminList','search_target','ipaddress','search_keyword',$oComment->get('ipaddress'));
$icon_path = './modules/member/tpl/images/icon_management.gif';
$oCommentController->addCommentPopupMenu($url,'cmd_search_by_ipaddress',$icon_path,'TraceByIpaddress');
}
}
// 팝업메뉴의 언어 변경
$menus = Context::get('comment_popup_menu_list');
$menus_count = count($menus);
@ -351,6 +364,9 @@
case 'ipaddress' :
$args->s_ipaddress= $search_keyword;
break;
case 'member_srl' :
$args->{"s_".$search_target} = (int)$search_keyword;
break;
}
}

View file

@ -21,6 +21,7 @@
'user_id' => 'ID',
'user_name' => 'Name',
'nick_name' => 'Nickname',
'member_srl' => 'Member Serial',
'email_address' => 'Email',
'homepage' => 'Homepage',
'regdate' => 'Date',

View file

@ -21,6 +21,7 @@
'user_id' => 'ID',
'user_name' => 'Nombre',
'nick_name' => 'Apodo',
'member_srl' => 'Member Serial',
'email_address' => 'Correo Electrónico',
'homepage' => 'Página web',
'regdate' => 'Fecha del registro',

View file

@ -22,6 +22,7 @@
'user_id' => 'ID',
'user_name' => 'Nom',
'nick_name' => 'Surnom',
'member_srl' => 'Member Serial',
'email_address' => 'Courriel',
'homepage' => 'Page d\'Accueil',
'regdate' => 'Jour',

View file

@ -22,6 +22,7 @@
'user_id' => 'ユーザID',
'user_name' => '名前',
'nick_name' => 'ニックネーム',
'member_srl' => 'Member Serial',
'email_address' => 'メールアドレス',
'homepage' => 'ホームページURL',
'regdate' => '登録日',

View file

@ -22,6 +22,7 @@
'user_id' => '아이디',
'user_name' => '이름',
'nick_name' => '닉네임',
'member_srl' => '회원번호',
'email_address' => '이메일주소',
'homepage' => '홈페이지',
'regdate' => '등록일',

View file

@ -21,6 +21,7 @@
'user_id' => 'ID',
'user_name' => 'Имя',
'nick_name' => 'Ник',
'member_srl' => 'Member Serial',
'email_address' => 'Email',
'homepage' => 'Домашняя страница',
'regdate' => 'Дата',

View file

@ -22,6 +22,7 @@
'user_id' => 'I D',
'user_name' => '姓名',
'nick_name' => '昵称',
'member_srl' => 'Member Serial',
'email_address' => '电子信箱',
'homepage' => '主页',
'regdate' => '日期',

View file

@ -13,6 +13,7 @@
<condition operation="like" column="nick_name" var="s_nick_name" pipe="or" />
<condition operation="like" column="email_address" var="s_email_address" pipe="or" />
<condition operation="like" column="homepage" var="s_homepage" pipe="or" />
<condition operation="equal" column="member_srl" var="s_member_srl" pipe="or" />
<condition operation="like_prefix" column="regdate" var="s_regdate" pipe="or" />
<condition operation="like_prefix" column="last_update" var="s_last_upate" pipe="or" />
<condition operation="like_prefix" column="ipaddress" var="s_ipaddress" pipe="or" />