mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-17 05:48:49 +00:00
Rewrite:
- moved PAGE_* constants to class Friendica\Model\Profile
This commit is contained in:
parent
31d0fac64a
commit
e03fc64e6c
1 changed files with 5 additions and 5 deletions
|
@ -159,11 +159,11 @@ function forumdirectory_content(&$a)
|
|||
}
|
||||
|
||||
switch ($rr['page-flags']) {
|
||||
case PAGE_NORMAL : $page_type = "Personal Profile"; break;
|
||||
case PAGE_SOAPBOX : $page_type = "Fan Page" ; break;
|
||||
case PAGE_COMMUNITY: $page_type = "Community Forum" ; break;
|
||||
case PAGE_FREELOVE : $page_type = "Open Forum" ; break;
|
||||
case PAGE_PRVGROUP : $page_type = "Private Group" ; break;
|
||||
case Profile::PAGE_NORMAL : $page_type = "Personal Profile"; break;
|
||||
case Profile::PAGE_SOAPBOX : $page_type = "Fan Page" ; break;
|
||||
case Profile::PAGE_COMMUNITY: $page_type = "Community Forum" ; break;
|
||||
case Profile::PAGE_FREELOVE : $page_type = "Open Forum" ; break;
|
||||
case Profile::PAGE_PRVGROUP : $page_type = "Private Group" ; break;
|
||||
}
|
||||
|
||||
$profile = $rr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue