Browse Source

unify directory page

pull/1975/head
rabuzarus 6 years ago
parent
commit
72896b0f6b
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      mod/directory.php
  2. +1
    -1
      view/templates/directory_header.tpl

+ 3
- 1
mod/directory.php 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')
));


+ 1
- 1
view/templates/directory_header.tpl View File

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


Loading…
Cancel
Save