/[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 504 by dpavlin, Mon Nov 24 22:08:10 2008 UTC revision 507 by dpavlin, Tue Nov 25 00:26:15 2008 UTC
# Line 146  sub params_form { Line 146  sub params_form {
146                  $form .= qq|<label for="$name"$label_title>$label</label>| . $value_html;                  $form .= qq|<label for="$name"$label_title>$label</label>| . $value_html;
147          }          }
148          my $html = qq|<h1>$class params</h1><form method="post">$form<input type="submit" value="Run $class"></form>|;          my $html = qq|<h1>$class params</h1><form method="post">$form<input type="submit" value="Run $class"></form>|;
149          push @{ $self->status }, {          $self->add_status({
150                  $self->editor( $self->class ) => {                  $self->editor( $self->class ) => {
151                          params  => $self->params,                          params  => $self->params,
152                          config_params  => $config_params,                          config_params  => $config_params,
153                          default => $default                          default => $default
154                  },                  },
155          };          });
156    
157          return ($html,$default) if wantarray;          return ($html,$default) if wantarray;
158          return $html;          return $html;

Legend:
Removed from v.504  
changed lines
  Added in v.507

  ViewVC Help
Powered by ViewVC 1.1.26