X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=5c4d736d23ab526518d07e982e34fb764a97e6aa;hb=7a7bcda9d75c951df9c911ce60d5b0551765daf2;hp=8527d26a57877129d05a972d3ee5aa6cfa3a2d50;hpb=4c466cd798c37aa751c4411117c1b7feffaea7ff;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 8527d26a5..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 %> | +