X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;fp=httemplate%2Felements%2Fheader.html;h=4f5015e7a11ecb24026964bf45385393554cb376;hp=c6ad3c387abcb4f55738c49c2f5cb00f084ae4d6;hb=3ff1fb4e10fdaef86527c10bd416e988d2a62a49;hpb=b70a4b7f41c84aefd7f273974db59e5c37fc368b
diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html
index c6ad3c387..4f5015e7a 100644
--- a/httemplate/elements/header.html
+++ b/httemplate/elements/header.html
@@ -2,18 +2,18 @@
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
after the title
- }
- );
-
- #old-style
- include( '/elements/header.html', 'Title', $menubar, $etc, $head);
+ <& /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
after the title
+ }
+ &>
+
+ %#old-style
+ <& /elements/header.html, 'Title', $menubar, $etc, $head &>
%doc>
@@ -41,13 +41,6 @@ Example:
<% include('init_overlib.html') |n %>
<% include('rs_init_object.html') |n %>
- <% include('logout.html') |n %>
-% my $timeout = $conf->config('logout-timeout');
-% if ( $timeout && $timeout =~ /^\s*\d+\s*$/ ) {
-
-% }
<% $head |n %>
@@ -59,7 +52,7 @@ Example:
<% $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
|