16 lines
601 B
PHTML
16 lines
601 B
PHTML
|
<?php $fulltextSearch = $this->params()->fromQuery('fulltext_search'); ?>
|
||
|
|
||
|
<h2><?php echo sprintf($this->translate('Site page results for "%s"'), $fulltextSearch); ?></h2>
|
||
|
|
||
|
<div class="site results">
|
||
|
<ul>
|
||
|
<?php foreach ($sitePages as $sitePage): ?>
|
||
|
<?php $site = $sitePage->site(); ?>
|
||
|
<li>
|
||
|
<span class="result-title"><?php echo $this->hyperlink($sitePage->title(), $sitePage->siteUrl()); ?></span>
|
||
|
<span class="result-site"><?php echo $this->hyperlink($site->title(), $site->siteUrl()); ?></span>
|
||
|
</li>
|
||
|
<?php endforeach; ?>
|
||
|
</ul>
|
||
|
</div>
|