{* $Header: /cvsroot/tikiwiki/tiki/templates/debug/tiki-debug_watch_tab.tpl,v 1.1.2.2 2003/07/26 01:47:26 zaufi Exp $ *}

<table width="100%" id="watchlist">
  <caption> {tr}Watchlist{/tr} </caption>
  <tr>
    <td class="heading">Variable</td>
    <td class="heading">Value</td>
  </tr>
  {cycle values="even,odd" print=false}
  {section name=i loop=$watchlist}
    <tr>
      <td class="{cycle advance=false}"{if $smarty.section.i.index == 0} id="firstrow"{/if}>
        <code>{$watchlist[i].var}</code>
      </td>
      <td class="{cycle}"{if $smarty.section.i.index == 0} id="firstrow"{/if}>
        <pre>{$watchlist[i].value|escape:"html"|wordwrap:60:"\n":true|replace:"\n":"<br/>"}</pre>
      </td>
    </tr>
  {/section}
</table>