The account type is now read and displayed

This commit is contained in:
Michael Vogel 2016-10-01 20:03:27 +00:00
commit 60a0235af0
16 changed files with 78 additions and 59 deletions

View file

@ -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");