name])){ $AjaxyLiveSearch->set_templates($taxonomy->name, $_POST['sf_'.$taxonomy->name]); } if(!empty($_POST['sf_title_'.$taxonomy->name])){ $values = array( 'title' => $_POST['sf_title_'.$taxonomy->name], 'show' => $_POST['sf_show_'.$taxonomy->name], 'search_content' => $_POST['sf_search_content_'.$taxonomy->name], 'limit' => $_POST['sf_limit_'.$taxonomy->name], 'order' => $_POST['sf_order_'.$taxonomy->name], 'excludes' => isset($_POST['sf_exclude_'.$taxonomy->name]) ? $_POST['sf_exclude_'.$taxonomy->name]: '' ); if(!empty($_POST['sf_order_results_'.$taxonomy->name])){ $values['order_results'] = trim($_POST['sf_order_results_'.$taxonomy->name]); } if(!empty($_POST['sf_ushow_'.$taxonomy->name])){ $values['ushow'] = trim($_POST['sf_ushow_'.$taxonomy->name]); } $AjaxyLiveSearch->set_setting($taxonomy->name, $values); } $message = _("Settings saved"); } else{ $message = _("Settings have been already saved"); } } $setting = (array)$AjaxyLiveSearch->get_setting($taxonomy->name); $allowed_tags = array('term_id', 'name', 'slug', 'taxonomy', 'description', 'count', 'category_link'); $title = sprintf(_('Edit %s template & settings'), $taxonomy->label); $notice = ''; ?>


0 ? $setting['excludes'] : array()); ?>

label); ?>

'post', 'child_of' => 0, 'parent' => '', 'orderby' => 'name', 'order' => 'ASC', 'hide_empty' => 0, 'hierarchical' => 1, 'exclude' => '', 'include' => '', 'number' => '', 'taxonomy' => $taxonomy->name, 'pad_counts' => false ); $categories = get_categories( $args ); if(sizeof($categories) > 0){ ?>

label; ?>

  • term_id, (array)$excludes) ? 'checked="checked"' :''); ?> name="sf_exclude_name; ?>[]" value="term_id; ?>"/> name; ?>

label); ?>

label); ?>

get_templates($taxonomy->name, $type), 'sf_'.$taxonomy->name ); ?>
{}