/[drupal]/contributions/modules/decisions/modes/ranking.module
ViewVC logotype

Diff of /contributions/modules/decisions/modes/ranking.module

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

revision 1.22, Wed Aug 19 22:30:20 2009 UTC revision 1.23, Mon Oct 26 20:41:27 2009 UTC
# Line 7  Line 7 
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()
# Line 64  function ranking_decisions_voting_form(& Line 64  function ranking_decisions_voting_form(&
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    

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

  ViewVC Help
Powered by ViewVC 1.1.2