Optimize "Customer has a referring customer" condition, RT#74452
[freeside.git] / httemplate / elements / header-cust_main.html
index ca0b522..c094f95 100644 (file)
@@ -3,17 +3,17 @@
 Examples:
 
   <& /elements/header-cust_main.html,
-       view      => 'Basics', #required
+       view      => 'basics', #required
        cust_main => $cust_main, # cust_main or custnum is required
        custnum   => $custnum,   #
   &>
 
 </%doc>
 <& /elements/header.html, {
-             'title' => $title,
+             'title'          => $title,
              'title_noescape' => $title_noescape,
-             'head'  => $head,
-             'nobr'  => 1,
+             #'nobr'           => 1,
+             'etc'            => $opt{'etc'},
           }
 &>
 
@@ -33,7 +33,6 @@ Examples:
 %   }
 </TABLE>
 % }
-
 <& /view/cust_main/menu.html, cust_main => $cust_main, show => $opt{'view'} &>
 <BR>
 
@@ -56,7 +55,6 @@ function areyousure_popup(message, action, actionlabel) {
 }
 </SCRIPT>
 
-<br>
 <%init>
 
 my $curuser = $FS::CurrentUser::CurrentUser;
@@ -87,10 +85,4 @@ $status .= ' (Cancelled)' if $cust_main->is_status_delay_cancel;
 $title_noescape .= ' (<B><FONT COLOR="#'. $cust_main->statuscolor. '">'. $status.  '</FONT></B>)';
 $title .= " ($status)";
 
-my $ie_compat = $conf->config('ie-compatibility_mode');
-my $head = '';
-if ( $ie_compat ) {
-  $head = qq(<meta http-equiv="X-UA-Compatible" content="IE=$ie_compat" />);
-}
-
 </%init>