</fieldset> <?php if ($is_advanced): /*--- Collections ---*/?> <fieldset> <?= html_query_criterion_checkbox($QUERY, 'components', NULL, TRUE)?> </fieldset> <?php /*--- Media Types ---*/?> <fieldset> <?= html_query_criterion_checkbox($QUERY, 'facet_media_type', NULL, TRUE)?> </fieldset> <?php /*--- Availability ---*/?> <fieldset> <?= html_query_criterion_checkbox($QUERY, 'facet_availability', NULL, TRUE)?> </fieldset> <?php /*--- Genre ---*/?> <fieldset> <?= html_query_criterion_checkbox($QUERY, 'facet_genre', NULL, TRUE)?> </fieldset> <? endif /*Advanced*/?> <fieldset class="sort_by_set"> <legend>Results display:</legend> <ul> <li><?= html_query_criterion_list($QUERY, 'sort', NULL, TRUE )?></li> <li><?= html_query_criterion_list($QUERY, 'page_size', NULL, TRUE )?> results per page</li> </ul> </fieldset> <? /*--- Results displaying - Sort/paging controls ----*/?> <? /*--- Help on searching and advanced search links ---*/?> <fieldset id="more-options">
<? if ($is_advanced): ?> <fieldset> <legend>Locale</legend> <?// I need to find a better label ?> <?php echo html_query_criterion_list($QUERY, 'country', NULL, TRUE); ?> <br /> <?php echo html_query_criterion_list($QUERY, 'language', NULL, TRUE); ?> </fieldset> <? if ($USER->has_right('edit_record')): ?> <fieldset> <legend>Viewfinder</legend> <?php echo html_query_criterion_checkbox($QUERY, 'viewfinder'); ?> </fieldset> <? endif /*editors*/?> <? endif /*Advanced*/?> <? /*--- Results displaying - Sort/paging controls ----*/?> <fieldset class="sort_by_set"> <legend>Results display</legend> <ul> <li><?php echo html_query_criterion_list($QUERY, 'sort', NULL, TRUE); ?> </li>