Ignore:
Timestamp:
2006/12/11 22:58:21 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

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

    r732 r733  
    4343include XOOPS_ROOT_PATH."/header.php"; 
    4444 
    45 $renderer = new XoopsPollRenderer(array('optin_id' => $option_id)); 
    46 $renderer->assignOptions($xoopsTpl, $option_id); 
    47 $renderer->assignComment($xoopsTpl, $option_id); 
    48  
     45$arrOption =& XoopsPollOption::getOptionByOptionId($option_id); 
     46$tpl->assign('arrOption', $arrOption); 
     47  
     48$arrComment =& XoopsPollOption::getAllCommentByOptionId($option_id); 
     49$xoopsTpl->assign('arrComment', $arrComment); 
     50         
    4951$xoopsTpl->assign('arrStatus', $arrStatus); 
    5052$xoopsTpl->assign('arrCat', $arrCategory); 
Note: See TracChangeset for help on using the changeset viewer.