- Timestamp:
- 2006/12/11 22:08:05 (20 years ago)
- Location:
- temp/test-xoops.ec-cube.net/html/modules/xoopspoll
- Files:
-
- 2 edited
-
class/xoopspollrenderer.php (modified) (1 diff)
-
pollregist.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspollrenderer.php
r713 r716 151 151 152 152 153 function assignOptions(&$tpl )153 function assignOptions(&$tpl, $option) 154 154 { 155 $arrOption =& XoopsPollOption::getOptionByOptionId($this->poll->getVar("option_id")); 155 $arrOption =& XoopsPollOption::getOptionByOptionId($option); 156 print_r($arrOption); 156 157 $tpl->assign('arrOption', $arrOption); 157 158 } -
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollregist.php
r715 r716 43 43 include XOOPS_ROOT_PATH."/header.php"; 44 44 45 $poll = new XoopsPoll( array('option_id' => $option_id));45 $poll = new XoopsPoll(); 46 46 $renderer = new XoopsPollRenderer($poll); 47 47 $renderer->assignOptions($xoopsTpl);
Note: See TracChangeset
for help on using the changeset viewer.
