function theme_hierarchical_select_render_initial_html in Hierarchical Select 5.2
Render the initial hierarchical select.
Parameters
$hsid: A hierarchical select id.
$hierarchy: A hierarchy object.
$dropbox: A dropbox object.
Return value
The rendered HTML.
1 theme call to theme_hierarchical_select_render_initial_html()
- hierarchical_select_process in ./
hierarchical_select.module - Hierarchical select form element processing function.
File
- ./
hierarchical_select.module, line 913 - 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_render_initial_html($hsid, $hierarchy, $dropbox) {
$output = '';
$output .= '<div class="hierarchical-select-input clear-block">';
$output .= theme('hierarchical_select_render_selects', $hsid, $hierarchy);
$output .= '</div>';
if ($dropbox) {
$output .= '<table class="hierarchical-select-dropbox">';
$output .= theme('hierarchical_select_render_dropbox', $hsid, $dropbox);
$output .= '</table>';
}
return $output;
}