mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:50:11 +00:00
added spaces + some curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
0cd241bcbe
commit
41a36606c6
60 changed files with 1018 additions and 930 deletions
|
@ -76,7 +76,7 @@ class ForumManager {
|
|||
*/
|
||||
public static function widget($uid,$cid = 0) {
|
||||
|
||||
if(! intval(feature_enabled(local_user(),'forumlist_widget')))
|
||||
if (! intval(feature_enabled(local_user(),'forumlist_widget')))
|
||||
return;
|
||||
|
||||
$o = '';
|
||||
|
@ -136,7 +136,7 @@ class ForumManager {
|
|||
public static function profile_advanced($uid) {
|
||||
|
||||
$profile = intval(feature_enabled($uid,'forumlist_profile'));
|
||||
if(! $profile)
|
||||
if (! $profile)
|
||||
return;
|
||||
|
||||
$o = '';
|
||||
|
@ -154,13 +154,17 @@ class ForumManager {
|
|||
foreach($contacts as $contact) {
|
||||
$forumlist .= micropro($contact,false,'forumlist-profile-advanced');
|
||||
$total_shown ++;
|
||||
if($total_shown == $show_total)
|
||||
|
||||
if ($total_shown == $show_total) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(count($contacts) > 0)
|
||||
if (count($contacts) > 0) {
|
||||
$o .= $forumlist;
|
||||
return $o;
|
||||
}
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue