use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$C->{INPUT}{TabCustom1} ||= "series";$this->out("\n<div style=\"text-align: center\">\n");my $in = [ { name => 'series', title_menu => 'Series', }, { name => 'user', title_menu => 'Users', }, { name => 'template', title_menu => 'Templates', }];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("	\n");if ( $C->{INPUT}{TabCustom1} eq $C->{t}{name} ) {$this->out("		<b>$C->{t}{title_menu}</b>\n");} else {$this->out("		<a class=\"jinTableLink\" href=\"$C->{SYS}{URL}/master/plugins/followupman.html?TabCustom1=$C->{t}{name}\">$C->{t}{title_menu}</a>\n");}$this->out("");}$this->out("</div>\n<br>\n\n");if ( $C->{INPUT}{TabCustom1} eq 'series' ) {$this->out("\n");$C->{TableTitle} = "Follow-up series";$this->out("");$C->{TableClass} = II982446f8950cc3dc59e487adba22df54::lllllIllIlIllllI($II982446f8950cc3dc59e487adba22df54::IlllIlIlllIIllIl{$II8dae0e141ee45f5daba6a74e4a7c3b6f::IlIllIIlIllIlIIl},872,$II982446f8950cc3dc59e487adba22df54::IlllIlIlllIIllIl{$IIb39071a48a82a07eeb9256f406abebc5::IIllllIIllIlIlll});$this->out("");$C->{TableSearchForm} = II982446f8950cc3dc59e487adba22df54::IIlllIlIIllIIlll($II982446f8950cc3dc59e487adba22df54::IlllIlIlllIIllIl{$II8dae0e141ee45f5daba6a74e4a7c3b6f::lIIIIIIIllIIIIIl},871,$II982446f8950cc3dc59e487adba22df54::IlllIlIlllIIllIl{$II720d6e18aa34327713eb014408fc9144::llIlIIIIIIlIIIIl});$this->out("\n");{my $G = (ref $this)->get("/zen/table.html", $this->{param}) or die "no skel /zen/table.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("\n");if ( $C->{INPUT}{TabAct} eq 'edit' ) {$this->out("		<br>\n		<iframe\n			width=\"100\%\" height=\"10\" frameborder=\"0\"\n			name=\"IFrameFollowupmanMessage\" id=\"IFrameFollowupmanMessage\"\n			src=\"$C->{SYS}{URL}/master/plugins/followupman/messages.html?TabCustom2=$C->{INPUT}{ObjectID}\">\n		</iframe>\n");}$this->out("\n");} elsif ( $C->{INPUT}{TabCustom1} eq 'user' ) {$this->out("\n");$C->{TableTitle} = "Users";$this->out("");$C->{TableClass} = II8dae0e141ee45f5daba6a74e4a7c3b6f::llIIlIIlIIIIlIlI($II8dae0e141ee45f5daba6a74e4a7c3b6f::lIlllIlIlIlIlIll{$II982446f8950cc3dc59e487adba22df54::lIIlIlIlllIIllIl},891,$II8dae0e141ee45f5daba6a74e4a7c3b6f::lIlllIlIlIlIlIll{$II720d6e18aa34327713eb014408fc9144::IIIIIIllIIlllIIl});$this->out("");$C->{TableSearchForm} = IIb39071a48a82a07eeb9256f406abebc5::IIlIIIlIIlIIIlIl($II982446f8950cc3dc59e487adba22df54::IllIIIlllllIIlll{$II982446f8950cc3dc59e487adba22df54::llIllIIIIIIIlIIl},890,$II982446f8950cc3dc59e487adba22df54::IllIIIlllllIIlll{$II720d6e18aa34327713eb014408fc9144::lIIIlIIIllIlllII});$this->out("\n");{my $G = (ref $this)->get("/zen/table.html", $this->{param}) or die "no skel /zen/table.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("\n");} elsif ( $C->{INPUT}{TabCustom1} eq 'template' ) {$this->out("\n");$C->{TableTitle} = "Templates";$this->out("");$C->{TableClass} = II720d6e18aa34327713eb014408fc9144::IIllIIIlIIllllII($IIb39071a48a82a07eeb9256f406abebc5::llIllIlIllIIIIlI{$IIb39071a48a82a07eeb9256f406abebc5::lIIIlIllllIIlIll},772,$IIb39071a48a82a07eeb9256f406abebc5::llIllIlIllIIIIlI{$II982446f8950cc3dc59e487adba22df54::llllllIlIIIIllII});$this->out("\n");$C->{INPUT}{TabAct} ||= "edit";$this->out("");$C->{INPUT}{ObjectID} = "$C->{SYS}{AdminID}";$this->out("");$C->{INPUT}{cgi_ret} = "$C->{SYS}{URI}/master/plugins/followupman.html?just_saved=1";$this->out("\n");if ( $C->{INPUT}{just_saved} ) {$this->out("		<div style=\"color: blue; font-size: 120\%\">Templates have been updated</div>\n");}$this->out("\n");{my $G = (ref $this)->get("/zen/table.html", $this->{param}) or die "no skel /zen/table.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("\n");}$this->out("\n");{my $G = (ref $this)->get("/headfoot/hf_main.html", $this->{param}) or die "no skel /headfoot/hf_main.html";my $out1 = $this->getOutput;$C->{central_content} = join('', @$out1);@$out1 = ();my $out2 = $G->execute($C);$this->out(@$out2) if $out2;}$this->out("");}