1{* $Id$ *} 2 3<table id="watchlist"> 4 <caption> {tr}Watchlist{/tr} </caption> 5 <tr> 6 <th>Variable</th> 7 <th>Value</th> 8 </tr> 9 10 {section name=i loop=$watchlist} 11 <tr> 12 <td class="{cycle advance=false}"{if $smarty.section.i.index == 0} id="firstrow"{/if}> 13 <code>{$watchlist[i].var}</code> 14 </td> 15 <td{if $smarty.section.i.index == 0} id="firstrow"{/if}> 16 <pre>{$watchlist[i].value|escape:"html"|wordwrap:60:"\n":true|replace:"\n":"<br>"}</pre> 17 </td> 18 </tr> 19 {/section} 20</table> 21