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:'),
|
'$finding' => t('Finding:'),
|
||||||
'$findterm' => (strlen($search) ? $search : ""),
|
'$findterm' => (strlen($search) ? $search : ""),
|
||||||
'$title' => t('Site Directory'),
|
'$title' => t('Site Directory'),
|
||||||
'$submit' => t('Find')
|
'$submit' => t('Find'),
|
||||||
|
'$paginate' => paginate($a),
|
||||||
));
|
));
|
||||||
|
|
||||||
$o .= paginate($a);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
info( t("No entries \x28some entries may be hidden\x29.") . EOL);
|
info( t("No entries \x28some entries may be hidden\x29.") . EOL);
|
||||||
|
|
|
@ -26,4 +26,6 @@
|
||||||
{{include file="directory_item.tpl"}}
|
{{include file="directory_item.tpl"}}
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
|
|
||||||
<div class="directory-end" ></div>
|
<div class="directory-end" ></div>
|
||||||
|
|
||||||
|
{{$paginate}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user