summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/header-cust_main.html2
-rw-r--r--httemplate/elements/header-full.html14
2 files changed, 15 insertions, 1 deletions
diff --git a/httemplate/elements/header-cust_main.html b/httemplate/elements/header-cust_main.html
index a481881c5..d0dc1db57 100644
--- a/httemplate/elements/header-cust_main.html
+++ b/httemplate/elements/header-cust_main.html
@@ -13,7 +13,7 @@ Examples:
'title' => $title,
'title_noescape' => $title_noescape,
'head' => $head,
- 'nobr' => 1,
+ #'nobr' => 1,
'etc' => $opt{'etc'},
}
&>
diff --git a/httemplate/elements/header-full.html b/httemplate/elements/header-full.html
index fe02650f1..59e27851b 100644
--- a/httemplate/elements/header-full.html
+++ b/httemplate/elements/header-full.html
@@ -193,6 +193,20 @@ Example:
<% $title_noescape || encode_entities($title) %>
</H1>
+% my %cookies = CGI::Cookie->fetch($r);
+% if ( $cookies{freeside_status} ) {
+ <BR>
+% foreach my $status_msg ( $cookies{freeside_status}->value ) {
+ <TABLE CLASS="fsinnerbox" STYLE="background-color:#eeffee"><TR>
+ <TD><IMG SRC="<% $fsurl %>images/tick.png"> <% $status_msg |h %></TD>
+ </TR></TABLE>
+% }
+ <script src="<% $fsurl %>elements/js.cookie.js"></script>
+ <SCRIPT TYPE="text/javascript">
+ Cookies.remove('freeside_status', { path: '/' });
+ </SCRIPT>
+% }
+
% unless ( $nobr ) {
<BR>
% }