From 5392f9eb8b3ee4cc5e6c1a0bf847cb0fb9878cdb Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Sun, 14 Jan 2018 21:53:37 +0100 Subject: [PATCH] spaces to tabs --- view/theme/frio/config.php | 10 +++++----- view/theme/frio/php/default.php | 4 ++-- view/theme/frio/style.php | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/view/theme/frio/config.php b/view/theme/frio/config.php index ea9bfaf13..6d6b7dee6 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 bcd11cc62..bf1410994 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 6c1bdabad..5d820af52 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');