mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
#19705602 getDocumentVotedMemberList method add db select column parameter
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8335 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cc56a7b93b
commit
ef9f94e0da
2 changed files with 6 additions and 3 deletions
|
|
@ -467,12 +467,10 @@
|
|||
if($oDocument->isExists()) {
|
||||
// Find a post equivalent to ip address
|
||||
$url = getUrl('','module','admin','act','dispDocumentAdminList','search_target','ipaddress','search_keyword',$oDocument->getIpAddress());
|
||||
debugPrint($url);
|
||||
$icon_path = './modules/member/tpl/images/icon_management.gif';
|
||||
$oDocumentController->addDocumentPopupMenu($url,'cmd_search_by_ipaddress',$icon_path,'TraceByIpaddress');
|
||||
|
||||
$url = sprintf("var params = new Array(); params['ipaddress']='%s'; exec_xml('spamfilter', 'procSpamfilterAdminInsertDeniedIP', params, completeCallModuleAction)", $oDocument->getIpAddress());
|
||||
debugPrint($url);
|
||||
$oDocumentController->addDocumentPopupMenu($url,'cmd_add_ip_to_spamfilter','./modules/document/tpl/icons/declare.gif','javascript');
|
||||
}
|
||||
}
|
||||
|
|
@ -951,6 +949,9 @@
|
|||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief vote up, vote down member list in Document View page
|
||||
**/
|
||||
function getDocumentVotedMemberList()
|
||||
{
|
||||
$document_srl = Context::get('document_srl');
|
||||
|
|
@ -960,7 +961,8 @@
|
|||
if($point != -1) $point = 1;
|
||||
|
||||
$oDocumentModel = &getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument($document_srl, false, false);
|
||||
$columnList = array('document_srl', 'module_srl');
|
||||
$oDocument = $oDocumentModel->getDocument($document_srl, false, false, $columnList);
|
||||
$module_srl = $oDocument->get('module_srl');
|
||||
if(!$module_srl) return new Object(-1, 'msg_invalid_request');
|
||||
|
||||
|
|
|
|||
|
|
@ -82,4 +82,5 @@
|
|||
);
|
||||
$lang->success_trashed = '휴지통으로 이동되었습니다.';
|
||||
$lang->msg_not_selected_document = '선택된 문서가 없습니다.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue