% % 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; % % <% $title %> <% include('menu.html', 'freeside_baseurl' => $fsurl ) %> <% $head %> 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

Advanced
% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) {
% if ( $FS::CurrentUser::CurrentUser->access_right('List invoices') ) { Advanced % }
% }

Advanced

Advanced

<% $title %>

<% $menubar !~ /^\s*$/ ? "$menubar

" : '' %>