/[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 441 by dpavlin, Tue Sep 14 17:07:59 2004 UTC revision 443 by dpavlin, Tue Sep 14 20:57:58 2004 UTC
# Line 235  sub unroll { Line 235  sub unroll {
235                          my $mfn_link = "thes/$mfn.html";                          my $mfn_link = "thes/$mfn.html";
236                          if (-e "out/$mfn_link") {                          if (-e "out/$mfn_link") {
237                                  $html .= " " x $level .                                  $html .= " " x $level .
238                                          qq{<li>${link_start}${term}${link_end}}.                                          qq{<li>${link_start}<span id="o$mfn">${term}</span>${link_end}}.
239                                          qq{&nbsp;<a href="$mfn_link">&raquo;</a></li>\n};                                          qq{&nbsp;<a href="$mfn_link">&raquo;</a></li>\n};
240                          } else {                          } else {
241                                  $log->warn("file 'out/$mfn_link' doesn't exist, skipping");                                  $log->warn("file 'out/$mfn_link' doesn't exist, skipping");
# Line 294  sub generate_js { Line 294  sub generate_js {
294          print JS "var hide = ['",join("','",@{$self->{'hide_ids'}}),"'];\n";          print JS "var hide = ['",join("','",@{$self->{'hide_ids'}}),"'];\n";
295          close(JS);          close(JS);
296    
297          $log->debug("stored ",@{$self->{'show_ids'}}," shown and ",@{$self->{'hide_ids'}}," hidden elements");          $log->debug("stored ",scalar @{$self->{'show_ids'}}," shown and ",scalar @{$self->{'hide_ids'}}," hidden elements");
298    
299  }  }
300    

Legend:
Removed from v.441  
changed lines
  Added in v.443

  ViewVC Help
Powered by ViewVC 1.1.26