X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=c6b10e30155ee3df17c0cbf6a1faa8aee2af7020;hp=10e4e40f1dba7e48a89c75b53810c7ed68a282b7;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hpb=673b9a458d9138523026963df6fa3b4683e09bae diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 10e4e40f1..c6b10e301 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,21 +1,6 @@ -<% - my($title, $menubar) = ( shift, shift ); - my $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc. - my $head = @_ ? shift : ''; #$head is for things that go in the section -%> - - - - <%= $title %> - - - - - <%= $head %> - - > - - <%= $title %> - -

- <%= $menubar ? "$menubar

" : '' %> +% # for testing, disable the page menus/search boxes +% if ( $FS::CurrentUser::CurrentUser->option('header-minimal') ) { +<& header-minimal.html, @_ &> +% } else { +<& header-full.html, @_ &> +% }