1 2 3 4 5 6 7 8 9 10 11 12 13
sub Run { my ( $Self, %Param ) = @_; # build output my $Output = $Self->{LayoutObject}->CustomerHeader( Title => 'Contact' ); $Output .= $Self->{LayoutObject}->Output( TemplateFile => 'Contact', Data => \%Param, ); $Output .= CustomerFooter(); return $Output; }
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# -- # start html page # -- sub Run { my ( $Self, %Param ) = @_; my $Output = $Self->{LayoutObject}->CustomerHeader(); $Output .= $Self->{LayoutObject}->CustomerNavigationBar(); $Output .= $Self->{LayoutObject}->Output( TemplateFile => 'Contact', Data => \%Param, ); # build footer $Output .= $Self->{LayoutObject}->CustomerFooter(); return $Output; } 1;