From 72896b0f6b1677a42970f432485df213318141e9 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Sat, 17 Oct 2015 19:45:57 +0200 Subject: [PATCH] unify directory page --- mod/directory.php | 4 +++- view/templates/directory_header.tpl | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mod/directory.php b/mod/directory.php index 2093b1186..d256c590a 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -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') )); diff --git a/view/templates/directory_header.tpl b/view/templates/directory_header.tpl index ef9aa04af..07d625ed4 100644 --- a/view/templates/directory_header.tpl +++ b/view/templates/directory_header.tpl @@ -1,5 +1,5 @@ -

{{$sitedir}}

+{{include file="section_title.tpl"}} {{if $gdirpath}}