mirror of
https://github.com/friendica/friendica
synced 2024-11-18 01:43:41 +00:00
unify directory page
This commit is contained in:
parent
6ebb21a935
commit
72896b0f6b
2 changed files with 4 additions and 2 deletions
|
@ -6,6 +6,8 @@ function directory_init(&$a) {
|
||||||
if(local_user()) {
|
if(local_user()) {
|
||||||
require_once('include/contact_widgets.php');
|
require_once('include/contact_widgets.php');
|
||||||
|
|
||||||
|
$a->page['aside'] .= follow_widget();
|
||||||
|
|
||||||
$a->page['aside'] .= findpeople_widget();
|
$a->page['aside'] .= findpeople_widget();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -193,7 +195,7 @@ function directory_content(&$a) {
|
||||||
'$entries' => $entries,
|
'$entries' => $entries,
|
||||||
'$finding' => t('Finding:'),
|
'$finding' => t('Finding:'),
|
||||||
'$findterm' => (strlen($search) ? $search : ""),
|
'$findterm' => (strlen($search) ? $search : ""),
|
||||||
'$sitedir' => t('Site Directory'),
|
'$title' => t('Site Directory'),
|
||||||
'$submit' => t('Find')
|
'$submit' => t('Find')
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
<h1>{{$sitedir}}</h1>
|
{{include file="section_title.tpl"}}
|
||||||
|
|
||||||
{{if $gdirpath}}
|
{{if $gdirpath}}
|
||||||
<ul>
|
<ul>
|
||||||
|
|
Loading…
Reference in a new issue