summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-07-26 23:00:00 +0000
committerivan <ivan>2010-07-26 23:00:00 +0000
commit8fee1eff267694b2f0bcd5ecc732b814034ba612 (patch)
tree54a2628f9a512a50b4bd893542485d4855444afb
parentb9d57f0848ffe4d3cc97de49c9e7c55fecf6c26d (diff)
add doc
-rw-r--r--httemplate/elements/header-popup.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html
index cd8da5657..2bd4a96e8 100644
--- a/httemplate/elements/header-popup.html
+++ b/httemplate/elements/header-popup.html
@@ -1,3 +1,21 @@
+<%doc>
+
+Example:
+
+ include( '/elements/header-popup.html',
+ {
+ 'title' => 'Title',
+ 'menubar' => \@menubar,
+ 'etc' => '', #included in <BODY> tag, for things like onLoad=
+ 'head' => '', #included before closing </HEAD> tag
+ 'nobr' => 0, #1 for no <BR><BR> after the title
+ }
+ );
+
+ #old-style
+ include( '/elements/header.html', 'Title', $menubar, $etc, $head);
+
+</%doc>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>