X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader-popup.html;h=d94f7eb48d2da9b3c2e01143383891a29df109d3;hb=6b4fe3354a905755f9e6f1810cf94bbc269ce81d;hp=73377abfe5fb4d8fc0971d8d94f63b2ea16bdd97;hpb=3f19b759d4cb69bdf92e18b77a4c810d76d1b38d;p=freeside.git diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html index 73377abfe..d94f7eb48 100644 --- a/httemplate/elements/header-popup.html +++ b/httemplate/elements/header-popup.html @@ -1,22 +1,62 @@ -<% - 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: + + include( '/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