@@ 64-69 (lines=6) @@ | ||
61 | $oCommentController->addCommentPopupMenu($url, 'cmd_vote', '', 'javascript'); |
|
62 | } |
|
63 | ||
64 | if($comment_config->use_vote_down != 'N' && $member_srl != $logged_info->member_srl) |
|
65 | { |
|
66 | // Add a vote-down button for negative feedback |
|
67 | $url = sprintf("doCallModuleAction('comment','procCommentVoteDown','%s')", $comment_srl); |
|
68 | $oCommentController->addCommentPopupMenu($url, 'cmd_vote_down', '', 'javascript'); |
|
69 | } |
|
70 | ||
71 | // Add the report feature against abused posts |
|
72 | $url = sprintf("doCallModuleAction('comment','procCommentDeclare','%s')", $comment_srl); |
@@ 533-538 (lines=6) @@ | ||
530 | ||
531 | $oModuleModel = getModel('module'); |
|
532 | $document_config = $oModuleModel->getModulePartConfig('document',$module_srl); |
|
533 | if($document_config->use_vote_up!='N' && $member_srl!=$logged_info->member_srl) |
|
534 | { |
|
535 | // Add a Referral Button |
|
536 | $url = sprintf("doCallModuleAction('document','procDocumentVoteUp','%s')", $document_srl); |
|
537 | $oDocumentController->addDocumentPopupMenu($url,'cmd_vote','','javascript'); |
|
538 | } |
|
539 | ||
540 | if($document_config->use_vote_down!='N' && $member_srl!=$logged_info->member_srl) |
|
541 | { |
|
@@ 540-545 (lines=6) @@ | ||
537 | $oDocumentController->addDocumentPopupMenu($url,'cmd_vote','','javascript'); |
|
538 | } |
|
539 | ||
540 | if($document_config->use_vote_down!='N' && $member_srl!=$logged_info->member_srl) |
|
541 | { |
|
542 | // Add button to negative |
|
543 | $url= sprintf("doCallModuleAction('document','procDocumentVoteDown','%s')", $document_srl); |
|
544 | $oDocumentController->addDocumentPopupMenu($url,'cmd_vote_down','','javascript'); |
|
545 | } |
|
546 | ||
547 | // Adding Report |
|
548 | $url = sprintf("doCallModuleAction('document','procDocumentDeclare','%s')", $document_srl); |