a few more fixups for our favorite include(...) from Scott Edwards
[freeside.git] / httemplate / view / cust_main.cgi
index 31fd1f8..58f2925 100755 (executable)
@@ -12,7 +12,8 @@ foreach my $part_svc ( qsearch('part_svc',{}) ) {
 
 %>
 
-<%= header("Customer View", menubar(
+<%= include("/elements/header.html","Customer View", 
+       include("/elements/menubar.html",
   'Main Menu' => $p,
 )) %>
 
@@ -55,7 +56,7 @@ if ( $cust_main->payby =~ /^(CARD|DCRD|CHEK|DCHK)$/ ) {
 }
 %>
 
-var confirm_cancel = '<FORM METHOD="POST" ACTION="<%= $p %>misc/cust_main-cancel.cgi"> <INPUT TYPE="hidden" NAME="custnum" VALUE="<%= $custnum %>"> <BR><P ALIGN="center"><B>Perminantly delete all services and cancel this customer?</B> <%= $ban%><BR><P ALIGN="CENTER"> <INPUT TYPE="submit" VALUE="Cancel customer">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="BUTTON" VALUE="Don\'t cancel" onClick="cClick()"> </FORM> ';
+var confirm_cancel = '<FORM METHOD="POST" ACTION="<%= $p %>misc/cust_main-cancel.cgi"> <INPUT TYPE="hidden" NAME="custnum" VALUE="<%= $custnum %>"> <BR><P ALIGN="center"><B>Permanently delete all services and cancel this customer?</B> <%= $ban%><BR><P ALIGN="CENTER"> <INPUT TYPE="submit" VALUE="Cancel customer">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="BUTTON" VALUE="Don\'t cancel" onClick="cClick()"> </FORM> ';
 
 </SCRIPT>
 
@@ -92,12 +93,12 @@ print "This customer's signup URL: ".
 %>
 
 <A NAME="cust_main"></A>
-<%= &itable() %>
+<TABLE BORDER=0>
 <TR>
   <TD VALIGN="top">
     <%= include('cust_main/contacts.html', $cust_main ) %>
   </TD>
-  <TD VALIGN="top">
+  <TD VALIGN="top" STYLE="padding-left: 54px">
     <%= include('cust_main/misc.html', $cust_main ) %>
     <% if ( $conf->config('payby-default') ne 'HIDE' ) { %>
       <BR>