]> git.mxchange.org Git - friendica.git/commitdiff
unify directory page
authorrabuzarus <>
Sat, 17 Oct 2015 17:45:57 +0000 (19:45 +0200)
committerrabuzarus <>
Sat, 17 Oct 2015 17:45:57 +0000 (19:45 +0200)
mod/directory.php
view/templates/directory_header.tpl

index 2093b1186309887bfc76c3b017c1167a6f5c1364..d256c590aaf890102c8c4ec698055fff93a8fe0d 100644 (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')
                ));
 
index ef9aa04af5684abf95df489b563a4de3f29ebbc9..07d625ed4e636ac20093961f3ab3521bc167f4ab 100644 (file)
@@ -1,5 +1,5 @@
 
-<h1>{{$sitedir}}</h1>
+{{include file="section_title.tpl"}}
 
 {{if $gdirpath}}
        <ul>