X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Fheader.html;h=8a9cb8526ef7407e61a5588a3ba38478b8147c95;hb=9a778387bc4bfc97d28b25a9c123700fc6c15062;hp=5c4d736d23ab526518d07e982e34fb764a97e6aa;hpb=43e42a04ae37ca7a84c05d9ff8b94d9f8cde6dcf;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 5c4d736d2..8a9cb8526 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -24,7 +24,7 @@ Example: - <% $title %> + <% $title |h %> @@ -77,153 +77,64 @@ Example: <% $head |n %> - <% $etc |n %> STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0"> + 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,48 +182,22 @@ input.fstext { - - -% if ( $menu_position eq 'left' ) { - - - - -% } - - - - - % if ( $menu_position eq 'left' ) { - - % } -
+ -
- - - - - - - - - -
<% include('/elements/about_freeside.html') |n %>
<% include('/elements/about_rt.html') |n %>
-
+ - <% $title %> + <% $title |h %> % unless ( $nobr ) {