$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);
}
$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"),
'$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);
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;?>">
$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.
'$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');