X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Fconfig.php;h=9fd19e8abae87c847db7a7de3415f7c6234879ec;hb=e0f4d2204991b7c53268bfa9d0ec855db387ffe3;hp=2989f6c5cfb1a8e229e6114db42ad8f4a5a97038;hpb=8b7d5d0efc3e28b2f7a5407f6583c8232739aa71;p=friendica.git diff --git a/view/theme/vier/config.php b/view/theme/vier/config.php index 2989f6c5cf..9fd19e8aba 100644 --- a/view/theme/vier/config.php +++ b/view/theme/vier/config.php @@ -5,7 +5,7 @@ -function theme_content(&$a){ +function theme_content(App $a) { if (!local_user()) { return; } @@ -35,7 +35,7 @@ function theme_content(&$a){ $show_services, $show_friends, $show_lastusers); } -function theme_post(&$a){ +function theme_post(App $a) { if (! local_user()) { return; } @@ -52,7 +52,7 @@ function theme_post(&$a){ } -function theme_admin(&$a){ +function theme_admin(App $a) { if (!function_exists('get_vier_config')) return; @@ -81,7 +81,7 @@ function theme_admin(&$a){ return $o; } -function theme_admin_post(&$a){ +function theme_admin_post(App $a) { if (isset($_POST['vier-settings-submit'])){ set_config('vier', 'style', $_POST['vier_style']); set_config('vier', 'show_pages', $_POST['vier_show_pages']); @@ -95,7 +95,7 @@ function theme_admin_post(&$a){ } /// @TODO $a is no longer used -function vier_form(&$a, $style, $show_pages, $show_profiles, $show_helpers, $show_services, $show_friends, $show_lastusers){ +function vier_form(App $a, $style, $show_pages, $show_profiles, $show_helpers, $show_services, $show_friends, $show_lastusers) { $styles = array( "plus"=>"Plus", "breathe"=>"Breathe",