only_toc_out.init 302 B

1234567891011121314151617
  1. $element_file_name = \&toc_out_element_file_name;
  2. sub toc_out_element_file_name($$$)
  3. {
  4. my $element = shift;
  5. my $type = shift;
  6. my $prefix = shift;
  7. if ($type and ($type ne 'top') and ($type ne 'toc'))
  8. {
  9. return "$prefix.".get_conf('EXTENSION');
  10. }
  11. return undef;
  12. }
  13. 1;