dirfind: move pagination into template

This commit is contained in:
rabuzarus
2015-10-17 22:09:19 +02:00
parent 67f699403a
commit 4b8ca578d1
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -156,6 +156,7 @@ function dirfind_content(&$a, $prefix = "") {
$o .= replace_macros($tpl,array(
'title' => sprintf( t('People Search - %s'), $search),
'$entries' => $entries,
'$paginate' => paginate($a),
));
}
@@ -165,6 +166,5 @@ function dirfind_content(&$a, $prefix = "") {
}
$o .= paginate($a);
return $o;
}
+1 -1
View File
@@ -82,6 +82,7 @@ function match_content(&$a) {
$o .= replace_macros($tpl,array(
'$title' => t('Profile Match'),
'entries' => $entries,
'$paginate' => paginate($a),
));
}
@@ -91,6 +92,5 @@ function match_content(&$a) {
}
$o .= paginate($a);
return $o;
}
+2
View File
@@ -36,3 +36,5 @@
{{/foreach}}
<div class="clear"></div>
{{$paginate}}