➤" /> </fieldset> </form> <?php } elseif ($_POST['sf_step'] == 1) { ?> <h3><?php _e('Taxonomies & Postmetas', 'sf'); ?> </h3> <p><?php _e('Please drag the Taxonomies and Postmetas, which you want to use in your search form from the left field to the right one.', 'sf'); ?> </p> <?php $metas = get_all_postmetas_from_post_type($sf['posttype']); ?> <ul class="sf-group1"> <li><?php _e('Taxonomies', 'sf'); ?> <?php $tax = get_all_post_taxonomies($sf['posttype']); ?> <ul class="sf-tax-ul"> <?php foreach ($tax as $key => $t) { ?> <li class="sf-drag"><input name="sf[tax][]" value="<?php echo $key; ?>
</fieldset> </form> </div> <!-- 2. Tab: Taxonomies and Postmeta --> <div id="taxonomies-postmeta"> <h3><?php _e('Taxonomies & Postmetas', 'sf'); ?> </h3> <p><?php _e('Please drag the Taxonomies and Postmetas, which you want to use in your search form from the left field to the right one.', 'sf'); ?> </p> <?php $metas = get_all_postmetas_from_post_type($field['posttype']); ?> <ul class="sf-group1"> <li><?php _e('Taxonomies', 'sf'); ?> <?php $tax = get_all_post_taxonomies($field['posttype']); ?> <ul class="sf-tax-ul"> <?php foreach ($tax as $key => $t) { if (!isset($field['tax']) || is_array($field['tax']) && !in_array($key, $field['tax'])) { ?> <li class="sf-drag"><input name="sf[tax][]" value="<?php echo $key;