Ignore:
Timestamp:
2006/12/11 21:53:47 (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

    r695 r709  
    153153    function assignOptions(&$tpl) 
    154154    { 
    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")); 
    156163        $i = 0; 
    157164        $tpl->assign('option_list', $options_arr); 
    158     }    
     165    } 
    159166} 
    160167?> 
Note: See TracChangeset for help on using the changeset viewer.