[freeside-commits] freeside/httemplate/elements header-popup.html, NONE, 1.1

Ivan,,, ivan at wavetail.420.am
Wed Jun 21 05:57:38 PDT 2006


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail:/tmp/cvs-serv29316

Added Files:
	header-popup.html 
Log Message:
adding a header element for popups to replace CGI::header

--- NEW FILE: header-popup.html ---
<%
  my($title, $menubar) = ( shift, shift ); #$menubar is unused here though
  my $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc.
  my $head = @_ ? shift : ''; #$head is for things that go in the <HEAD> section
  my $conf = new FS::Conf;
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<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 %>
  </HEAD>
  <BODY BGCOLOR="#e8e8e8" <%= $etc %>>
    <FONT SIZE=6>
      <CENTER><%= $title %></CENTER>
    </FONT>
    <BR><!--<BR>-->



More information about the freeside-commits mailing list