diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 3eda0451e2..700c4ead18 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,33 @@ +2014-03-27 Alejandro Gallardo + + * include/functions_config.php, + godmode/setup/setup_visuals.php, + general/login_page.php: Now is possible to select a + custom login background in the setup visuals section. + + * images/backgrounds/default_4.0-stripes.gif, + images/backgrounds/default_4.0.jpg, + images/backgrounds/default_5.0.png, + images/backgrounds/flowers.jpg, + images/backgrounds/grass.jpg, + images/backgrounds/tiles.jpg, + images/backgrounds/wall.jpg, + images/backgrounds/wood.jpg: Added new images to use + it as custom login backgrounds. + + * images/backgrounds/background1.jpg, + images/backgrounds/background2.jpg, + images/backgrounds/background3.jpg, + images/backgrounds/background4.jpg, + images/backgrounds/background5.jpg, + images/backgrounds/background6.jpg, + images/backgrounds/background7.jpg, + images/backgrounds/background8.jpg, + images/backgrounds/background9.jpg, + images/backgrounds/background10.jpg, + images/backgrounds/background_red.jpg: Delete some + VERY old images. + 2014-03-27 Vanessa Gil * images/help/custom_oid2.png: Changed image. diff --git a/pandora_console/general/login_page.php b/pandora_console/general/login_page.php index 2bbd7c020b..b795810ee5 100644 --- a/pandora_console/general/login_page.php +++ b/pandora_console/general/login_page.php @@ -54,7 +54,12 @@ if (!empty ($page) && !empty ($sec)) { $url .= '&'.safe_url_extraclean($key).'='.safe_url_extraclean($value); } } -echo '
'; +// Overrides the default background with the defined by the user +if (!empty($config['login_background'])) { + $background_url = ui_get_full_url("images/backgrounds/") . $config['login_background']; + $login_body_style = "style=\"background-image: url('$background_url');\""; +} +echo '
'; echo '
'; echo '