X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=c6b10e30155ee3df17c0cbf6a1faa8aee2af7020;hb=ea749c5e875371d98bdcf173e19a2d57fa46481e;hp=ea8c418c3fd7d690c85797ef6d10bc53483e24be;hpb=b19897e1db4c110d7d7e8b52800cda5ab58ce9e0;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index ea8c418c3..c6b10e301 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,191 +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 - my $conf = new FS::Conf; - -%> - - - -- | - <%= $conf->config('company_name') || 'ExampleCo' %> - | -Logged in as <%= getotaker %>  Preferences - |
- |
-
-
|
-
- | ||||
- - | - -- - | - -- <% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { %> - - <% } %> - | - -- - | - -- - | - -
- | - | - |
-
- - - - |
- - |
-
-
- <%= $title %>
-
-
- - <%= $menubar !~ /^\s*$/ ? "$menubar " : '' %> +% # for testing, disable the page menus/search boxes +% if ( $FS::CurrentUser::CurrentUser->option('header-minimal') ) { +<& header-minimal.html, @_ &> +% } else { +<& header-full.html, @_ &> +% } |