/[Frey]/trunk/lib/Frey/Action.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Action.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 707 by dpavlin, Sun Nov 30 16:22:45 2008 UTC revision 708 by dpavlin, Wed Dec 3 22:23:26 2008 UTC
# Line 156  sub params_form { Line 156  sub params_form {
156                                  $suffix = ' checked' if $value;                                  $suffix = ' checked' if $value;
157                                  $value_html = qq|<input type="checkbox" name="$name" title="$attr_type" value="$value"$suffix>|;                                  $value_html = qq|<input type="checkbox" name="$name" title="$attr_type" value="$value"$suffix>|;
158                                  push @checkboxes, $name;                                  push @checkboxes, $name;
159                  } elsif ( $attr_type !~ m{^(Str|Int)$} ) {                  } elsif ( $attr_type !~ m{^(Str|Int)$} || $value =~ $Frey::Web::re_html ) {
160                                  $value_html = qq|<textarea name="$name" title="$attr_type">$value</textarea>|;                                  $value_html = qq|<textarea name="$name" title="$attr_type">$value</textarea>|;
161                  }                  }
162                                    

Legend:
Removed from v.707  
changed lines
  Added in v.708

  ViewVC Help
Powered by ViewVC 1.1.26