Now all modules are in core modules folder
This commit is contained in:
parent
5ba1cdfa0b
commit
05b6a91b0c
1907 changed files with 0 additions and 0 deletions
47
modules/views/theme/views-exposed-form.tpl.php
Normal file
47
modules/views/theme/views-exposed-form.tpl.php
Normal file
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
/**
|
||||
* @file views-exposed-form.tpl.php
|
||||
*
|
||||
* This template handles the layout of the views exposed filter form.
|
||||
*
|
||||
* Variables available:
|
||||
* - $widgets: An array of exposed form widgets. Each widget contains:
|
||||
* - $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.
|
||||
* - $button: The submit button for the form.
|
||||
*
|
||||
* @ingroup views_templates
|
||||
*/
|
||||
?>
|
||||
<?php if (!empty($q)): ?>
|
||||
<?php
|
||||
// This ensures that, if clean URLs are off, the 'q' is added first so that
|
||||
// it shows up first in the URL.
|
||||
print $q;
|
||||
?>
|
||||
<?php endif; ?>
|
||||
<div class="views-exposed-form">
|
||||
<div class="views-exposed-widgets clear-block">
|
||||
<?php foreach ($widgets as $id => $widget): ?>
|
||||
<div class="views-exposed-widget views-widget-<?php print $id; ?>">
|
||||
<?php if (!empty($widget->label)): ?>
|
||||
<label for="<?php print $widget->id; ?>">
|
||||
<?php print $widget->label; ?>
|
||||
</label>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($widget->operator)): ?>
|
||||
<div class="views-operator">
|
||||
<?php print $widget->operator; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="views-widget">
|
||||
<?php print $widget->widget; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<div class="views-exposed-widget views-submit-button">
|
||||
<?php print $button; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in a new issue