[Rt-commit] r9504 - rt/branches/3.7-RTIR-RELENG/html/Widgets/Form
ruz at bestpractical.com
ruz at bestpractical.com
Tue Oct 30 12:31:09 EDT 2007
Author: ruz
Date: Tue Oct 30 12:31:08 2007
New Revision: 9504
Modified:
rt/branches/3.7-RTIR-RELENG/html/Widgets/Form/Boolean
Log:
* don't apply escapes otherwise checked="checked" becomes checked="checked",
what is quite incorrect
Modified: rt/branches/3.7-RTIR-RELENG/html/Widgets/Form/Boolean
==============================================================================
--- rt/branches/3.7-RTIR-RELENG/html/Widgets/Form/Boolean (original)
+++ rt/branches/3.7-RTIR-RELENG/html/Widgets/Form/Boolean Tue Oct 30 12:31:08 2007
@@ -69,13 +69,13 @@
</%ARGS>
% unless ( $Default ) {
<input type="hidden" name="<% $Name %>" value="0" />\
-<input type="checkbox" name="<% $Name %>" value="1" <% $CurrentValue? 'checked="checked"': '' %> />\
+<input type="checkbox" name="<% $Name %>" value="1"<% $CurrentValue? ' checked="checked"': '' |n %> />\
% } else {
-<input type="radio" name="<% $Name %>" value="1" <% $CurrentValue? 'checked="checked"': '' %> />\
+<input type="radio" name="<% $Name %>" value="1"<% $CurrentValue? ' checked="checked"': '' |n %> />\
<% loc('Yes') %>
-<input type="radio" name="<% $Name %>" value="0" <% defined $CurrentValue && !$CurrentValue? 'checked="checked"': '' %> />\
+<input type="radio" name="<% $Name %>" value="0"<% defined $CurrentValue && !$CurrentValue? ' checked="checked"': '' |n %> />\
<% loc('No') %>
-<input type="radio" name="<% $Name %>" value="__empty_value__" <% !defined $CurrentValue? 'checked="checked"': '' %> />\
+<input type="radio" name="<% $Name %>" value="__empty_value__"<% !defined $CurrentValue? ' checked="checked"': '' |n %> />\
<% $DefaultLabel %>
% }
</%METHOD>
More information about the Rt-commit
mailing list