Changeset 808 for temp/test-xoops.ec-cube.net
- Timestamp:
- 2006/12/13 09:25:20 (19 years ago)
- Location:
- temp/test-xoops.ec-cube.net/html/modules/xoopspoll
- Files:
-
- 3 edited
-
class/xoopspollrenderer.php (modified) (1 diff)
-
pollresults.php (modified) (3 diffs)
-
templates/xoopspoll_results.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspollrenderer.php
r751 r808 155 155 $arrOption =& XoopsPollOption::getAllOption(); 156 156 $tpl->assign('arrOption', $arrOption); 157 158 return $arrOption; 157 159 } 158 160 -
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollresults.php
r771 r808 40 40 exit(); 41 41 } 42 $start = !empty($_GET['start']) ? intval($_GET['start']) : 0; 43 42 44 $xoopsOption['template_main'] = 'xoopspoll_results.html'; 43 45 include XOOPS_ROOT_PATH."/header.php"; … … 46 48 $renderer = new XoopsPollRenderer($poll); 47 49 $renderer->assignResults($xoopsTpl); 48 $ renderer->assignOptions($xoopsTpl);50 $arrOption = $renderer->assignOptions($xoopsTpl); 49 51 50 52 $xoopsTpl->assign('arrStatus', $arrStatus); … … 52 54 $xoopsTpl->assign('poll_id', $poll_id); 53 55 56 $nav = new XoopsPageNav(count($arrOption), $forumdata['topics_per_page'], $start, "start", 'poll_id='.$poll_id); 57 $xoopsTpl->assign('forum_pagenav', $nav->renderNav(4)); 58 54 59 include XOOPS_ROOT_PATH.'/include/comment_view.php'; 55 60 -
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_results.html
r780 r808 82 82 <table border="0" cellspacing="0" cellpadding="0"> 83 83 <tr> 84 <td align="center">< a href="#">¢«Á°¤Ø</a>¡¡<span class="orange"><strong>1</strong></span>¡Ã<a href="#">2</a>¡Ã<a href="#">3</a>¡Ã<a href="#">4</a>¡Ã<a href="#">5</a>¡Ã<a href="#">6</a>¡Ã<a href="#">7</a>¡Ã<a href="#">8</a>¡Ã<a href="#">9</a>¡Ã<a href="#">10</a>¡¡<a href="#">¼¡¤Ø¢ª</a></td>84 <td align="center"><{$forum_pagenav}><td> 85 85 </tr> 86 86 <tr><td height="15"></td></tr>
Note: See TracChangeset
for help on using the changeset viewer.
