| 7 |
* from 1 to n |
* from 1 to n |
| 8 |
*/ |
*/ |
| 9 |
|
|
| 10 |
// $Id: ranking.module,v 1.21 2009/08/19 20:55:31 anarcat Exp $ |
// $Id: ranking.module,v 1.22 2009/08/19 22:30:20 anarcat Exp $ |
| 11 |
|
|
| 12 |
/** |
/** |
| 13 |
* Implementation of hook_help() |
* Implementation of hook_help() |
| 64 |
|
|
| 65 |
if ($node->choice) { |
if ($node->choice) { |
| 66 |
$list = array(); |
$list = array(); |
| 67 |
|
|
| 68 |
|
// Put options in random order if randomize option |
| 69 |
|
// selected on node create/edit form. |
| 70 |
|
if($node->randomize) { |
| 71 |
|
$node->choice = _decisions_randomize_options($node->choice, $node->choices); |
| 72 |
|
} |
| 73 |
|
|
| 74 |
$num_choices = count($node->choice); |
$num_choices = count($node->choice); |
| 75 |
|
|