exposed_filter_data.tpl.php in Exposed Filter Data 7
Same filename and directory in other branches
Basic template file
1 theme call to exposed_filter_data.tpl.php
- get_exposed_filter_output in ./
exposed_filter_data.module - Simple call to the theme, easy to be used in a view header
File
exposed_filter_data.tpl.phpView source
<?php
/**
* @file
* Basic template file
*/
if (isset($exposed_filters)) {
?>
<div class="exposed_filter_data">
<div class="title"><?php
print t('Filtered by:');
?></div>
<div class="content">
<?php
foreach ($exposed_filters as $filter => $value) {
?>
<?php
if ($value) {
?>
<div class="filter"><div class="name"><?php
print $filter;
?>: </div>
<?php
if (is_array($value)) {
?>
<div class="value"><?php
print implode(', ', $value);
?></div>
<?php
}
else {
?>
<div class="value"><?php
print $value;
?></div>
<?php
}
?>
</div>
<?php
}
?>
<?php
}
?>
</div>
</div>
<?php
}