X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=11211607b97b4ac7e944f71504cccd6399894172;hb=10e462292b42813dce6e1034064c55c7fddd42a4;hp=5c4d736d23ab526518d07e982e34fb764a97e6aa;hpb=43e42a04ae37ca7a84c05d9ff8b94d9f8cde6dcf;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 5c4d736d2..11211607b 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -77,153 +77,64 @@ Example: <% $head |n %> - <% $etc |n %> STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0"> + <% $etc |n %> STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0"> -
freeside <% $company_name || 'ExampleCo' %> Logged in as <% getotaker %>  [ logout ]
Preferences +
Logged in as <% getotaker %>  logout
Preferences % if ( $conf->config("ticket_system") % && FS::TicketSystem->access_right(\%session, 'ModifySelf') ) { - | Ticketing preferences + | Ticketing preferences % }
- - - - - + + % if ( $menu_position eq 'top' ) { - - - - - - - - - - - - % } - - - - - -
+ - - - - - -
<% include('/elements/about_freeside.html') |n %><% include('/elements/about_rt.html') |n %>
-
-
-
+ % if ( $curuser->access_right('List prospects') ) {

- Adv + Adv
% }
+ % if ( $curuser->access_right('List customers') ) {

- Advanced + Advanced
% }
+ % if ( $conf->exists('address2-search') ) {
@@ -234,33 +145,33 @@ input.fstext { % }
+ % if ( $curuser->access_right('View invoices') ) { % if ( $curuser->access_right('List invoices') ) { - Adv\ + Adv\ % }
% }
+ % if ( $curuser->access_right('View customer services') ) {

- Advanced + Advanced
% }
+ % if ( $conf->config("ticket_system") ) {

- Advanced + Advanced
% } @@ -271,31 +182,18 @@ input.fstext { - - -% if ( $menu_position eq 'left' ) { - - - - -% } - - - - - % if ( $menu_position eq 'left' ) { -
+
- +
@@ -309,7 +207,7 @@ input.fstext { % } -
<% include('/elements/about_freeside.html') |n %>
+ <% $title %>