Ignore:
Timestamp:
2006/12/11 20:12:34 (20 years ago)
Author:
uehara
Message:
 
Location:
temp/test-xoops.ec-cube.net/html/modules/xoopspoll
Files:
2 edited

Legend:

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

    r692 r695  
    154154    { 
    155155        $options_arr =& XoopsPollOption::getAllOption(); 
    156 print_R($options_arr); 
    157156        $i = 0; 
    158         $tpl->assign('poll', $options_arr); 
     157        $tpl->assign('option_list', $options_arr); 
    159158    }    
    160159} 
  • temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_results.html

    r686 r695  
    9696            <th align="center">Í×/ÉÔÍ×</th> 
    9797        </tr> 
    98         <tr class="even"> 
    99             <td><a href="#">ºß¸Ë¤¬¾¯¤Ê¤¯¤Ê¤Ã¤¿¤é¥á¡¼¥ë¤¬ÆÏ¤¯¤è¤¦¤Ë¤·</a></td> 
    100             <td align="center">¼õÉÕÃæ</td> 
    101             <td align="center">¾¦ÉÊ´ÉÍý</td> 
    102             <td align="right">200/10</td> 
     98        <{section name=cnt loop=$option_list}> 
     99        <tr class="<{cycle values="even,odd"}>"> 
     100            <td><a href="#"><{$option_list[cnt].option_text}></a></td> 
     101            <td align="center"><{$option_list[cnt].status}></td> 
     102            <td align="center"><{$option_list[cnt].category_id}></td> 
     103            <td align="right"><{$option_list[cnt].option_count}>/<{$option_list[cnt].minus_count}></td> 
    103104        </tr> 
     105        <{/section}> 
    104106    </table> 
    105107    <!--Í×˾°ìÍ÷¥Æ¡¼¥Ö¥ë--> 
Note: See TracChangeset for help on using the changeset viewer.