]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/vier/config.php
Vier - mobile friendly ACL window and form fields
[friendica.git] / view / theme / vier / config.php
index 9f4fb0f93a1cc15a7e59b4a1f0412057779001d9..7c51b4ec95be31c7af31825fc362b18ced52104c 100644 (file)
@@ -9,6 +9,9 @@ function theme_content(&$a){
        if(!local_user())
                return;
 
+       if (!function_exists('get_vier_config'))
+               return;
+
        $style = get_pconfig(local_user(), 'vier', 'style');
 
        if ($style == "")
@@ -45,6 +48,10 @@ function theme_post(&$a){
 
 
 function theme_admin(&$a){
+
+       if (!function_exists('get_vier_config'))
+               return;
+
        $style = get_config('vier', 'style');
 
        $helperlist = get_config('vier', 'helperlist');