/[webpac]/trunk2/all2all.pl
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/all2all.pl

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

revision 566 by dpavlin, Sun Oct 31 18:43:33 2004 UTC revision 572 by dpavlin, Mon Nov 1 14:55:16 2004 UTC
# Line 285  my @tree = ({ Line 285  my @tree = ({
285          lookup_mfn      => sub { shift @{$l->{"900_mfn:".$_[0]}} },          lookup_mfn      => sub { shift @{$l->{"900_mfn:".$_[0]}} },
286          have_children   => sub { return $l->{"a:".$_[1].":"} },          have_children   => sub { return $l->{"a:".$_[1].":"} },
287          style           => 'display: none',          style           => 'display: none',
288            iframe          => 1,
289          },{          },{
290          # 2          # 2
291          code_arr        => sub { @{$_[0]} },          code_arr        => sub { @{$_[0]} },
# Line 293  my @tree = ({ Line 294  my @tree = ({
294          lookup_term     => sub { shift @{$l->{"d:".$_[0]}} },          lookup_term     => sub { shift @{$l->{"d:".$_[0]}} },
295          lookup_mfn      => sub { shift @{$l->{"900_mfn:".$_[0]}} },          lookup_mfn      => sub { shift @{$l->{"900_mfn:".$_[0]}} },
296          have_children   => sub { return $l->{"a:".$_[1].":".$_[0]} },          have_children   => sub { return $l->{"a:".$_[1].":".$_[0]} },
297          #style          => 'display: none',          style           => 'display: none',
298          },{          },{
299          # 3 uži pojam          # 3 uži pojam
300          code_arr        => sub { @{$_[0]} },          code_arr        => sub { @{$_[0]} },
# Line 362  my $tree = new WebPAC::Tree( Line 363  my $tree = new WebPAC::Tree(
363  $tree->output(  $tree->output(
364          dir => './out',          dir => './out',
365          html => 'browse.html',          html => 'browse.html',
366          template => './output_template/tree.tt',          template_dir => './output_template/',
367            template_tree => 'tree.tt',
368            template_node => 'node.tt',
369            nodes => 'nodes',
370          js => 'tree-ids.js',          js => 'tree-ids.js',
371  );  );
372    
373  $tree->output(  $tree->output(
374          dir => './eurovoc',          dir => './eurovoc',
375          html => 'hijerarhija.html',          html => 'hijerarhija.html',
376          template => './output_template/hijerarhija.tt',          template_dir => './output_template/',
377            template_tree => 'hijerarhija.tt',
378            template_node => 'hijerarhija_node.tt',
379            nodes => 'nodes',
380          js => 'tree-ids.js',          js => 'tree-ids.js',
381  );  );
382    

Legend:
Removed from v.566  
changed lines
  Added in v.572

  ViewVC Help
Powered by ViewVC 1.1.26