/[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 581 by dpavlin, Thu Nov 27 22:11:13 2008 UTC revision 582 by dpavlin, Fri Nov 28 13:18:18 2008 UTC
# Line 52  sub as_markup { Line 52  sub as_markup {
52                  }                  }
53    
54                  my @run = map {                  my @run = map {
55                            my $invoke = $_;
56                          s{^as_}{};                          s{^as_}{};
57                          qq|<a target="$class" href="/$class/as_$_" title="$class->as_$_">$_</a>|;                          s{_as_\w+}{};
58                            qq|<a target="$class" href="/$class/$invoke" title="$class->$invoke">$_</a>|;
59                  } $self->class_runnable( $class );                  } $self->class_runnable( $class );
60                  push @run, qq|<a target="$class" href="/Frey-ObjectBrowser?class=$class">collection</a>| if $class->can('collection_table');                  push @run, qq|<a target="$class" href="/Frey-ObjectBrowser?class=$class">collection</a>| if $class->can('collection_table');
61    
# Line 75  sub as_markup { Line 77  sub as_markup {
77          my $icons_html = $self->combine_images( @icons );          my $icons_html = $self->combine_images( @icons );
78          sub icon {          sub icon {
79                  my ($icons_html,$path) = @_;                  my ($icons_html,$path) = @_;
                 warn "# icon $path";  
80                  $icons_html->{ $path } || die "can't find $path in ",dump($icons_html);                  $icons_html->{ $path } || die "can't find $path in ",dump($icons_html);
81          };          };
82    

Legend:
Removed from v.581  
changed lines
  Added in v.582

  ViewVC Help
Powered by ViewVC 1.1.26