/[Frey]/trunk/lib/Frey/SVK.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/SVK.pm

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

revision 711 by dpavlin, Tue Dec 2 22:26:16 2008 UTC revision 712 by dpavlin, Thu Dec 4 16:02:57 2008 UTC
# Line 121  sub diff_as_markup { Line 121  sub diff_as_markup {
121          $diff =~ s{^(\-.+?)$}{<span class="del">$1</span>}gm;          $diff =~ s{^(\-.+?)$}{<span class="del">$1</span>}gm;
122          sub form {          sub form {
123                  my ( $path, $action ) = @_;                  my ( $path, $action ) = @_;
124                  qq|<form class="inline"><input type="hidden" name="path" value="$path"><input type="submit" name="action" value="$action"></form>|;                  qq|<form class="inline" method="post"><input type="hidden" name="path" value="$path"><input type="submit" name="action" value="$action"></form>|;
125          };          };
126          $diff =~ s{^(===\s+)(\S+)$}{$1 . form($2,'revert') . qq| <a name="$2" target="editor" href="/editor+$2+1">$2</a> | . form($2,'postpone') }gem;          $diff =~ s{^(===\s+)(\S+)$}{$1 . form($2,'revert') . qq| <a name="$2" target="editor" href="/editor+$2+1">$2</a> | . form($2,'postpone') }gem;
127    

Legend:
Removed from v.711  
changed lines
  Added in v.712

  ViewVC Help
Powered by ViewVC 1.1.26