X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fvideos.php;h=bf8d696b60f90cceef1b14d825ba70151cde932f;hb=7f80de6db8af7a50b4d99ebdac1cf064e9b669c3;hp=de9feac06a385a91eb5ad86cc55257847b4cd7b0;hpb=cd7ec72b205ad2e2b177a9a76888e73a065b831c;p=friendica.git diff --git a/mod/videos.php b/mod/videos.php index de9feac06a..bf8d696b60 100644 --- a/mod/videos.php +++ b/mod/videos.php @@ -33,14 +33,10 @@ function videos_init(&$a) { $profile = get_profiledata_by_nick($nick, $a->profile_uid); - if((x($profile['page-flags']) == 1) - || (x($profile['page-flags']) == 2) - || (x($profile['page-flags']) == 5)) { - $account_type = page_type_translate($profile['page-flags']); - } - else { + if((intval($profile['page-flags']) == PAGE_COMMUNITY) || (intval($profile['page-flags']) == PAGE_PRVGROUP)) + $account_type = t('Forum'); + else $account_type = ""; - } $tpl = get_markup_template("vcard-widget.tpl"); @@ -65,7 +61,7 @@ function videos_init(&$a) { $albums_visible = ((intval($a->data['user']['hidewall']) && (! local_user()) && (! remote_user())) ? false : true); if($albums_visible) { - $o .= '