22 lines
922 B
Plaintext
Executable File
22 lines
922 B
Plaintext
Executable File
|
|
<?php //echo "URL : " .$this->url($basicSearch) ."\n"; ?>
|
|
|
|
<?php if (count($searchTabs) > 0): ?>
|
|
<div="row">
|
|
<?php foreach ($searchTabs as $Tabs) : ?>
|
|
<?php if ($pos = strpos($Tabs['url'], $this->url($basicSearch))!== false) $Tabs['url'] = substr($Tabs['url'], strlen($this->url($basicSearch))+1) ; ?>
|
|
<?php echo $Tabs['url']; ?>
|
|
<?php endforeach; ?>
|
|
|
|
<?php foreach ($searchTabs as $tab): ?>
|
|
<?php if ($this->permission()->allowDisplay($tab['permission'])): ?>
|
|
<?php $tab['selected'] ? ' class="active"' : ''?>
|
|
<?php //print_r($tab) ; ?>
|
|
<input type="checkbox" <?=$isSelected ? 'checked="checked" ' : ''?>name='hiddenFilters' value='<?=($tab['url'])?>' /> <?=$this->transEsc($tab['label'])?>
|
|
<?php elseif ($block = $this->permission()->getAlternateContent($tab['permission'])): ?>
|
|
<?=$block?>
|
|
<?php endif; ?>
|
|
<?php endforeach; ?>
|
|
</div>
|
|
<?php endif ?>
|