views-exposed-widget.tpl.php in Views exposed form layout 7
This template handles the layout of the views exposed filter form.
Variables available:
- $widget->label: The visible label to print. May be optional.
- $widget->operator: The operator for the widget. May be optional.
- $widget->widget: The widget itself.
3 theme calls to views-exposed-widget.tpl.php
- vefl_theme_views_exposed_form_ds in includes/
ds.inc - Theme function for Views exposed form.
- vefl_theme_views_exposed_form_panels in includes/
panels.inc - Theme function for Views exposed form.
- views-exposed-form.tpl.php in theme/
views-exposed-form.tpl.php - This template handles the layout of the views exposed filter form.
File
theme/views-exposed-widget.tpl.phpView source
<?php
/**
* @file
* This template handles the layout of the views exposed filter form.
*
* Variables available:
* - $widget->label: The visible label to print. May be optional.
* - $widget->operator: The operator for the widget. May be optional.
* - $widget->widget: The widget itself.
*
* @ingroup views_templates
*/
?>
<div id="<?php
print $widget->id;
?>-wrapper" class="<?php
print implode(' ', $classes_array);
?>">
<?php
if (!empty($widget->label)) {
?>
<label for="<?php
print $widget->id;
?>">
<?php
print $widget->label;
?>
</label>
<?php
}
?>
<?php
if (!empty($widget->operator)) {
?>
<div class="views-operator">
<?php
print $widget->operator;
?>
</div>
<?php
}
?>
<?php
if (property_exists($widget, 'operator')) {
?><div class="views-widget"><?php
}
?>
<?php
print $widget->widget;
?>
<?php
if (property_exists($widget, 'operator')) {
?></div><?php
}
?>
<?php
if (!empty($widget->description)) {
?>
<div class="description">
<?php
print $widget->description;
?>
</div>
<?php
}
?>
</div>