X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=c6b10e30155ee3df17c0cbf6a1faa8aee2af7020;hb=51e2a2439d923d63a5a2321864c69f82272cd362;hp=1d7bf09ab4f5058c806c18e8d323dbac0da8979e;hpb=a7319715290dccc7beb414de8d2de24230278a13;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 1d7bf09ab..c6b10e301 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,19 +1,6 @@ -<% - my($title, $menubar) = @_; - my $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc. -%> - - - - <%= $title %> - - - - - - > - - <%= $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, @_ &> +% }