From 3f19b759d4cb69bdf92e18b77a4c810d76d1b38d Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 21 Jun 2006 12:57:36 +0000 Subject: [PATCH] adding a header element for popups to replace CGI::header --- httemplate/elements/header-popup.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 httemplate/elements/header-popup.html diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html new file mode 100644 index 000000000..73377abfe --- /dev/null +++ b/httemplate/elements/header-popup.html @@ -0,0 +1,22 @@ +<% + 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 section + my $conf = new FS::Conf; +%> + + + + + <%= $title %> + + + + + <%= $head %> + + > + +
<%= $title %>
+
+
-- 2.11.0