[Rt-commit] r4283 - in rt/branches/3.7-EXPERIMENTAL: . html/Elements
ruz at bestpractical.com
ruz at bestpractical.com
Mon Dec 12 11:13:51 EST 2005
Author: ruz
Date: Mon Dec 12 11:13:49 2005
New Revision: 4283
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Elements/SelectCustomFieldOperator
Log:
r1433 at cubic-pc: cubic | 2005-12-12 18:28:04 +0300
* drop unint warning with $Default arg
Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/SelectCustomFieldOperator
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/SelectCustomFieldOperator (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/SelectCustomFieldOperator Mon Dec 12 11:13:49 2005
@@ -43,14 +43,14 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<select NAME ="<%$Name%>">
+<select name="<% $Name %>">
% while (my $option = shift @Options) {
% my $value = shift @Values;
-<option value="<%$value%>"
+<option value="<% $value %>"
% if ($Default eq $value) {
-SELECTED
+selected
% }
-><%$option%></option>
+><% $option %></option>
% }
</select>
@@ -58,5 +58,5 @@
$Name => undef
@Options => ( loc('contains'), loc("doesn't contain"), loc('is'), loc("isn't"), loc('less than'), loc('greater than'))
@Values => ('LIKE', 'NOT LIKE', '=', '!=', '<', '>')
-$Default => undef
+$Default => ''
</%ARGS>
More information about the Rt-commit
mailing list