fix title escaping
[freeside.git] / httemplate / elements / header.html
index 014ac6e..0174e1f 100644 (file)
@@ -23,7 +23,7 @@ Example:
 <HTML>
   <HEAD>
     <TITLE>
-      <% $title %>
+      <% $title_noescape || encode_entities($title) %>
     </TITLE>
     <!-- per RT, to prevent IE compatibility mode -->
     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
@@ -42,6 +42,7 @@ Example:
               ) |n
     %>
 
+    <SCRIPT SRC="<% $fsurl %>elements/jquery.js"></SCRIPT>
     <% include('init_overlib.html') |n %>
     <% include('rs_init_object.html') |n %>
 
@@ -157,6 +158,8 @@ Example:
 
         </TD>
 
+% } else { #$menu_position eq 'top'
+    <BR>
 % }
 %# page content starts here
         <TD CLASS="background" HEIGHT="100%" VALIGN="top"> <!-- WIDTH="100%"> -->
@@ -166,7 +169,7 @@ Example:
           </H1>
 
 % unless ( $nobr ) {
-          <BR><BR>
+          <BR>
 % }
 
           <% $menubar !~ /^\s*$/ ? "$menubar<BR><BR>" : '' %>