unify directory page

This commit is contained in:
rabuzarus 2015-10-17 19:45:57 +02:00
parent 6ebb21a935
commit 72896b0f6b
2 changed files with 4 additions and 2 deletions

View file

@ -6,6 +6,8 @@ function directory_init(&$a) {
if(local_user()) {
require_once('include/contact_widgets.php');
$a->page['aside'] .= follow_widget();
$a->page['aside'] .= findpeople_widget();
}
@ -193,7 +195,7 @@ function directory_content(&$a) {
'$entries' => $entries,
'$finding' => t('Finding:'),
'$findterm' => (strlen($search) ? $search : ""),
'$sitedir' => t('Site Directory'),
'$title' => t('Site Directory'),
'$submit' => t('Find')
));

View file

@ -1,5 +1,5 @@
<h1>{{$sitedir}}</h1>
{{include file="section_title.tpl"}}
{{if $gdirpath}}
<ul>