You are here

function _event_get_taxonomy_control in Event 5

Same name and namespace in other branches
  1. 5.2 event.module \_event_get_taxonomy_control()

Returns a dropdown event taxonomy term input control.

Parameters

$curterm The current term id.:

$autosubmit Adds 'onChange' form submit javascript command to control.:

Return value

A form with a dropdown event taxonomy term input control.

1 call to _event_get_taxonomy_control()
event_page in ./event.module
Displays a page containing event information. The page layout defaults to a graphical calendar.

File

./event.module, line 1647

Code

function _event_get_taxonomy_control($curterm = NULL, $autosubmit = TRUE) {
  if (module_exists('taxonomy')) {
    $form = drupal_get_form('event_taxonomy_filter_form', $curterm, $autosubmit);
    return theme('event_filter_control', $form);
  }
}