]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/config.php
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / view / theme / frio / config.php
index cb2683aa0bc6a112bb2073a2fba3ca6fd1d5f958..000ef26092fa43330d1dcdda24489ade8980f3f6 100644 (file)
@@ -2,7 +2,9 @@
 require_once('view/theme/frio/php/Image.php');
 
 function theme_content(App &$a) {
-       if(!local_user()) { return;}
+       if (!local_user()) {
+               return;
+       }
        $arr = array();
 
        $arr["schema"]          = get_pconfig(local_user(),'frio', 'schema');
@@ -18,7 +20,10 @@ function theme_content(App &$a) {
 }
 
 function theme_post(App &$a) {
-       if(!local_user()) { return;}
+       if (!local_user()) {
+               return;
+       }
+
        if (isset($_POST['frio-settings-submit'])) {
                set_pconfig(local_user(), 'frio', 'schema',             $_POST["frio_schema"]);
                set_pconfig(local_user(), 'frio', 'nav_bg',             $_POST["frio_nav_bg"]);