You are here

function theme_hierarchical_select_dropbox_add_button in Hierarchical Select 5.2

Render the add button.

Parameters

$hsid: A hierarchical select id.

Return value

The rendered HTML.

1 theme call to theme_hierarchical_select_dropbox_add_button()
hierarchical_select_process in ./hierarchical_select.module
Hierarchical select form element processing function.

File

./hierarchical_select.module, line 937
This module defines the "hierarchical_select" form element, which is a greatly enhanced way for letting the user select an option in a hierarchy.

Code

function theme_hierarchical_select_dropbox_add_button($hsid) {
  $output = '';
  $output .= '<input id="hierarchical-select-' . $hsid . '-add-to-dropbox"';
  $output .= ' class="hierarchical-select-add-to-dropbox form-submit"';
  $output .= ' type="button"';
  $output .= ' value="' . t('Add') . '" />';
  return $output;
}