]> 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 589f1591a0dee3b345ecd3989f028773b1bef64e..000ef26092fa43330d1dcdda24489ade8980f3f6 100644 (file)
@@ -1,8 +1,10 @@
 <?php
 require_once('view/theme/frio/php/Image.php');
 
-function theme_content(&$a) {
-       if(!local_user()) { return;}
+function theme_content(App &$a) {
+       if (!local_user()) {
+               return;
+       }
        $arr = array();
 
        $arr["schema"]          = get_pconfig(local_user(),'frio', 'schema');
@@ -17,8 +19,11 @@ function theme_content(&$a) {
        return frio_form($a, $arr);
 }
 
-function theme_post(&$a) {
-       if(!local_user()) { return;}
+function theme_post(App &$a) {
+       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"]);