summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2006-04-09 23:41:01 +0000
committerivan <ivan>2006-04-09 23:41:01 +0000
commit7bdf17a005cf4c0fe8b6b6ad1ce97abaa52a4510 (patch)
treef0450821a9f8a80e53a4120ba29278492a97830f /httemplate
parent36197f0e2889826ddb9a64790150c7c232ba1afb (diff)
a few more fixups for our favorite include(...) from Scott Edwards
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/view/cust_main.cgi3
-rw-r--r--httemplate/view/cust_main/payment_history.html2
-rw-r--r--httemplate/view/cust_main/tickets.html2
3 files changed, 4 insertions, 3 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index 082a93bb7..58f2925d5 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -12,7 +12,8 @@ foreach my $part_svc ( qsearch('part_svc',{}) ) {
%>
-<%= include("/elements/header.html","Customer View", menubar(
+<%= include("/elements/header.html","Customer View",
+ include("/elements/menubar.html",
'Main Menu' => $p,
)) %>
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
index ec99b8c54..a0bec3906 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -358,7 +358,7 @@ foreach my $cust_refund ($cust_main->cust_refund) {
%>
-<%= table() %>
+<%= include("/elements/table.html") %>
<TR>
<TH>Date</TH>
<TH>Description</TH>
diff --git a/httemplate/view/cust_main/tickets.html b/httemplate/view/cust_main/tickets.html
index 72d68152a..5c1d94ee1 100644
--- a/httemplate/view/cust_main/tickets.html
+++ b/httemplate/view/cust_main/tickets.html
@@ -31,7 +31,7 @@
Highest priority tickets
(<A HREF="<%= FS::TicketSystem->href_customer_tickets($cust_main->custnum) %>">View all tickets for this customer</A>)
(<A HREF="<%= FS::TicketSystem->href_new_ticket($cust_main, join(', ', grep { $_ !~ /^(POST|FAX)$/ } $cust_main->invoicing_list ) ) %>">New ticket for this customer</A>)
-<%= table() %>
+<%= include("/elements/table.html") %>
<TR>
<TH>#</TH>
<TH>Subject</TH>