Changeset 6809
- Timestamp:
- 2004-02-17T09:36:51+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify.pm
r6332 r6809 39 39 40 40 $next_classify_num = 1; 41 $collage = 0; 41 42 42 43 sub load_classifiers { … … 176 177 177 178 if (defined ($tempinfo->{'classifyOID'})) { 179 # the third one is where we want to cut if it's a collage 180 if (defined ($tempinfo->{'Title'}) && $tempinfo->{'Title'} eq "Collage") { 181 $collage = 1; 182 } 178 183 $contains_text .= $tempinfo->{'classifyOID'}; 179 184 &print_classify_info ($handle, $tempinfo, $tempinfo->{'classifyOID'}, 180 185 $allclassifications); 186 $collage = 0; 181 187 } elsif (defined ($tempinfo->{'OID'})) { 182 188 $contains_text .= $tempinfo->{'OID'}; … … 185 191 # note: we don't want to print the contents of the books 186 192 } else { 187 $contains_text .= "\".$next_subOID"; 193 if (! $collage) { $contains_text .= "\".$next_subOID"; } 194 else { push (@{$tempinfo->{'childtype'}}, ""); $containstext = "";} 188 195 &print_classify_info ($handle, $tempinfo, "$OID.$next_subOID", 189 196 $allclassifications);
Note:
See TracChangeset
for help on using the changeset viewer.