forumdirectory: some polishing

This commit is contained in:
rabuzarus 2019-02-18 13:03:21 +01:00
parent 85f0508494
commit 2b7c331afb
3 changed files with 66 additions and 68 deletions

View File

@ -144,12 +144,12 @@ function directory_content(App $a)
* Format contact/profile/user data from the database into an usable
* array for displaying directory entries.
*
* @param type $r The directory entry from the database.
* @param type $arr The directory entry from the database.
* @param string $photo_size Avatar size (thumb, photo or micro).
*
* @return array
*/
function format_directory_entry($arr, $photo_size = 'photo')
function format_directory_entry(array $arr, $photo_size = 'photo')
{
$itemurl = (($arr['addr'] != "") ? $arr['addr'] : $arr['profile_url']);

View File

@ -7,7 +7,6 @@
</ul>
{{/if}}
<div id="directory-search-wrapper">
<form id="directory-search-form" action="{{$search_mod}}" method="get" >
<span class="dirsearch-desc">{{$desc nofilter}}</span>

View File

@ -8,7 +8,6 @@
{{include file="section_title.tpl"}}
{{* The search input field to search for contacts *}}
<div id="directory-search-wrapper">
<form id="directory-search-form" class="navbar-form" role="search" action="{{$search_mod}}" method="get" >