X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=495923c4d66540d613810e0b92b8dc4bfe38aacf;hb=03ceab71dad1e5eb366865d304e5e459cc905ce4;hp=0ee6f9c9e016defe2a7d0a64ddea1c24522b7f00;hpb=737b7470eed9fc4079a32216a54a003fbf075204;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 0ee6f9c9e..495923c4d 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,4 +1,26 @@ +<%doc> + +Example: + + include( '/elements/header.html', + { + 'title' => 'Title', + 'menubar' => \@menubar, + 'etc' => '', #included in
tag, for things like onLoad= + 'head' => '', #included before closing tag + 'nobr' => 0, #1 for no- | - <% $conf->config('company_name') || 'ExampleCo' %> + | + | + <% $company_name || 'ExampleCo' %> | -Logged in as <% getotaker %> Preferences - |
-
-
-
| Logged in as <% getotaker %> Preferences +% if ( $conf->config("ticket_system") +% && FS::TicketSystem->access_right(\%session, 'ModifySelf') ) { + | Ticketing preferences +% } + |
+ | ||||||||||||||
+ | + + |
+
|
+
||||||||||||
+ | ||||||||||||||
+ | ||||||||||||||
- - + |
-% if ( $FS::CurrentUser::CurrentUser->access_right('View invoices') ) {
-
+% if ( $curuser->access_right('View invoices') ) {
- + |
- + |
+% if ( $curuser->access_right('View customer services') ) {
- Advanced - + + Advanced + |
- + |
% if ( $conf->config("ticket_system") ) {
- Advanced - + + Advanced + |
@@ -237,6 +293,15 @@ input.fsblackbuttonselected {
<% include('/elements/about_freeside.html') |n %> | +
<% include('/elements/about_rt.html') |n %> | +