forumdirectory: some polishing
This commit is contained in:
parent
85f0508494
commit
2b7c331afb
|
@ -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']);
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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" >
|
||||
|
|
Loading…
Reference in New Issue
Block a user