use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("<form name=Menu action=\"$C->{SYS}{URL}/master/users/massmail.html\" method=GET enctype=\"multipart/form-data\">\n	<input type=\"hidden\" name=\"TabCustom1\" value=\"$C->{INPUT}{TabCustom1}\">\n	\n");my $in = [ { name => 'massmail', title => 'Mass mail' }, { name => 'jobs', title => 'Jobs' }, { name => 'sets', title => 'Settings'} ];my $loop = ref($in) eq "ARRAY" ? $in : ref($in) eq "CODE" ? &{$in} : [];$C->{ITERATION}{i} = -1;for my $f (@$loop) {$C->{ITERATION}{i}++;$C->{i} = $f;$this->out("");if ( $C->{i}{name} ne 'sets' || $C->{LoggedAsAdmin} ) {$this->out("");if ( $C->{ITERATION}{i} ) {$this->out("&nbsp;|&nbsp;");}$this->out("");if ( $C->{i}{name} eq $C->{INPUT}{TabCustom1} ) {$this->out("				<a style=\"font-weight:bold\">$C->{i}{title}</a>\n");} else {$this->out("				<a class=\"jinTableLink\" href=\"#\" onClick=\"document.forms[\'Menu\'].elements[\'TabCustom1\'].value=\'$C->{i}{name}\'; document.forms[\'Menu\'].submit();\">$C->{i}{title}</a>\n");}$this->out("");}$this->out("");}$this->out("	<br><br>\n</form>\n");}