X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=c6b10e30155ee3df17c0cbf6a1faa8aee2af7020;hb=41fc6d0a8aa5921638ac2767265a7528855a5251;hp=0a939aa9e32b662abf633c17c3d4d60882dac3ac;hpb=9c8e3bcad078ed4d4d0f13369210db0fe7aa1ce5;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 0a939aa9e..c6b10e301 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,274 +1,6 @@ - - -
-- | - <% $conf->config('company_name') || 'ExampleCo' %> - | -Logged in as <% getotaker %> Preferences - |
- |
-
-
|
-
- | |||||
- - | - -|||||
- | -|||||
- | -|||||
- - | - --% if ( $FS::CurrentUser::CurrentUser->access_right('List customers') ) { - -% } - | - --% if ( $conf->exists('address2-search') ) { - -% } - | - --% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { - - -% } - | - -- - | - --% if ( $conf->config("ticket_system") ) { - -% } - | - -
- | - -% } - - | - - |
-
- - - - |
- - -% } - - |
-
-
- <% $title %>
-
-
- - <% $menubar !~ /^\s*$/ ? "$menubar " : '' %> -<%init> - -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; - -my $menu_position = $FS::CurrentUser::CurrentUser->option('menu_position') - || 'top'; #new default for 1.9 - -%init> |