X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=5c4d736d23ab526518d07e982e34fb764a97e6aa;hp=0a939aa9e32b662abf633c17c3d4d60882dac3ac;hb=43e42a04ae37ca7a84c05d9ff8b94d9f8cde6dcf;hpb=9c8e3bcad078ed4d4d0f13369210db0fe7aa1ce5 diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 0a939aa9e..5c4d736d2 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 %> [ logout ] 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 + |
@@ -248,6 +295,15 @@ input.fsblackbuttonselected {
<% include('/elements/about_freeside.html') |n %> | +
<% include('/elements/about_rt.html') |n %> | +