<?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');
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"]);