[%- BLOCK subtype_dropdowns -%] [% IF ( limits.aud.size ) %] Any audience [% ELSE %] Any audience [% END %] [% IF (limits.aud.0 == 'a' ) %] Preschool [% ELSE %] Preschool [% END %] [% IF (limits.aud.0 == 'b' ) %] Primary [% ELSE %] Primary [% END %] [% IF (limits.aud.0 == 'c' ) %] Pre-adolescent [% ELSE %] Pre-adolescent [% END %] [% IF (limits.aud.0 == 'd' ) %] Adolescent [% ELSE %] Adolescent [% END %] [% IF (limits.aud.0 == 'e' ) %] Adult [% ELSE %] Adult [% END %] [% IF (limits.aud.0 == 'f' ) %] Specialized [% ELSE %] Specialized [% END %] [% IF (limits.aud.0 == 'g' ) %] General [% ELSE %] General [% END %] [% IF (limits.aud.0 == 'j' ) %] Juvenile [% ELSE %] Juvenile [% END %] [% limits.delete( 'aud' ) %] [% IF ( limits.fic.size OR limits.bio.size OR limits.mus.size ) %] Any content [% ELSE %] Any content [% END %] [% IF (limits.fic.0 == '1' ) %] Fiction [% ELSE %] Fiction [% END %] [% IF (limits.fic.0 == '0' ) %] Non-fiction [% ELSE %] Non-fiction [% END %] [% IF (limits.bio.0 == 'b' ) %] Biography [% ELSE %] Biography [% END %] [% IF (limits.mus.0 == 'j' ) %] Musical recording [% ELSE %] Musical recording [% END %] [% IF (limits.mus.0 == 'i' ) %] Non-musical recording [% ELSE %] Non-musical recording [% END %] [% limits.delete( 'fic' ) %] [% limits.delete( 'bio' ) %] [% limits.delete( 'mus' ) %] [% SET lformat = 'l-format' %] [% IF ( limits.$lformat.size ) %] Any format [% ELSE %] Any format [% END %] [% IF (limits.$lformat.0 == 'ta' ) %] Regular print [% ELSE %] Regular print [% END %] [% IF (limits.$lformat.0 == 'tb' ) %] Large print [% ELSE %] Large print [% END %] [% IF (limits.$lformat.0 == 'tc or fb' ) %] Braille [% ELSE %] Braille [% END %] ----------- [% IF (limits.$lformat.0 == 'sd' ) %] CD audio [% ELSE %] CD audio [% END %] [% IF (limits.$lformat.0 == 'ss' ) %] Cassette recording [% ELSE %] Cassette recording [% END %] [% IF (limits.$lformat.0 == 'vf' ) %] VHS tape / Videocassette [% ELSE %] VHS tape / Videocassette [% END %] [% IF (limits.$lformat.0 == 'vd' ) %] DVD video / Videodisc [% ELSE %] DVD video / Videodisc [% END %] [% IF (limits.$lformat.0 == 'co' ) %] CD software [% ELSE %] CD software [% END %] [% IF (limits.$lformat.0 == 'cr' ) %] Website [% ELSE %] Website [% END %] [% limits.delete( 'l-format' ) %] [% IF ( limits.ctype.size ) %] Additional content types [% ELSE %] Additional content types [% END %] [% IF (limits.ctype.0 == 'a' ) %] Abstracts / Summaries [% ELSE %] Abstracts / Summaries [% END %] [% IF (limits.ctype.0 == 'b' ) %] Bibliographies [% ELSE %] Bibliographies [% END %] [% IF (limits.ctype.0 == 'c' ) %] Catalogs [% ELSE %] Catalogs [% END %] [% IF (limits.ctype.0 == 'e' ) %] Encyclopedias [% ELSE %] Encyclopedias [% END %] [% IF (limits.ctype.0 == 'f' ) %] Handbooks [% ELSE %] Handbooks [% END %] [% IF (limits.ctype.0 == 'g' ) %] Legal articles [% ELSE %] Legal articles [% END %] [% IF (limits.ctype.0 == 'i' ) %] Indexes [% ELSE %] Indexes [% END %] [% IF (limits.ctype.0 == 'j' ) %] Patent document [% ELSE %] Patent document [% END %] [% IF (limits.ctype.0 == 'k' ) %] Discographies [% ELSE %] Discographies [% END %] [% IF (limits.ctype.0 == 'l' ) %] Legislation [% ELSE %] Legislation [% END %] [% IF (limits.ctype.0 == 'm' ) %] Theses [% ELSE %] Theses [% END %] [% IF (limits.ctype.0 == 'n' ) %] Surveys [% ELSE %] Surveys [% END %] [% IF (limits.ctype.0 == 'o' ) %] Reviews [% ELSE %] Reviews [% END %] [% IF (limits.ctype.0 == 'p' ) %] Programmed texts [% ELSE %] Programmed texts [% END %] [% IF (limits.ctype.0 == 'q' ) %] Filmographies [% ELSE %] Filmographies [% END %] [% IF (limits.ctype.0 == 'r' ) %] Directories [% ELSE %] Directories [% END %] [% IF (limits.ctype.0 == 's' ) %] Statistics [% ELSE %] Statistics [% END %] [% IF (limits.ctype.0 == 't' ) %] Technical reports [% ELSE %] Technical reports [% END %] [% IF (limits.ctype.0 == 'v' ) %] Legal cases and case notes [% ELSE %] Legal cases and case notes [% END %] [% IF (limits.ctype.0 == 'w' ) %] Law reports and digests [% ELSE %] Law reports and digests [% END %] [% IF (limits.ctype.0 == 'z' ) %] Treaties [% ELSE %] Treaties [% END %] [% limits.delete( 'ctype' ) %] [%- END -%]