You have code duplication :) I'd do the same in this way:
<!-- in template.tmpl --> <TMPL_LOOP TABLE1_DATA> <TMPL_INCLUDE table.tmpl> </TMPL_LOOP> <TMPL_LOOP TABLE2_DATA> <TMPL_INCLUDE table.tmpl> </TMPL_LOOP>
<!-- in table.tmpl --> <TR><TD><TMPL_VAR ESCAPE=HTML COLUMN1></TD></TR> <!-- yada yada yada -->
In reply to Re^2: HTML::Template-2 on one
by kappa
in thread HTML::Template-2 on one
by WhiteBird
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |