X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fvideos.php;h=e5a0887bb9f3a2e6e22c1ade3fe262977d94886f;hb=0c9cc29a51941eb572bf16fd5489d0947d47d033;hp=de9feac06a385a91eb5ad86cc55257847b4cd7b0;hpb=cd7ec72b205ad2e2b177a9a76888e73a065b831c;p=friendica.git diff --git a/mod/videos.php b/mod/videos.php index de9feac06a..e5a0887bb9 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 .= '