Option to ignore old CDRs, RT#81480
[freeside.git] / httemplate / elements / header.html
index 1d7bf09..6df45fb 100644 (file)
@@ -1,19 +1,7 @@
-<%
-  my($title, $menubar) = @_;
-  my $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc.
-%>
-    <HTML>
-      <HEAD>
-        <TITLE>
-          <%= $title %>
-        </TITLE>
-        <META HTTP-Equiv="Cache-Control" Content="no-cache">
-        <META HTTP-Equiv="Pragma" Content="no-cache">
-        <META HTTP-Equiv="Expires" Content="0"> 
-      </HEAD>
-      <BODY BGCOLOR="#e8e8e8"<%= $etc %>>
-          <FONT SIZE=6>
-            <%= $title %>
-          </FONT>
-          <BR><BR>
-          <%= $menubar ? "$menubar<BR><BR>" : '' %>
+% # for testing, disable the page menus/search boxes
+% if ( $FS::CurrentUser::CurrentUser->option('header-minimal') ) {
+<& header-minimal.html, @_ &>
+% } else {
+<& header-full.html, @_ &>
+% }
+<& /misc/edge_browser_check-header.html &>