diff options
author | ivan <ivan> | 2007-06-29 21:06:52 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-06-29 21:06:52 +0000 |
commit | a5ca508ed3bf1bcb03df26d35d1316b3c313820a (patch) | |
tree | 9bf0e953f673c60fb913e5518fd7413564f6027e /httemplate/view/svc_www.cgi | |
parent | fb53325987efe2e57ea4ba23483e0091527bc803 (diff) |
add regular header/footer to svc_www view and edit
Diffstat (limited to 'httemplate/view/svc_www.cgi')
-rw-r--r-- | httemplate/view/svc_www.cgi | 29 |
1 files changed, 14 insertions, 15 deletions
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!<A HREF="${p}edit/svc_www.cgi?$svcnum">Edit this information</A><BR>!. + +<% 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!<A HREF="${p}edit/svc_www.cgi?$svcnum">Edit this information</A><BR>!. % ntable("#cccccc"). '<TR><TD>'. ntable("#cccccc",2). % qq!<TR><TD ALIGN="right">Service number</TD>!. % qq!<TD BGCOLOR="#ffffff">$svcnum</TD></TR>!. @@ -83,8 +84,6 @@ % % %print '</TABLE></TD></TR></TABLE>'. -% '<BR>'. joblisting({'svcnum'=>$svcnum}, 1). -% '</BODY></HTML>' -%; -% +% '<BR>'. joblisting({'svcnum'=>$svcnum}, 1); +<% include('/elements/footer.html') %> |