| 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 |
| 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 |
|
|