/[drupal]/contributions/modules/hidden/hidden.display-admin.inc
ViewVC logotype

Diff of /contributions/modules/hidden/hidden.display-admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Wed Dec 10 23:03:47 2008 UTC revision 1.2, Fri Dec 12 19:23:35 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: hidden.display-admin.inc,v 1.1 2008/12/10 23:03:47 ekes Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 210  function hidden_list_admin_comments_repo Line 210  function hidden_list_admin_comments_repo
210            $nid = db_result($result);            $nid = db_result($result);
211            if ($nid>0) {            if ($nid>0) {
212              // would be nice to transfer reported reason(s) but there maybe more than one              // would be nice to transfer reported reason(s) but there maybe more than one
213              if (_hidden_hidden_hide($nid, (int)$cid, $user->uid, 1)) {              if (hidden_hidden_hide('comment', (int)$cid, $user->uid, 1)) {
214                $hide[] = $cid;                $hide[] = $cid;
215              }              }
216              else {              else {
# Line 468  function hidden_list_admin_nodes_reporte Line 468  function hidden_list_admin_nodes_reporte
468          $nid = (int)$nid;          $nid = (int)$nid;
469          if ($value) {          if ($value) {
470            // would be nice to transfer reported reason(s) but there maybe more than one            // would be nice to transfer reported reason(s) but there maybe more than one
471            if (_hidden_hidden_hide((int)$nid, 0, $user->uid, 1)) {            if (hidden_hidden_hide('node', (int)$nid, $user->uid, 1)) {
472              $hide[] = $nid;              $hide[] = $nid;
473            }            }
474            else {            else {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2