X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Ftheme.php;h=41553cf8c4aa765795bf81d5c98dbfd48d8d1175;hb=34bc0b0c97b7ba4a29d217c33227906e2ced6a73;hp=89fea650bac1b6b2c531d09b9885d52f0703ad40;hpb=924869ab5b75fd496014a1b7ca1240a6df939fc6;p=friendica.git diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php index 89fea650ba..41553cf8c4 100644 --- a/view/theme/vier/theme.php +++ b/view/theme/vier/theme.php @@ -129,7 +129,7 @@ function get_vier_config($key, $default = false, $admin = false) function vier_community_info() { - $a = get_app(); + $a = \get_app(); $show_pages = get_vier_config("show_pages", 1); $show_profiles = get_vier_config("show_profiles", 1); @@ -313,10 +313,6 @@ function vier_community_info() /// @TODO This whole thing is hard-coded, better rewrite to Intercepting Filter Pattern (future-todo) $r = []; - if (Addon::isEnabled("appnet")) { - $r[] = ["photo" => "images/appnet.png", "name" => "App.net"]; - } - if (Addon::isEnabled("buffer")) { $r[] = ["photo" => "images/buffer.png", "name" => "Buffer"]; } @@ -329,10 +325,6 @@ function vier_community_info() $r[] = ["photo" => "images/dreamwidth.png", "name" => "Dreamwidth"]; } - if (Addon::isEnabled("fbpost")) { - $r[] = ["photo" => "images/facebook.png", "name" => "Facebook"]; - } - if (Addon::isEnabled("ifttt")) { $r[] = ["photo" => "addon/ifttt/ifttt.png", "name" => "IFTTT"]; } @@ -341,10 +333,6 @@ function vier_community_info() $r[] = ["photo" => "images/gnusocial.png", "name" => "GNU Social"]; } - if (Addon::isEnabled("gpluspost")) { - $r[] = ["photo" => "images/googleplus.png", "name" => "Google+"]; - } - /// @TODO old-lost code (and below)? //if (Addon::isEnabled("ijpost")) { // $r[] = array("photo" => "images/", "name" => "");