spaces to tabs
authorfabrixxm <fabrix.xm@gmail.com>
Sun, 14 Jan 2018 20:53:37 +0000 (21:53 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Sun, 14 Jan 2018 20:53:37 +0000 (21:53 +0100)
view/theme/frio/config.php
view/theme/frio/php/default.php
view/theme/frio/style.php

index ea9bfaf..6d6b7de 100644 (file)
@@ -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 = "<strong>" . t("Note"). ": </strong>".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);
 
index bcd11cc..bf14109 100644 (file)
@@ -55,8 +55,8 @@ if (!isset($minimal)) {
        echo '
                <meta name="theme-color" content="' . $nav_bg . '" />';
 
-    $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";
 ?>
        </head>
        <body id="top" class="mod-<?php echo $a->module." ".$is_singleuser_class;?>">
index 6c1bdab..5d820af 100644 (file)
@@ -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');