@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | $results = $model->getRelevanceSortedResult(); |
| 31 | 31 | |
| 32 | 32 | if (!\Ffcms\Core\Helper\Type\Obj::isArray($results) || count($results) < 1) { |
| 33 | - echo '<p class="alert alert-warning">' . __('Matches not founded') . '</p>'; |
|
| 33 | + echo '<p class="alert alert-warning">'.__('Matches not founded').'</p>'; |
|
| 34 | 34 | return; |
| 35 | 35 | } |
| 36 | 36 | ?> |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | <div class="col-md-12"> |
| 41 | 41 | <div class="search-result"> |
| 42 | 42 | <div class="h4"> |
| 43 | - <a href="<?= \App::$Alias->baseUrl . $item['uri'] ?>"><?= $model->highlightText($item['title'], 'span', ['class' => 'search-highlight']) ?></a> |
|
| 43 | + <a href="<?= \App::$Alias->baseUrl.$item['uri'] ?>"><?= $model->highlightText($item['title'], 'span', ['class' => 'search-highlight']) ?></a> |
|
| 44 | 44 | <small class="pull-right"><?= $item['date'] ?></small> |
| 45 | 45 | </div> |
| 46 | 46 | <small><?= $model->highlightText($item['snippet'], 'span', ['class' => 'search-highlight']) ?>...</small> |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | $class = 'label-danger'; |
| 66 | 66 | $tooltip = __('Location: %loc%. Required permissions: +rw', ['loc' => $dir]); |
| 67 | 67 | } |
| 68 | - echo '<span class="label ' . $class . '" data-toggle="tooltip" title="' . $tooltip . '">' . $dir . '</span> '; |
|
| 68 | + echo '<span class="label '.$class.'" data-toggle="tooltip" title="'.$tooltip.'">'.$dir.'</span> '; |
|
| 69 | 69 | } |
| 70 | 70 | ?> |
| 71 | 71 | <hr /> |