use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$this->out(Zen::PerlHandler->get("IIf6356e92d93d1129de69f6ad31c6a9d9->mnt_promo_types")->do($this->{C}));$this->out("\n<div style=\"text-align: center\">\n\nTemplates:\n\n");my $in = $C->{PromoTypes};my $loop = ref($in) eq "ARRAY" ? $in : ref($in) eq "CODE" ? &{$in} : [];$C->{ITERATION}{t} = -1;for my $f (@$loop) {$C->{ITERATION}{t}++;$C->{t} = $f;$this->out("");if ( $C->{ITERATION}{t} ) {$this->out("	|\n");}$this->out("");if ( $C->{ENV}{PATH_INFO} =~ /tmpl\.html/ && $C->{INPUT}{TabCustom1} eq $C->{t}{name} ) {$this->out("		<b id=\"PromogenCurrType\">$C->{t}{title_menu}</b>\n");} else {$this->out("		<a class=\"jinTableLink\" href=\"$C->{SYS}{URL}/master/plugins/promogen/tmpl.html?TabCustom1=$C->{t}{name}\">$C->{t}{title_menu}</a>\n");}$this->out("");}$this->out("\n");if ( $C->{ENV}{PATH_INFO} =~ /tmpl\.html/ ) {$this->out("	<br><br>\n	<a class=\"jinTableLink\" href=\"$C->{SYS}{URL}/master/plugins/promogen.html\">Return to generator</a>\n");}$this->out("\n</div>\n<br>\n");}