Hop, le logo en page d'accueil deviens aussi surchargeable :)

This commit is contained in:
Alan Garcia 2013-02-28 16:56:52 +00:00
parent a1fa53cb95
commit 917e35304f
4 changed files with 8 additions and 7 deletions

2
.gitattributes vendored
View File

@ -213,6 +213,7 @@ bureau/admin/images/help.png -text
bureau/admin/images/home.png -text
bureau/admin/images/ip.png -text
bureau/admin/images/lang.png -text
bureau/admin/images/logo.png -text
bureau/admin/images/logo3.png -text
bureau/admin/images/logs.png -text
bureau/admin/images/mail.png -text
@ -280,7 +281,6 @@ bureau/admin/js/jquery_ui/js/jquery-ui-1.8.23.custom.min.js -text
bureau/admin/js/passwordStrengthMeter.js -text
bureau/admin/js/prototype.js -text
bureau/admin/login.php -text
bureau/admin/logo.png -text
bureau/admin/logo2.png -text
bureau/admin/logs_download.php -text
bureau/admin/logs_list.php -text

View File

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@ -53,8 +53,12 @@ if (!$charset) $charset="UTF-8";
<div id="global">
<div id="content" style="width:1000px;">
<?php
$logo = variable_get('logo_login', 0 ,'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 = 'images/logo.png'; }
?>
<p id="logo"> <img src="logo.png" border="0" alt="<?php __("Web Hosting Control Panel"); ?>" title="<?php __("Web Hosting Control Panel"); ?>" /></a>
<p id="logo"> <img src="<?php echo $logo; ?>" border="0" alt="<?php __("Web Hosting Control Panel"); ?>" title="<?php __("Web Hosting Control Panel"); ?>" /></a>
</p>
<p>&nbsp;</p>
<?php if (isset($error) && $error) echo "<div class='error'>$error</div>"; ?>

View File

@ -29,11 +29,8 @@
*/
require_once("../class/config.php");
$logo = variable_get('menu_logo', 0 ,'You can specify a logo for your AlternC, example /images/my_logo.png . Set 0 or empty to reset it. ');
if ( empty($logo) || ! $logo ) {
$logo = 'images/logo3.png';
}
$logo = variable_get('logo_menu', 0 ,'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 = 'images/logo3.png'; }
?>
<img src="<?php echo $logo; ?>" class="menutoplogo" border="0" alt="AlternC" alt="<?php __("AlternC"); ?>"/>