Changeset 746 for temp/test-xoops.ec-cube.net
- Timestamp:
- 2006/12/12 09:45:58 (20 years ago)
- Location:
- temp/test-xoops.ec-cube.net/html/modules/xoopspoll
- Files:
-
- 2 edited
-
class/xoopspollrenderer.php (modified) (1 diff)
-
templates/xoopspoll_results.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspollrenderer.php
r745 r746 153 153 { 154 154 $arrOption =& XoopsPollOption::getAllOption(); 155 print_r($arrOption);156 155 $tpl->assign('arrOption', $arrOption); 157 156 } -
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_results.html
r741 r746 96 96 <th width="15%" align="center">Í×/ÉÔÍ×</th> 97 97 </tr> 98 <{section name=cnt loop=$ option_list}>99 <{assign var="status" value=$ option_list[cnt].status}>100 <{assign var="cat" value=$ option_list[cnt].category_id}>98 <{section name=cnt loop=$arrOption}> 99 <{assign var="status" value=$arrOption[cnt].status}> 100 <{assign var="cat" value=$arrOption[cnt].category_id}> 101 101 <tr class="<{cycle values="even,odd"}>"> 102 <td><a href="#"><{$ option_list[cnt].option_text|escape}></a></td>102 <td><a href="#"><{$arrOption[cnt].option_text|escape}></a></td> 103 103 <td align="center"><{$arrStatus[$status]|default:"¼õÉÕÃæ"}></td> 104 104 <td align="center"><{$arrCat[$cat]|default:"»ØÄê̵¤·"}></td> 105 <td align="right"><{$ option_list[cnt].option_count|default:"0"}>/<{$option_list[cnt].minus_count|default:"0"}></td>105 <td align="right"><{$arrOption[cnt].option_count|default:"0"}>/<{$arrOption[cnt].minus_count|default:"0"}></td> 106 106 </tr> 107 107 <{/section}>
Note: See TracChangeset
for help on using the changeset viewer.
