Rollback sur la gestion des logo

Prepare pour variables next-step
This commit is contained in:
Alan Garcia 2014-01-21 08:37:02 +00:00
parent d83474112f
commit ca692da0f7
2 changed files with 2 additions and 8 deletions

View File

@ -61,10 +61,7 @@ if (file_exists("styles/style-custom.css") ) {
<div id="content" style="width:1000px;"> <div id="content" style="width:1000px;">
<?php <?php
// Getting logo // Getting logo
$logo = variable_get('logo_login_'.strtolower($_SERVER['HTTP_HOST']), '', 'You can specify a logo for the login page for a specific URL of the panel'); $logo = variable_get('logo_login', '' ,'You can specify a logo for the login page, example /images/my_logo.png . Set 0 or empty to reset it. ');
if ( empty($logo) || ! $logo ) {
$logo = variable_get('logo_login', '' ,'You can specify a logo for the login page, example /images/my_logo.png . Set 0 or empty to reset it. ');
}
if ( empty($logo) || ! $logo ) { if ( empty($logo) || ! $logo ) {
$logo = 'images/logo.png'; $logo = 'images/logo.png';
} }

View File

@ -30,10 +30,7 @@
require_once("../class/config.php"); require_once("../class/config.php");
// Getting logo // Getting logo
$logo = variable_get('logo_menu_'.strtolower($_SERVER['HTTP_HOST']), '', 'You can specify a logo for the menu for a specific URL of the panel'); $logo = variable_get('logo_menu', '' ,'You can specify a logo for the menu, example /images/my_logo.png . Set 0 or empty to reset it. ');
if ( empty($logo) || ! $logo ) {
$logo = variable_get('logo_menu', '' ,'You can specify a logo for the menu, example /images/my_logo.png . Set 0 or empty to reset it. ');
}
if ( empty($logo) || ! $logo ) { if ( empty($logo) || ! $logo ) {
$logo = 'images/logo3.png'; $logo = 'images/logo3.png';
} }