From a5ca508ed3bf1bcb03df26d35d1316b3c313820a Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 29 Jun 2007 21:06:52 +0000 Subject: add regular header/footer to svc_www view and edit --- httemplate/view/svc_www.cgi | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'httemplate/view') diff --git a/httemplate/view/svc_www.cgi b/httemplate/view/svc_www.cgi index c503d1829..37f186465 100644 --- a/httemplate/view/svc_www.cgi +++ b/httemplate/view/svc_www.cgi @@ -44,17 +44,18 @@ % or die "svc_www: Unknown recnum ". $svc_www->recnum; % %my $www = $domain_record->zone; -% -%print header('Website View', menubar( -% ( ( $custnum ) -% ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum", -% ) -% : ( "Cancel this (unaudited) website" => -% "${p}misc/cancel-unaudited.cgi?$svcnum" ) -% ), -% "Main menu" => $p, -%)). -% qq!Edit this information
!. + +<% include("/elements/header.html", "Website View", menubar( + ( ( $custnum ) + ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum", + ) + : ( "Cancel this (unaudited) website" => + "${p}misc/cancel-unaudited.cgi?$svcnum" ) + ), + )) +%> + +%print qq!Edit this information
!. % ntable("#cccccc"). ''. ntable("#cccccc",2). % qq!Service number!. % qq!$svcnum!. @@ -83,8 +84,6 @@ % % %print ''. -% '
'. joblisting({'svcnum'=>$svcnum}, 1). -% '' -%; -% +% '
'. joblisting({'svcnum'=>$svcnum}, 1); +<% include('/elements/footer.html') %> -- cgit v1.2.1