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