X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader-popup.html;h=bd17d2f7d00b101c737c207b60ff356c612d9d27;hb=7c4a50d23058e764d9bb905df21d9ae6f7f01a4f;hp=cd8da56575e80243e708e4d7d56c801ec1df68ec;hpb=55e2a98988c76425ec2dac583b91410eaf835659;p=freeside.git diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html index cd8da5657..bd17d2f7d 100644 --- a/httemplate/elements/header-popup.html +++ b/httemplate/elements/header-popup.html @@ -1,8 +1,26 @@ +<%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

after the title + } + ); + + #old-style + include( '/elements/header.html', 'Title', $menubar, $etc, $head); + + - <% $title %> + <% $title |h %> @@ -12,7 +30,7 @@ > -
<% $title %>
+
<% $title |h %>
% unless ( $nobr ) {