Ignore:
Timestamp:
2006/12/11 19:55:10 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspollrenderer.php

    r691 r692  
    149149        $tpl->assign('poll', array('question' => $this->poll->getVar("question"),'end_text' => $end_text,'totalVotes' => sprintf(_PL_TOTALVOTES, $total), 'totalVoters' => sprintf(_PL_TOTALVOTERS, $this->poll->getVar("voters")),'vote' => $vote, 'options' => $options)); 
    150150    } 
     151     
     152     
     153    function assignOptions(&$tpl) 
     154    { 
     155        $options_arr =& XoopsPollOption::getAllOption(); 
     156print_R($options_arr); 
     157        $i = 0; 
     158        $tpl->assign('poll', $options_arr); 
     159    }    
    151160} 
    152161?> 
Note: See TracChangeset for help on using the changeset viewer.