diff --git a/themes/bootstrap/templates/search/controls/view.phtml b/themes/bootstrap/templates/search/controls/view.phtml index c88748e0ac8a0cd1b34b1452b1a454182a069264..ab1e6380cfdc3b82faa44bd25456aa7e0eccd717 100644 --- a/themes/bootstrap/templates/search/controls/view.phtml +++ b/themes/bootstrap/templates/search/controls/view.phtml @@ -1,10 +1,10 @@ <div class="pull-right"> <? $viewList = $this->params->getViewList(); if (count($viewList) > 1): ?> <? foreach ($viewList as $viewType => $viewData): ?> - <img src="<?=$this->imageLink('view_'.$viewType.'.png') ?>"<? if($viewData['selected']): ?> title="<?=$this->transEsc($viewData['desc']) ?> <?=$this->transEsc('view already selected') ?>" <? endif ?> alt="<?=$this->transEsc($viewData['desc'])?>"/> <? if (!$viewData['selected']): ?> <a href="<?=$this->results->getUrlQuery()->setViewParam($viewType)?>" title="<?=$this->transEsc('Switch view to')?> <?=$this->transEsc($viewData['desc'])?>" > <? endif; ?> + <img src="<?=$this->imageLink('view_'.$viewType.'.png') ?>"<? if($viewData['selected']): ?> title="<?=$this->transEsc($viewData['desc']) ?> <?=$this->transEsc('view already selected') ?>" <? endif ?> alt="<?=$this->transEsc($viewData['desc'])?>"/> <?=ucfirst($this->transEsc($viewType)) ?> <?=$this->transEsc('view') ?><? if (!$viewData['selected']): ?></a><? endif; ?> <? endforeach; ?> <? endif; ?>