The account type is now read and displayed
This commit is contained in:
parent
82dcc3fe79
commit
60a0235af0
16 changed files with 78 additions and 59 deletions
|
@ -38,10 +38,7 @@ function photos_init(&$a) {
|
|||
|
||||
$profile = get_profiledata_by_nick($nick, $a->profile_uid);
|
||||
|
||||
if((intval($profile['page-flags']) == PAGE_COMMUNITY) || (intval($profile['page-flags']) == PAGE_PRVGROUP))
|
||||
$account_type = t('Forum');
|
||||
else
|
||||
$account_type = "";
|
||||
$account_type = account_type($profile);
|
||||
|
||||
$tpl = get_markup_template("vcard-widget.tpl");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue