本文整理汇总了PHP中EEH_Form_Fields::select_input方法的典型用法代码示例。如果您正苦于以下问题:PHP EEH_Form_Fields::select_input方法的具体用法?PHP EEH_Form_Fields::select_input怎么用?PHP EEH_Form_Fields::select_input使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类EEH_Form_Fields
的用法示例。
在下文中一共展示了EEH_Form_Fields::select_input方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _get_table_filters
protected function _get_table_filters()
{
$filters = $where = array();
EE_Registry::instance()->load_helper('Form_Fields');
if (empty($this->_dtts_for_event)) {
//this means we don't have an event so let's setup a filter dropdown for all the events to select
//note possible capability restrictions
if (!EE_Registry::instance()->CAP->current_user_can('ee_read_private_events', 'get_events')) {
$where['status**'] = array('!=', 'private');
}
if (!EE_Registry::instance()->CAP->current_user_can('ee_read_others_events', 'get_events')) {
$where['EVT_wp_user'] = get_current_user_id();
}
$events = EEM_Event::instance()->get_all(array($where, 'order_by' => array('EVT_name' => 'asc')));
$evts[] = array('id' => 0, 'text' => __('To toggle Check-in status, select an event', 'event_espresso'));
foreach ($events as $evt) {
//any registrations for this event?
if (!$evt->get_count_of_all_registrations()) {
continue;
}
$evts[] = array('id' => $evt->ID(), 'text' => $evt->get('EVT_name'));
}
$filters[] = EEH_Form_Fields::select_input('event_id', $evts);
} else {
//DTT datetimes filter
$cur_dtt = isset($this->_req_data['DTT_ID']) ? $this->_req_data['DTT_ID'] : $this->_evt->primary_datetime()->ID();
$dtts = array();
foreach ($this->_dtts_for_event as $dtt) {
$datetime_string = $dtt->start_date_and_time() . ' - ' . $dtt->end_date_and_time();
$dtts[] = array('id' => $dtt->ID(), 'text' => $datetime_string);
}
$filters[] = EEH_Form_Fields::select_input('DTT_ID', $dtts, $cur_dtt);
}
return $filters;
}
开发者ID:robert-osborne,项目名称:event-espresso-core-1,代码行数:35,代码来源:EE_Event_Registrations_List_Table.class.php
示例2: _get_table_filters
protected function _get_table_filters()
{
$filters = array();
//todo we're currently using old functions here. We need to move things into the Events_Admin_Page() class as methods.
EE_Registry::instance()->load_helper('Form_Fields');
$curstatus = isset($this->_req_data['status']) ? $this->_req_data['status'] : NULL;
$cur_date = isset($this->_req_data['month_range']) ? $this->_req_data['month_range'] : '';
$cur_category = isset($this->_req_data['EVT_CAT']) ? $this->_req_data['EVT_CAT'] : -1;
$reg_status = isset($this->_req_data['_reg_status']) ? $this->_req_data['_reg_status'] : '';
$filters[] = EEH_Form_Fields::generate_registration_months_dropdown($cur_date, $reg_status, $cur_category);
$filters[] = EEH_Form_Fields::generate_event_category_dropdown($cur_category);
$status = array();
$status[] = array('id' => 0, 'text' => __('Select Status', 'event_espresso'));
foreach ($this->_status as $key => $value) {
$status[] = array('id' => $key, 'text' => $value);
}
$filters[] = EEH_Form_Fields::select_input('_reg_status', $status, isset($this->_req_data['_reg_status']) ? strtoupper(sanitize_key($this->_req_data['_reg_status'])) : '');
return $filters;
}
示例3: array
echo $fields['QST_required']->get_nicename();
?>
</label> <?php
echo EEH_Template::get_help_tab_link('required_question_info');
?>
</th>
<td>
<?php
$system_required = array('fname', 'email');
$disabled = in_array($QST_system, $system_required) ? ' disabled="disabled"' : '';
$required_on = $question->get('QST_admin_only');
$show_required_msg = $required_on ? '' : ' display:none;';
$disabled = $required_on || !empty($disabled) ? ' disabled="disabled"' : '';
$id = !empty($disabled) && in_array($QST_system, $system_required) ? '_disabled' : '';
$requiredOptions = array(array('text' => 'Optional', 'id' => 0), array('text' => 'Required', 'id' => 1));
echo EEH_Form_Fields::select_input('QST_required' . $id, $requiredOptions, $question->required(), 'id="QST_required' . $id . '"' . $disabled);
?>
<p><span id="required_toggled_on" class="description" style="color:#D54E21;<?php
echo $show_required_msg;
?>
">
<?php
_e('Required is set to optional, and this field is disabled, because the question is Admin-Only.', 'event_espresso');
?>
</span></p>
<p><span id="required_toggled_off" class="description" style="color:#D54E21; display: none;">
<?php
_e('Required option field is no longer disabled because the question is not Admin-Only', 'event_espresso');
?>
</span></p>
<?php
示例4: _term_object_details_content
protected function _term_object_details_content($taxonomy = 'espresso_people_categories')
{
$editor_args['category_desc'] = array('type' => 'wp_editor', 'value' => EEH_Formatter::admin_format_content($this->_term_object->category_desc), 'class' => 'my_editor_custom', 'wpeditor_args' => array('media_buttons' => FALSE));
$_wp_editor = $this->_generate_admin_form_fields($editor_args, 'array');
$all_terms = get_terms(array($taxonomy), array('hide_empty' => 0, 'exclude' => array($this->_term_object->id)));
//setup category select for term parents.
$category_select_values[] = array('text' => __('No Parent', 'event_espresso'), 'id' => 0);
foreach ($all_terms as $term) {
$category_select_values[] = array('text' => $term->name, 'id' => $term->term_id);
}
$category_select = EEH_Form_Fields::select_input('category_parent', $category_select_values, $this->_term_object->parent);
$template_args = array('category' => $this->_term_object, 'category_select' => $category_select, 'unique_id_info_help_link' => $this->_get_help_tab_link('unique_id_info'), 'category_desc_editor' => $_wp_editor['category_desc']['field'], 'disable' => '', 'disabled_message' => FALSE, 'term_name_label' => $taxonomy == 'espresso_people_categories' ? __('Category Name', 'event_espresso') : __('Type Name', 'event_espresso'), 'term_id_description' => $taxonomy == 'espresso_people_categories' ? __('This is a default category so you can edit the label and the description but not the slug', 'event_espresso') : __('This is a default type so you can edit the label and the description but not the slug', 'event_espresso'), 'term_parent_label' => $taxonomy == 'espresso_people_categories' ? __('Category Parent', 'event_espresso') : __('Type Parent', 'event_espresso'), 'term_parent_description' => $taxonomy == 'espresso_people_categories' ? __('Categories are hierarchical. You can change the parent for this category here.', 'event_espresso') : __('People Types are hierarchical. You can change the parent for this type here.', 'event_espresso'), 'term_description_label' => $taxonomy == 'espresso_people_categories' ? __('Category Description', 'event_espresso') : __('Type Description'));
$template = EEA_PEOPLE_ADDON_ADMIN_TEMPLATE_PATH . 'people_term_details.template.php';
return EEH_Template::display_template($template, $template_args, TRUE);
}
示例5: _get_price_modifier_template
protected function _get_price_modifier_template($tktrow, $prcrow, $price, $default, $disabled = FALSE)
{
$select_name = $default && empty($price) ? 'edit_prices[TICKETNUM][PRICENUM][PRT_ID]' : 'edit_prices[' . $tktrow . '][' . $prcrow . '][PRT_ID]';
$price_types = EE_Registry::instance()->load_model('Price_Type')->get_all(array(array('OR' => array('PBT_ID' => '2', 'PBT_ID*' => '3'))));
$price_option_span_template = PRICING_TEMPLATE_PATH . 'event_tickets_datetime_price_option_span.template.php';
$all_price_types = $default && empty($price) ? array(array('id' => 0, 'text' => __('Select Modifier', 'event_espresso'))) : array();
$selected_price_type_id = $default && empty($price) ? 0 : $price->type();
$price_option_spans = '';
//setup pricetypes for selector
foreach ($price_types as $price_type) {
$all_price_types[] = array('id' => $price_type->ID(), 'text' => $price_type->get('PRT_name'));
//while we're in the loop let's setup the option spans used by js
$spanargs = array('PRT_ID' => $price_type->ID(), 'PRT_operator' => $price_type->is_discount() ? '-' : '+', 'PRT_is_percent' => $price_type->get('PRT_is_percent') ? 1 : 0);
$price_option_spans .= EEH_Template::display_template($price_option_span_template, $spanargs, TRUE);
}
$select_params = $disabled ? 'style="width:auto;" disabled' : 'style="width:auto;"';
$main_name = $select_name;
$select_name = $disabled ? 'archive_price[' . $tktrow . '][' . $prcrow . '][PRT_ID]' : $main_name;
$template_args = array('tkt_row' => $default ? 'TICKETNUM' : $tktrow, 'PRC_order' => $default && empty($price) ? 'PRICENUM' : $prcrow, 'price_modifier_selector' => EEH_Form_Fields::select_input($select_name, $all_price_types, $selected_price_type_id, $select_params, 'edit-price-PRT_ID'), 'main_name' => $main_name, 'selected_price_type_id' => $selected_price_type_id, 'price_option_spans' => $price_option_spans, 'price_selected_operator' => $default && empty($price) ? '' : ($price->is_discount() ? '-' : '+'), 'price_selected_is_percent' => $default && empty($price) ? '' : ($price->is_percent() ? 1 : 0), 'disabled' => $disabled);
$template_args = apply_filters('FHEE__espresso_events_Pricing_Hooks___get_price_modifier_template__template_args', $template_args, $tktrow, $prcrow, $price, $default, $disabled, $this->_is_creating_event);
$template = PRICING_TEMPLATE_PATH . 'event_tickets_datetime_price_modifier_selector.template.php';
return EEH_Template::display_template($template, $template_args, TRUE);
}
示例6: _e
<p>
<?php
echo EE_PUE::espresso_data_collection_optin_text(FALSE);
?>
</p>
<table class="form-table">
<tbody>
<tr>
<th>
<label for="ueip_optin">
<?php
_e('UXIP Opt In?', 'event_espresso');
?>
</label>
</th>
<td>
<?php
$values = array(array('id' => 'yes', 'text' => __('Yes! I want to help improve Event Espresso!', 'event_espresso')), array('id' => 'no', 'text' => __('Not at this time. Maybe later.', 'event_espresso')));
echo EEH_Form_Fields::select_input('ueip_optin', $values, !empty($ee_ueip_optin) ? $ee_ueip_optin : 'yes');
?>
</td>
</tr>
</tbody>
</table>
</div>
示例7: _get_reg_status_selection
/**
* _get_reg_status_selection
*
* @todo this will need to be adjusted either once MER comes along OR we move default reg status to tickets instead of events.
* @access protected
* @return void
*/
protected function _get_reg_status_selection()
{
//first get all possible statuses
$statuses = EEM_Registration::reg_status_array(array(), TRUE);
//let's add a "don't change" option.
$status_array['NAN'] = __('Leave the Same', 'event_espresso');
$status_array = array_merge($status_array, $statuses);
$this->_template_args['status_change_select'] = EEH_Form_Fields::select_input('txn_reg_status_change[reg_status]', $status_array, 'NAN', 'id="txn-admin-payment-reg-status-inp"', 'txn-reg-status-change-reg-status');
$this->_template_args['delete_status_change_select'] = EEH_Form_Fields::select_input('delete_txn_reg_status_change[reg_status]', $status_array, 'NAN', 'delete-txn-admin-payment-reg-status-inp', 'delete-txn-reg-status-change-reg-status');
}
示例8: _get_table_filters
/**
* @return array
*/
protected function _get_table_filters()
{
$filters = array();
//setup messengers for selects
$m_values = $this->get_admin_page()->get_messengers_for_list_table();
//lets do the same for message types
$mt_values = $this->get_admin_page()->get_message_types_for_list_table();
//setup messengers for selects
$m_values[0]['id'] = 'all';
$m_values[0]['text'] = __('All Messengers', 'event_espresso');
$msgr_default[0] = array('id' => 'none_selected', 'text' => __('Show All', 'event_espresso'));
$mt_default[0] = array('id' => 'none_selected', 'text' => __('Show All', 'event_espresso'));
$msgr_filters = !empty($m_values) ? array_merge($msgr_default, $m_values) : array();
$mt_filters = !empty($mt_values) ? array_merge($mt_default, $mt_values) : array();
if (empty($m_values)) {
$msgr_filters[0] = array('id' => 'no_messenger_options', 'text' => __('No Messengers active', 'event_espresso'));
}
if (empty($mt_values)) {
$mt_filters[0] = array('id' => 'no_message_type_options', 'text' => __('No Message Types active', 'event_espresso'));
}
if (count($m_values) >= 1 && !empty($m_values)) {
unset($msgr_filters[0]);
$msgr_filters = array_values($msgr_filters);
//reindex keys
}
$filters[] = EEH_Form_Fields::select_input('ee_messenger_filter_by', $msgr_filters, isset($this->_req_data['ee_messenger_filter_by']) ? sanitize_key($this->_req_data['ee_messenger_filter_by']) : '');
$filters[] = EEH_Form_Fields::select_input('ee_message_type_filter_by', $mt_filters, isset($this->_req_data['ee_message_type_filter_by']) ? sanitize_key($this->_req_data['ee_message_type_filter_by']) : '');
return $filters;
}
示例9: _get_table_filters
protected function _get_table_filters()
{
$filters = array();
EE_Registry::instance()->load_helper('Form_Fields');
$messengers = $this->_admin_page->get_active_messengers();
$message_types = $this->_admin_page->get_installed_message_types();
//setup messengers for selects
$i = 1;
$m_values[0]['id'] = 'all';
$m_values[0]['text'] = __('All Messengers', 'event_espresso');
foreach ($messengers as $messenger => $args) {
$m_values[$i]['id'] = $messenger;
$m_values[$i]['text'] = ucwords($args['obj']->label['singular']);
$i++;
}
//lets do the same for message types
$i = 1;
foreach ($message_types as $message_type => $args) {
$mt_values[$i]['id'] = $message_type;
$mt_values[$i]['text'] = ucwords($args['obj']->label['singular']);
$i++;
}
$msgr_default[0] = array('id' => 'none_selected', 'text' => __('Show All', 'event_espresso'));
$mt_default[0] = array('id' => 'none_selected', 'text' => __('Show All', 'event_espresso'));
$msgr_filters = !empty($m_values) ? array_merge($msgr_default, $m_values) : array();
$mt_filters = !empty($mt_values) ? array_merge($mt_default, $mt_values) : array();
if (empty($m_values)) {
$msgr_filters[0] = array('id' => 'no_messenger_options', 'text' => __('No Messengers active', 'event_espresso'));
}
if (empty($mt_values)) {
$mt_filters[0] = array('id' => 'no_message_type_options', 'text' => __('No Message Types active', 'event_espresso'));
}
if (count($messengers) >= 1 && !empty($m_values)) {
unset($msgr_filters[0]);
$msgr_filters = array_values($msgr_filters);
//reindex keys
}
$filters[] = EEH_Form_Fields::select_input('ee_messenger_filter_by', $msgr_filters, isset($this->_req_data['ee_messenger_filter_by']) ? sanitize_key($this->_req_data['ee_messenger_filter_by']) : '');
$filters[] = EEH_Form_Fields::select_input('ee_message_type_filter_by', $mt_filters, isset($this->_req_data['ee_message_type_filter_by']) ? sanitize_key($this->_req_data['ee_message_type_filter_by']) : '');
return $filters;
}
示例10: _display_settings
//.........这里部分代码省略.........
echo $currency == "SGD" ? 'selected="selected"' : '';
?>
>
<?php
_e('Singapore Dollar ($)', 'event_espresso');
?>
</option>
<option value="THB" <?php
echo $currency == "THB" ? 'selected="selected"' : '';
?>
>
<?php
_e('Thai Baht', 'event_espresso');
?>
</option>
<option value="TRY" <?php
echo $currency == "TRY" ? 'selected="selected"' : '';
?>
>
<?php
_e('Turkish Lira (only for Turkish users)', 'event_espresso');
?>
</option>
<option value="TWD" <?php
echo $currency == "TWD" ? 'selected="selected"' : '';
?>
>
<?php
_e('Taiwan New Dollars', 'event_espresso');
?>
</option>
</select></td>
</tr>
<tr>
<th>
<label for="pp_image_url">
<?php
_e('Image URL', 'event_espresso');
?>
<?php
echo EEH_Template::get_help_tab_link('payment_methods_overview_paypalstandard_help_tab');
?>
</label>
</th>
<td>
<span class='ee_media_uploader_area'>
<img class="ee_media_image" src="<?php
echo $this->_payment_settings['image_url'];
?>
" />
<input class="ee_media_url" type="text" name="image_url" size='34' value="<?php
echo $this->_payment_settings['image_url'];
?>
">
<a href="#" class="ee_media_upload"><img src="images/media-button-image.gif" alt="Add an Image"></a>
</span><br/>
<span class="description">
<?php
_e('Used for your business/personal logo on the PayPal page', 'event_espresso');
?>
</span>
</td>
</tr>
<tr>
<th><label for="use_sandbox">
<?php
_e('Use the Debugging Feature and the PayPal Sandbox', 'event_espresso');
?>
<?php
echo EEH_Template::get_help_tab_link('payment_methods_overview_paypalstandard_help_tab');
?>
</label></th>
<td><?php
echo EEH_Form_Fields::select_input('use_sandbox', $this->_yes_no_options, $this->_payment_settings['use_sandbox']);
?>
</td>
</tr>
<tr>
<th>
<label for="no_shipping">
<?php
_e('Shipping Address Options', 'event_espresso');
?>
<?php
echo EEH_Template::get_help_tab_link('payment_methods_overview_paypalstandard_help_tab');
?>
</label>
</th>
<td>
<?php
$shipping_values = array(array('id' => '1', 'text' => __('Do not prompt for an address', 'event_espresso')), array('id' => '0', 'text' => __('Prompt for an address, but do not require one', 'event_espresso')), array('id' => '2', 'text' => __('Prompt for an address, and require one', 'event_espresso')));
echo EEH_Form_Fields::select_input('no_shipping', $shipping_values, $this->_payment_settings['no_shipping']);
?>
</td>
</tr>
<?php
}
示例11: _display_settings
//.........这里部分代码省略.........
<a href="#" class="ee_media_upload"><img src="images/media-button-image.gif" alt="Add an Image"></a>
</span><br/>
<span class="description"><?php
_e('(Logo for the top left of the invoice)', 'event_espresso');
?>
</span>
</p>
</td>
</tr>
<tr>
<th><h4 style="margin:.75em 0 1em;"><?php
_e('Invoice Gateway Settings', 'event_espresso');
?>
</h4></th>
<td>
<span class="description"><?php
_e('The following settings affect the functioning of the Invoice gateway.', 'event_espresso');
?>
</span>
</td>
</tr>
<tr>
<th>
<label for="show"><?php
_e('Show as an option on the payment page?', 'event_espresso');
?>
</label>
</th>
<td>
<?php
echo EEH_Form_Fields::select_input('show', $this->_yes_no_options, $this->_payment_settings['show']);
?>
<br />
<span class="description"><?php
_e('Will display invoices as a payment option <br /> on your payment page. (Default: Yes)', 'event_espresso');
?>
</span>
</td>
</tr>
<tr>
<th>
<label for="pdf_title"><?php
_e('Invoice Title', 'event_espresso');
?>
</label>
</th>
<td>
<input class="regular-text" type="text" name="pdf_title" id="pdf_title" size="30" value="<?php
echo stripslashes_deep($this->_payment_settings['pdf_title']);
?>
" />
</td>
</tr>
<tr>
<th>
<label for="page_instructions"><?php
_e('Invoice Instructions', 'event_espresso');
?>
</label>
</th>
<td>
示例12: newsletter_send_form_skeleton
public function newsletter_send_form_skeleton()
{
$list_table = $this->_list_table_object;
$codes = array();
//need to templates for the newsletter message type for the template selector.
$values[] = array('text' => __('Select Template to Use', 'event_espresso'), 'id' => 0);
$mtps = EEM_Message_Template_Group::instance()->get_all(array(array('MTP_message_type' => 'newsletter', 'MTP_messenger' => 'email')));
foreach ($mtps as $mtp) {
$name = $mtp->name();
$values[] = array('text' => empty($name) ? __('Global', 'event_espresso') : $name, 'id' => $mtp->ID());
}
//need to get a list of shortcodes that are available for the newsletter message type.
$shortcodes = EEH_MSG_Template::get_shortcodes('newsletter', 'email', array(), 'attendee', FALSE);
foreach ($shortcodes as $field => $shortcode_array) {
$codes[$field] = implode(', ', array_keys($shortcode_array));
}
$shortcodes = $codes;
$form_template = REG_CAF_TEMPLATE_PATH . 'newsletter-send-form.template.php';
$form_template_args = array('form_action' => admin_url('admin.php?page=espresso_registrations'), 'form_route' => 'newsletter_selected_send', 'form_nonce_name' => 'newsletter_selected_send_nonce', 'form_nonce' => wp_create_nonce('newsletter_selected_send_nonce'), 'redirect_back_to' => $this->_req_action, 'ajax_nonce' => wp_create_nonce('get_newsletter_form_content_nonce'), 'template_selector' => EEH_Form_Fields::select_input('newsletter_mtp_selected', $values), 'shortcodes' => $shortcodes, 'id_type' => $list_table instanceof EE_Attendee_Contact_List_Table ? 'contact' : 'registration');
EEH_Template::display_template($form_template, $form_template_args);
}
示例13: _e
echo EEH_Form_Fields::select_input('event_list_display_nav', $values, $map_settings->event_list_display_nav, 'id="event_list_display_nav"');
?>
</td>
</tr>
<tr>
<th>
<label for="event_list_nav_size">
<?php
_e('Keep Map Navigation Small', 'event_espresso');
?>
</label>
</th>
<td>
<?php
echo EEH_Form_Fields::select_input('event_list_nav_size', $values, $map_settings->event_list_nav_size, 'id="event_list_nav_size"');
?>
</td>
</tr>
<tr>
<th>
<?php
_e('Set Map Type Control', 'event_espresso');
?>
</th>
<td>
<label for="event_list_control_type-default" class="ee-admin-radio-lbl">
<?php
$checked = $map_settings->event_list_control_type == 'default' ? 'checked="checked"' : '';
?>
示例14: _get_table_filters
/**
* _get_table_filters
* @return array
*/
protected function _get_table_filters()
{
$filters = array();
//todo we're currently using old functions here. We need to move things into the Events_Admin_Page() class as methods.
EE_Registry::instance()->load_helper('Form_Fields');
$payment_methods = EEM_Payment_Method::instance()->get_all();
$payment_method_names = array(array('id' => 'all', 'text' => __("All", 'event_espresso')), array('id' => '0', 'text' => __("Unknown Payment Method", 'event_espresso')));
foreach ($payment_methods as $payment_method) {
$payment_method_names[] = array('id' => $payment_method->ID(), 'text' => $payment_method->admin_name());
}
$filters[] = EEH_Form_Fields::select_input('_payment_method', $payment_method_names, isset($this->_req_data['_payment_method']) ? $this->_req_data['_payment_method'] : 'all');
$start_date = isset($this->_req_data['payment-filter-start-date']) ? wp_strip_all_tags($this->_req_data['payment-filter-start-date']) : date('m/d/Y', strtotime('-6 months'));
$end_date = isset($this->_req_data['payment-filter-end-date']) ? wp_strip_all_tags($this->_req_data['payment-filter-end-date']) : date('m/d/Y');
ob_start();
?>
<label for="txn-filter-start-date"><?php
_e('Display Transactions from ', 'event_espresso');
?>
</label>
<input id="payment-filter-start-date" class="datepicker" type="text" value="<?php
echo $start_date;
?>
" name="payment-filter-start-date" size="15"/>
<label for="txn-filter-end-date"><?php
_e(' until ', 'event_espresso');
?>
</label>
<input id="payment-filter-end-date" class="datepicker" type="text" value="<?php
echo $end_date;
?>
" name="payment-filter-end-date" size="15"/>
<?php
$filters[] = ob_get_clean();
return $filters;
}
示例15: active_status_dropdown
/**
* returns a list of "active" statuses on the event
* @param string $current_value whatever the ucrrent active status is
* @return string html dropdown.
*/
public function active_status_dropdown($current_value = '')
{
$select_name = 'active_status';
$values = array('none' => __('Show Active/Inactive', 'event_espresso'), 'active' => __('Active', 'event_espresso'), 'upcoming' => __('Upcoming', 'event_espresso'), 'expired' => __('Expired', 'event_espresso'), 'inactive' => __('Inactive', 'event_espresso'));
$id = 'id="espresso-active-status-dropdown-filter"';
$class = 'wide';
echo EEH_Form_Fields::select_input($select_name, $values, $current_value, $id, $class);
}