/[webpac]/trunk2/lib/WebPAC/Tree.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 /trunk2/lib/WebPAC/Tree.pm

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

revision 460 by dpavlin, Tue Sep 21 20:43:43 2004 UTC revision 470 by dpavlin, Fri Sep 24 20:31:11 2004 UTC
# Line 235  sub unroll { Line 235  sub unroll {
235    
236                          $log->debug("$code -> $v900 : $term [$mfn]");                          $log->debug("$code -> $v900 : $term [$mfn]");
237    
238                          my ($link_start,$link_end) = ('','');                          my ($link_start,$link_end) = ('<a name="mfn'.$mfn.'"></a>','');
239                    
240                          my $have_children = $tree->[$level]->{'have_children'}->($code,$v900);                          my $have_children = $tree->[$level]->{'have_children'}->($code,$v900);
241    
# Line 252  sub unroll { Line 252  sub unroll {
252                          if (-e "out/$mfn_link") {                          if (-e "out/$mfn_link") {
253                                  $html .= " " x $level .                                  $html .= " " x $level .
254                                          qq{<li>${link_start}<span id="o$mfn">${term}</span>${link_end}}.                                          qq{<li>${link_start}<span id="o$mfn">${term}</span>${link_end}}.
255                                          qq{&nbsp;<a href="$mfn_link">&raquo;</a></li>\n};                                          qq{&nbsp;<a href="$mfn_link" onClick="javascript:return popup(this);">&raquo;</a></li>\n};
256                          } else {                          } else {
257                                  $log->warn("file 'out/$mfn_link' doesn't exist, skipping");                                  $log->warn("file 'out/$mfn_link' doesn't exist, skipping");
258                          }                          }

Legend:
Removed from v.460  
changed lines
  Added in v.470

  ViewVC Help
Powered by ViewVC 1.1.26