summaryrefslogtreecommitdiff
path: root/httemplate/elements/header-popup.html
diff options
context:
space:
mode:
authorivan <ivan>2011-11-11 23:59:50 +0000
committerivan <ivan>2011-11-11 23:59:50 +0000
commit0ee87ce2f12ab1ba734f6d2b60c60469c07f9b8c (patch)
tree5f9a3319673abfb713a71b93cd9292165e753e25 /httemplate/elements/header-popup.html
parent898abe13b00b7dec565740cede15a92810335349 (diff)
DSL status pulling, RT#13656
Diffstat (limited to 'httemplate/elements/header-popup.html')
-rw-r--r--httemplate/elements/header-popup.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html
index d94f7eb48..472a7325e 100644
--- a/httemplate/elements/header-popup.html
+++ b/httemplate/elements/header-popup.html
@@ -2,15 +2,15 @@
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
- }
- );
+ <& /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);
@@ -29,14 +29,14 @@ Example:
</HEAD>
<BODY <% $etc %>>
<link href="<%$fsurl%>elements/freeside.css" type="text/css" rel="stylesheet">
+% if ( $title ) {
<FONT SIZE=6>
<CENTER><% $title |h %></CENTER>
</FONT>
-
+% }
% unless ( $nobr ) {
<BR><!--<BR>-->
% }
-
<%init>
my( $title, $menubar, $etc, $head ) = ( '', '', '', '' );