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

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

revision 187 by dpavlin, Sat Sep 13 15:31:54 2008 UTC revision 213 by dpavlin, Fri Oct 31 19:51:51 2008 UTC
# Line 24  sub markup { Line 24  sub markup {
24                  my @inspect;                  my @inspect;
25                  push @inspect, qq|<a href="/ob/$package">collection</a>| if $package->can('collection_table');                  push @inspect, qq|<a href="/ob/$package">collection</a>| if $package->can('collection_table');
26                  push @inspect, qq|<a href="/markup/$package">markup</a>| if $package->can('markup');                  push @inspect, qq|<a href="/markup/$package">markup</a>| if $package->can('markup');
27                  push @inspect, qq|<a href="/html/$package">html</a>| if $package->can('html');                  push @inspect, qq|<a href="/request/$package">request</a>| if $package->can('request');
28                  $html .= qq|</td><td>| . join('&nbsp;', @inspect) . qq|</td></tr>|;                  $html .= qq|</td><td>| . join('&nbsp;', @inspect) . qq|</td></tr>|;
29          }          }
30          $html = "<table>$html</table>" if $html;          $html = "<table>$html</table>" if $html;
31          $markup = $html;          $markup = $html;
32  }  }
33    
34  sub html {  sub request {
35          my ( $self, $req ) = @_;          my ( $self, $req ) = @_;
36          my $html = $self->page( body => qq|<h1>Classes</h1>| . $self->markup );          my $html = $self->page( body => qq|<h1>Classes</h1>| . $self->markup );
37          $req->print( $html );          $req->print( $html );

Legend:
Removed from v.187  
changed lines
  Added in v.213

  ViewVC Help
Powered by ViewVC 1.1.26