[Rt-commit] r7975 - in rt/branches/3.7-EXPERIMENTAL: . html/Widgets

jesse at bestpractical.com jesse at bestpractical.com
Sun Jun 3 15:37:57 EDT 2007


Author: jesse
Date: Sun Jun  3 15:37:57 2007
New Revision: 7975

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowHistory
   rt/branches/3.7-EXPERIMENTAL/html/Widgets/TitleBoxStart

Log:
 r57893 at pinglin:  jesse | 2007-06-03 15:35:01 -0400
 * Switch to escaping titlebox titles by default


Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowHistory
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowHistory	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowHistory	Sun Jun  3 15:37:57 2007
@@ -77,7 +77,7 @@
     }
 </%perl>
 <div class="history">
-<& /Widgets/TitleBoxStart, title => $title, titleright => $titleright &>
+<& /Widgets/TitleBoxStart, title => $title, titleright_raw => $titleright &>
 % }
 
 <div id="ticket-history">

Modified: rt/branches/3.7-EXPERIMENTAL/html/Widgets/TitleBoxStart
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Widgets/TitleBoxStart	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Widgets/TitleBoxStart	Sun Jun  3 15:37:57 2007
@@ -50,8 +50,8 @@
 % if ($hideable) {
     <span class="widget"><a href="#" onclick="return rollup('<%$tid%>');" onfocus="this.blur(); return false;" title="Toggle visibility">X</a></span>
 % }
-    <span class="left"><% $title_href && qq[<a href="$title_href">] | n %><% $title |n %><% $title_href && "</a>" |n%></span>
-    <span class="right"><% $titleright_href && qq[<a href="$titleright_href">] | n %><% $titleright |n %><% $titleright_href && "</a>" |n%></span>
+    <span class="left"><% $title_href && qq[<a href="$title_href">] | n %><% $title  %><% $title_href && "</a>" |n%></span>
+    <span class="right"><% $titleright_href && qq[<a href="$titleright_href">] | n %><% $titleright  %><% $titleright_raw |n%> <% $titleright_href && "</a>" |n%></span>
   </div>
   <div class="titlebox-content <% $bodyclass %>" id="<% $tid %>">
 
@@ -64,6 +64,7 @@
 $title_class => ''
 $titleright_href => ''
 $titleright => ''
+$titleright_raw => ''
 $contentbg => "#dddddd"
 $color => "#336699"
 $id => ''


More information about the Rt-commit mailing list