- Timestamp:
- 2006/12/11 21:53:47 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspollrenderer.php
r695 r709 153 153 function assignOptions(&$tpl) 154 154 { 155 $options_arr =& XoopsPollOption::getAllOption(); 155 $arrOption =& XoopsPollOption::getOptionByOptionId($this->poll->getVar("option_id")); 156 $i = 0; 157 $tpl->assign('arrOption', $arrOption); 158 } 159 160 function assignPoll(&$tpl) 161 { 162 $options_arr =& XoopsPollOption::getAllByPollId($this->poll->getVar("poll_id")); 156 163 $i = 0; 157 164 $tpl->assign('option_list', $options_arr); 158 } 165 } 159 166 } 160 167 ?>
Note: See TracChangeset
for help on using the changeset viewer.
