X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader-cust_main.html;h=f29f32567f40bbf6e2557c9781265bd63377ef62;hb=a8d62307b05d924d3304fd7cf18177e2fc1c91f7;hp=ca0b52252849f55c7cd9689df27c0f2a2f494546;hpb=06c85c354d546ca68320c8c2a4fb3dbc34750e0a;p=freeside.git
diff --git a/httemplate/elements/header-cust_main.html b/httemplate/elements/header-cust_main.html
index ca0b52252..f29f32567 100644
--- a/httemplate/elements/header-cust_main.html
+++ b/httemplate/elements/header-cust_main.html
@@ -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:
% }
% }
-
<& /view/cust_main/menu.html, cust_main => $cust_main, show => $opt{'view'} &>
@@ -56,7 +55,6 @@ function areyousure_popup(message, action, actionlabel) {
}
-
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
@@ -87,10 +85,4 @@ $status .= ' (Cancelled)' if $cust_main->is_status_delay_cancel;
$title_noescape .= ' ('. $status. ')';
$title .= " ($status)";
-my $ie_compat = $conf->config('ie-compatibility_mode');
-my $head = '';
-if ( $ie_compat ) {
- $head = qq();
-}
-
%init>