Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git] / httemplate / elements / header-cust_main.html
index ca0b522..f29f325 100644 (file)
@@ -3,19 +3,19 @@
 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_noescape' => $title_noescape,
-             'head'  => $head,
-             'nobr'  => 1,
-          }
-&>
+    'title'           => $title,
+    'title_noescape'  => $title_noescape,
+    #'nobr'           => 1,
+    'etc'             => $opt{'etc'},
+    include_selectize => $opt{include_selectize} ? 1 : 0,
+&>
 
 % my @part_tag = $cust_main->part_tag;
 % if ( $conf->config('cust_tag-location') eq 'top' && @part_tag ) {
@@ -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>