diff options
| author | ivan <ivan> | 2007-06-29 21:07:25 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2007-06-29 21:07:25 +0000 |
| commit | e8438717edea7a2c07cfd955dcc32c2e062642f9 (patch) | |
| tree | 9b2c4f25b753393ffafefad4abb6db7971d82033 /httemplate/view | |
| parent | ec3f3c46497ea42e4b360707f8c158b7eba2c1da (diff) | |
add regular header/footer to svc_www view and edit
Diffstat (limited to 'httemplate/view')
| -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') %> |
