Changeset 25959
- Timestamp:
- 2012-07-17T15:19:21+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/basebuildproc.pm
r25556 r25959 777 777 my $gsdlthistype = $doc_obj->get_metadata_element ($section, "gsdlthistype"); 778 778 if (defined $gsdlthistype) { 779 if ($gsdlthistype eq "Paged") {779 if ($gsdlthistype =~ /^paged$/i) { 780 780 $childtype = "Paged"; 781 781 if ($doc_obj->get_text_length ($doc_obj->get_top_section())) { … … 786 786 787 787 return ($thistype, $childtype); 788 } elsif ($gsdlthistype eq "Hierarchy") { 788 } 789 # gs3 pagedhierarchy option 790 elsif ($gsdlthistype =~ /^pagedhierarchy$/i) { 791 $childtype = "PagedHierarchy"; 792 if ($doc_obj->get_text_length ($doc_obj->get_top_section())) { 793 $thistype = "PagedHierarchy"; 794 } else { 795 $thistype = "Invisible"; 796 } 797 798 return ($thistype, $childtype); 799 } elsif ($gsdlthistype =~ /^hierarchy$/i) { 789 800 return ($thistype, $childtype); # use VList, VList 790 801 }
Note:
See TracChangeset
for help on using the changeset viewer.