X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=671aba72fd881be4b3ec492344fc780b8dd0c5c6;hb=b5c4237a34aef94976bc343c8d9e138664fc3984;hp=df875f939fd563374271c27141cc963474cfb48b;hpb=457da870c23db87fbbc29d7c667a73f41422dd71;p=freeside.git
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index df875f939..671aba72f 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -1,5 +1,6 @@
<% include('/elements/header.html', {
'title' => $title,
+ 'head' => $head,
'nobr' => 1,
})
%>
@@ -93,15 +94,29 @@ function areyousure(href, message) {
+% my $br = 0;
% if ( $curuser->access_right('Billing event reports')
% || $curuser->access_right('View customer billing events')
% ) {
-
+% $br=1;
View billing events for this customer
-
+% }
+% if ( $conf->config('cust_main-external_links') ) {
+ <% $br++ ? ' | ' : '' %>
+% my @links = split(/\n/, $conf->config('menu-prepend_links'));
+% foreach my $link (@links) {
+% $link =~ /^\s*(\S+)\s+(.*?)(\s*\(([^\)]*)\))?$/ or next;
+% my($url, $label, $alt) = ($1, $2, $4);
+ <% $label |h %>
+% }
% }
+% if ( $br ) {
+
+% }
+%doc>
+
%my $signupurl = $conf->config('signupurl');
%if ( $signupurl ) {
This customer's signup URL: <% $signupurl %>?ref=<% $custnum %>
@@ -307,4 +322,10 @@ my %viewname = reverse %views;
my $view = $cgi->param('show') || $curuser->default_customer_view;
+my $ie_compat = $conf->config('ie-compatibility_mode');
+my $head = '';
+if ( $ie_compat ) {
+ $head = qq();
+}
+
%init>