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]} }, |
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]} }, |
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 |
|
|