summaryrefslogtreecommitdiff
path: root/templates/search.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/search.tpl')
-rw-r--r--templates/search.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/search.tpl b/templates/search.tpl
index 0a0919c..0e4e1f3 100644
--- a/templates/search.tpl
+++ b/templates/search.tpl
@@ -34,7 +34,7 @@
</div>
{/form}
- {if $words}<h2>{tr}Found '<span class="highlight">{$words|escape:htmlall}</span>' in {$cant_results} {if $where2}{$where2}{else}pages{/if}{/tr}</h2>{/if}
+ {if $words}<h2>{tr}Found '<span class="highlight">{$words|escape:htmlall}</span>' in {$listInfo.total_records} {if $where2}{$where2}{else}pages{/if}{/tr}</h2>{/if}
{section name=search loop=$results}
{* using capture for no particular reason appart from a nicer layout - xing *}
@@ -68,7 +68,7 @@
{if $words}<div class="norecords">{tr}No pages matched the search criteria{/tr}</div>{/if}
{/section}
- {pagination}
+ {pagination usePart=$partialOnOff content_type_guid=$content_type_guid highlight=$words|escape }
</div>
</div>
{/strip}