directory: move pagination into template
This commit is contained in:
parent
72896b0f6b
commit
b9d9bf8ecd
|
@ -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);
|
||||
|
|
|
@ -27,3 +27,5 @@
|
|||
{{/foreach}}
|
||||
|
||||
<div class="directory-end" ></div>
|
||||
|
||||
{{$paginate}}
|
||||
|
|
Loading…
Reference in a new issue