From eb061f5119325e666f0dff40d4089e5c1df58e17 Mon Sep 17 00:00:00 2001 From: cvs2git Date: Sun, 16 Mar 2008 19:58:34 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'TRIXBOX_2_6'. --- httemplate/elements/header.html | 263 ---------------------------------------- 1 file changed, 263 deletions(-) delete mode 100644 httemplate/elements/header.html (limited to 'httemplate/elements/header.html') diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html deleted file mode 100644 index 0ee6f9c9e..000000000 --- a/httemplate/elements/header.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - <% $title %> - - - - - - <% include('menu.html', 'freeside_baseurl' => $fsurl, - 'position' => $menu_position, - ) - %> - - - - <% $head %> - - - <% $etc %> STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0"> - - - - - - - - - -
freeside - <% $conf->config('company_name') || 'ExampleCo' %> - Logged in as <% getotaker %> 
Preferences 
-
- - - - -% if ( $conf->config('ticket_system') eq 'RT_Internal' ) { -% eval "use RT;"; - - - -% } - - - -
- - Freeside v<% $FS::VERSION %>
- ">Documentation
-
-
- - RT v<% $RT::VERSION %>
-
Documentation
-
-
- -
- - - - - - - - -% if ( $menu_position eq 'top' ) { - - - - - - - - - - - - - - - -% } - - - - - - - - - - - - - - - - -
- -
-
-
-
- -
-
-% if ( $FS::CurrentUser::CurrentUser->access_right('List customers') ) { -
-
- Advanced - -
-% } -
-% if ( $conf->exists('address2-search') ) { -
- - -
- -
-% } -
-% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) { - -
- -% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) { - - Advanced -% } - -
- -
-% } -
-
-
- Advanced - -
-
-% if ( $conf->config("ticket_system") ) { -
-
- Advanced - -
-% } -
- - - - - -% if ( $menu_position eq 'left' ) { - - - - -% } - - - - - - - -% if ( $menu_position eq 'left' ) { - - - - -% } - -
- -
- - -
- - - <% $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') - || 'left'; - - -- cgit v1.2.1