2021-05-08 11:44:47 +02:00
|
|
|
<?php $fulltextSearch = $this->params()->fromQuery('fulltext_search'); ?>
|
|
|
|
|
|
|
|
<h2><?php echo sprintf($this->translate('Site page results for "%s"'), $fulltextSearch); ?></h2>
|
|
|
|
|
2021-05-08 14:09:02 +02:00
|
|
|
view/common/cross-site-search/site-page-results.phtml
|
|
|
|
|
2021-05-08 11:44:47 +02:00
|
|
|
<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>
|