X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=0e69b19cafeb747b0b4555e7fc5c1e7e9d6ff955;hb=0c81ee14be99875c8f9f9e34a442a23543333611;hp=2be2c793821772920be528a16e53067bb29cb018;hpb=64dc1bb0f70ccc0b828cc1d758cd82f040e0ec33;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 2be2c7938..0e69b19ca 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -1,48 +1,56 @@ -<% - my($title, $menubar) = ( shift, shift ); - my $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc. - my $head = @_ ? shift : ''; #$head is for things that go in the
section - my $conf = new FS::Conf; -%> +% +% my($title, $menubar) = ( shift, shift ); +% my $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc. +% my $head = @_ ? shift : ''; #$head is for things that go in the section +% my $conf = new FS::Conf; +% +% +- - | +- <%= $conf->config('company_name') || 'ExampleCo' %> + <% $conf->config('company_name') || 'ExampleCo' %> | -Logged in as <%= getotaker %>  Preferences + | Logged in as <% getotaker %> Preferences |
|
- Freeside v<%= $FS::VERSION %> - Documentation + Freeside v<% $FS::VERSION %> + ">Documentation |
- <% if ( $conf->config('ticket_system') eq 'RT_Internal' ) { %>
- <% eval "use RT;"; %>
+% if ( $conf->config('ticket_system') eq 'RT_Internal' ) {
+% eval "use RT;";
+
- RT v<%= $RT::VERSION %> + RT v<% $RT::VERSION %> Documentation |
- <% } %>
+% }
+
+ | ||||||||
- | +- | +- | +- +% } + + | + ++ | + ++ + | +
- | - | + | + | |
@@ -112,15 +184,15 @@
document.write(myBar);
- + |
- - | + | + |
- <%= $title %>
+ <% $title %>
- <%= $menubar !~ /^\s*$/ ? "$menubar " : '' %> + <% $menubar !~ /^\s*$/ ? "$menubar " : '' %> |