diff --git a/view/theme/frio/config.php b/view/theme/frio/config.php index ea9bfaf13c..6d6b7dee60 100644 --- a/view/theme/frio/config.php +++ b/view/theme/frio/config.php @@ -76,7 +76,7 @@ function theme_admin(App $a) { $arr["contentbg_transp"] = Config::get('frio', 'contentbg_transp'); $arr["background_image"] = Config::get('frio', 'background_image'); $arr["bg_image_option"] = Config::get('frio', 'bg_image_option'); - $arr["login_bg_image"] = Config::get('frio', 'login_bg_image'); + $arr["login_bg_image"] = Config::get('frio', 'login_bg_image'); return frio_form($arr); } @@ -106,7 +106,7 @@ function frio_form($arr) { $background_image_help = "" . t("Note"). ": ".t("Check image permissions if all users are allowed to visit the image"); $t = get_markup_template('theme_settings.tpl'); - $ctx = array( + $ctx = array( '$submit' => t('Submit'), '$baseurl' => System::baseUrl(), '$title' => t("Theme settings"), @@ -120,9 +120,9 @@ function frio_form($arr) { '$bg_image_options' => Image::get_options($arr), ); - if ( array_key_exists("login_bg_image", $arr ) && !array_key_exists("login_bg_image", $disable ) ) { - $ctx['$login_bg_image'] = array('frio_login_bg_image', t('Login page background image'), $arr['login_bg_image'], $background_image_help); - } + if ( array_key_exists("login_bg_image", $arr ) && !array_key_exists("login_bg_image", $disable ) ) { + $ctx['$login_bg_image'] = array('frio_login_bg_image', t('Login page background image'), $arr['login_bg_image'], $background_image_help); + } $o .= replace_macros($t, $ctx); diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index bcd11cc62a..bf14109948 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -55,8 +55,8 @@ if (!isset($minimal)) { echo ' '; - $is_singleuser = Config::get('system','singleuser'); - $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser"; + $is_singleuser = Config::get('system','singleuser'); + $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser"; ?> "> diff --git a/view/theme/frio/style.php b/view/theme/frio/style.php index 6c1bdabad6..5d820af520 100644 --- a/view/theme/frio/style.php +++ b/view/theme/frio/style.php @@ -42,7 +42,7 @@ if ($a->module !== 'install') { $contentbg_transp = Config::get("frio", "contentbg_transp"); $background_image = Config::get("frio", "background_image"); $bg_image_option = Config::get("frio", "bg_image_option"); - $login_bg_image = Config::get("frio", "login_bg_image"); + $login_bg_image = Config::get("frio", "login_bg_image"); $modified = Config::get("frio", "css_modified"); // There is maybe the case that the user did never modify the theme settings. @@ -177,7 +177,7 @@ $options = array ( '$contentbg_transp' => $contentbg_transp, '$background_image' => $background_image, '$background_size_img' => $background_size_img, - '$login_bg_image' => $login_bg_image, + '$login_bg_image' => $login_bg_image, ); $css_tpl = file_get_contents('view/theme/frio/css/style.css');