/[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 316 by dpavlin, Wed Nov 5 21:40:02 2008 UTC revision 350 by dpavlin, Sun Nov 16 00:37:34 2008 UTC
# Line 125  sub page { Line 125  sub page {
125          return $html;          return $html;
126  }  }
127    
128    sub error {
129            my ( $self, $error ) = @_;
130            warn $error;
131            $error =~ s{\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>|;
133    }
134    
135  1;  1;

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

  ViewVC Help
Powered by ViewVC 1.1.26