/[Frey]/branches/zimbardo/lib/Frey/Web.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 /branches/zimbardo/lib/Frey/Web.pm

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

revision 350 by dpavlin, Sun Nov 16 00:37:34 2008 UTC revision 375 by dpavlin, Mon Nov 17 16:59:06 2008 UTC
# Line 128  sub page { Line 128  sub page {
128  sub error {  sub error {
129          my ( $self, $error ) = @_;          my ( $self, $error ) = @_;
130          warn $error;          warn $error;
131          $error =~ s{\s+(\S+)\s+line\s+(\d+)}{ <a href="/editor$1+$2" target="editor">$1</a> line $2}gsm;          $error =~ s{at\s+(\S+)\s+line\s+(\d+)}{ <a href="/editor$1+$2" target="editor">$1</a> line $2}gsm;
132          return qq|<pre class="frey-error">$error</pre>|;          return qq|<pre class="frey-error">$error</pre>|;
133  }  }
134    

Legend:
Removed from v.350  
changed lines
  Added in v.375

  ViewVC Help
Powered by ViewVC 1.1.26