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

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

revision 545 by dpavlin, Wed Nov 26 20:47:13 2008 UTC revision 550 by dpavlin, Wed Nov 26 22:38:45 2008 UTC
# Line 24  sub as_markup { Line 24  sub as_markup {
24          foreach my $class ( $self->classes ) {          foreach my $class ( $self->classes ) {
25    
26                  my $icon = '';                  my $icon = '';
27                  if ( $self->can('icon_path') ) {                  if ( ! $self->can('icon_path') ) {
28                          $icon = $self->icon_path( $class );                          warn "FIXME: re-apply Frey::Web on $self";
29                          $icon = qq|<img src="/$icon" alt="$class">| if $icon;                          Frey::Web->meta->apply( $self );
                 } else {  
                         #warn "## $self doesn't know how to return icon_path";  
30                  }                  }
31                    $icon = $self->icon_path( $class );
32                    $icon = qq|<img src="/$icon" alt="$class">| if $icon;
33    
34                  my $html                  my $html
35                          = qq|<tr><td>$icon</td><td><a target="$class" href="/$class" title="|                          = qq|<tr><td>$icon</td><td><a target="$class" href="/$class" title="|

Legend:
Removed from v.545  
changed lines
  Added in v.550

  ViewVC Help
Powered by ViewVC 1.1.26