Rollback sur la gestion des logo
Prepare pour variables next-step
This commit is contained in:
parent
d83474112f
commit
ca692da0f7
|
@ -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');
|
|
||||||
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. ');
|
$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';
|
||||||
}
|
}
|
||||||
|
|
|
@ -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');
|
|
||||||
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. ');
|
$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';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue