/[drupal]/contributions/modules/nmoderation/nmoderation.module
ViewVC logotype

Diff of /contributions/modules/nmoderation/nmoderation.module

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

revision 1.23, Fri Apr 7 04:46:16 2006 UTC revision 1.24, Thu Apr 13 15:49:31 2006 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: nmoderation.module,v 1.11 2006/03/27 22:13:29 eaton Exp $  // $Id: nmoderation.module,v 1.23 2006/04/07 04:46:16 eaton Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 561  function nmoderation_list_unvoted($conte Line 561  function nmoderation_list_unvoted($conte
561    while ($vote = db_fetch_object($result)) {    while ($vote = db_fetch_object($result)) {
562      $rows[] = array(l($vote->title, "node/$vote->nid"), theme('username', $vote), format_date($vote->created, 'small'));      $rows[] = array(l($vote->title, "node/$vote->nid"), theme('username', $vote), format_date($vote->created, 'small'));
563    }    }
564    if ($pager = theme('pager', NULL, 50, 0, tablesort_pager())) {    if ($pager = theme('pager', NULL, 50, 0)) {
565      $rows[] = array(array('data' => $pager, 'colspan' => $cols));      $rows[] = array(array('data' => $pager, 'colspan' => $cols));
566    }    }
567    $output .= theme('table', $header, $rows);    $output .= theme('table', $header, $rows);
# Line 594  function nmoderation_list_voted($content Line 594  function nmoderation_list_voted($content
594      }      }
595      $rows[] = $row;      $rows[] = $row;
596    }    }
597    if ($pager = theme('pager', NULL, 50, 0, tablesort_pager())) {    if ($pager = theme('pager', NULL, 50, 0)) {
598      $rows[] = array(array('data' => $pager, 'colspan' => $cols));      $rows[] = array(array('data' => $pager, 'colspan' => $cols));
599    }    }
600    $output .= theme('table', $header, $rows);    $output .= theme('table', $header, $rows);
# Line 625  function nmoderation_list_all($content_t Line 625  function nmoderation_list_all($content_t
625        l(t('delete'), "nmoderation/delete/$vote->vote_id")        l(t('delete'), "nmoderation/delete/$vote->vote_id")
626      );      );
627    }    }
628    if ($pager = theme('pager', NULL, 50, 0, tablesort_pager())) {    if ($pager = theme('pager', NULL, 50, 0)) {
629      $rows[] = array(array('data' => $pager, 'colspan' => $cols));      $rows[] = array(array('data' => $pager, 'colspan' => $cols));
630    }    }
631    $output .= theme('table', $header, $rows);    $output .= theme('table', $header, $rows);
# Line 666  function nmoderation_list_node($content_ Line 666  function nmoderation_list_node($content_
666      }      }
667    }    }
668    
669    if ($pager = theme('pager', NULL, 50, 0, tablesort_pager())) {    if ($pager = theme('pager', NULL, 50, 0)) {
670      $rows[] = array(array('data' => $pager, 'colspan' => $cols));      $rows[] = array(array('data' => $pager, 'colspan' => $cols));
671    }    }
672    $output .= theme('table', $header, $rows);    $output .= theme('table', $header, $rows);

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.2