X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Fheader-popup.html;h=327673bc648f35a8fd8886646ffc4fa89c112e80;hb=560af69840e7e3fcebf65d5d56ca4efc0851efec;hp=73377abfe5fb4d8fc0971d8d94f63b2ea16bdd97;hpb=3f19b759d4cb69bdf92e18b77a4c810d76d1b38d;p=freeside.git
diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html
index 73377abfe..327673bc6 100644
--- a/httemplate/elements/header-popup.html
+++ b/httemplate/elements/header-popup.html
@@ -1,22 +1,79 @@
-<%
- 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;
-%>
+<%doc>
+
+Example:
+
+ <& /elements/header-popup.html,
+ {
+ 'title' => 'Title',
+ 'menubar' => \@menubar,
+ 'etc' => '', #included in tag, for things like onLoad=
+ 'head' => '', #included before closing tag
+ 'nobr' => 0, #1 for no