summaryrefslogtreecommitdiff
path: root/httemplate/elements/header.html
diff options
context:
space:
mode:
authorivan <ivan>2009-08-22 00:30:34 +0000
committerivan <ivan>2009-08-22 00:30:34 +0000
commit000f20dff74059f44950c7191beaab951aeae316 (patch)
treef990fd4c3c996bf1eec4dd09f871bd5d8da05ec2 /httemplate/elements/header.html
parent3d76fb8e984b75d67e5f96f51cfd7761a22736e1 (diff)
doc
Diffstat (limited to 'httemplate/elements/header.html')
-rw-r--r--httemplate/elements/header.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html
index 54383bc27..b9ddc7369 100644
--- a/httemplate/elements/header.html
+++ b/httemplate/elements/header.html
@@ -1,4 +1,26 @@
+<%doc>
+
+Example:
+
+ include( '/elements/header.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">
+%#<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+%# above is what RT declares, should we switch now? hopefully no glitches result
+%# or just fuck it, XHTML died anyway, HTML 5 or bust?
<HTML>
<HEAD>
<TITLE>