directory: move pagination into template

This commit is contained in:
rabuzarus 2015-10-17 21:45:55 +02:00
parent 72896b0f6b
commit b9d9bf8ecd
2 changed files with 5 additions and 4 deletions

View file

@ -196,11 +196,10 @@ function directory_content(&$a) {
'$finding' => t('Finding:'),
'$findterm' => (strlen($search) ? $search : ""),
'$title' => t('Site Directory'),
'$submit' => t('Find')
'$submit' => t('Find'),
'$paginate' => paginate($a),
));
$o .= paginate($a);
}
else
info( t("No entries \x28some entries may be hidden\x29.") . EOL);

View file

@ -26,4 +26,6 @@
{{include file="directory_item.tpl"}}
{{/foreach}}
<div class="directory-end" ></div>
<div class="directory-end" ></div>
{{$paginate}}