summaryrefslogtreecommitdiff
path: root/httemplate/elements/menubar.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/menubar.html')
-rw-r--r--httemplate/elements/menubar.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/elements/menubar.html b/httemplate/elements/menubar.html
new file mode 100644
index 0000000..87a5031
--- /dev/null
+++ b/httemplate/elements/menubar.html
@@ -0,0 +1,8 @@
+<%
+ my($item, $url, @html);
+ while (@_) {
+ ($item, $url) = splice(@_,0,2);
+ push @html, qq!<A HREF="$url">$item</A>!;
+ }
+%>
+<%= join(' | ', @html) %>