Leser: 2
4 Einträge, 1 Seite |
<TMPL_IF VAR1 OR VAR2 OR VAR3>News und mehr</TMPL_IF>
1
2
3
4
<TMPL_IF VAR1><TMPL_INCLUDE news.html></TMPL_IF>
<TMPL_IF VAR2><TMPL_INCLUDE news.html></TMPL_IF>
<TMPL_IF VAR3><TMPL_INCLUDE news.html></TMPL_IF>
...
1
2
3
4
<TMPL_SWITCH NAME=SWITCH_VAR>
<TMPL_CASE fall1,fall2,fall4><TMPL_INCLUDE news.html>
<TMPL_CASE fall3><TMPL_INCLUDE test.html>
</TMPL_SWITCH>
<TMPL_INCLUDE_VAR NAME=HTMLSEITE>
1 2 3 4 5 6 7
my $page = 'test.html'; if( $var1 or $var2 or $var3 ){ $page = 'news.html'; } $template->param( HTMLSEITE => $page );
4 Einträge, 1 Seite |