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

Diff of /contributions/modules/collimator/collimator.module

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

revision 1.5, Wed Nov 3 22:30:44 2004 UTC revision 1.6, Wed Nov 24 22:03:32 2004 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: collimator.module,v 1.3 2004/07/04 19:42:19 njivy Exp $  // $Id: collimator.module,v 1.5 2004/11/03 22:30:44 njivy Exp $
3    
4  /**  /**
5   * hook_help() implementation   * hook_help() implementation
# Line 122  function collimator_page($parent = '', $ Line 122  function collimator_page($parent = '', $
122    if (!$uid && !$parent && !($parent = arg(1))) {    if (!$uid && !$parent && !($parent = arg(1))) {
123      $parent = 0;      $parent = 0;
124    }    }
125    $parent = check_query($parent);    $parent = db_escape_string($parent);
126    
127    // Used to break results into pages    // Used to break results into pages
128    $from = check_query($_REQUEST['from']);    $from = db_escape_string($_REQUEST['from']);
129    !$from && $from = 0;    !$from && $from = 0;
130    $count = (variable_get('collimator_results_rows', '2') * variable_get('collimator_result_cols', '4'));    $count = (variable_get('collimator_results_rows', '2') * variable_get('collimator_result_cols', '4'));
131    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.2