- Fix display of menu icons.

Signed-off-by: TheLuda <theluda@getmangos.com>
This commit is contained in:
TheLuda 2012-09-19 17:44:44 +02:00
parent 311a1198c4
commit 027850c5e2
5 changed files with 6 additions and 7 deletions

View File

@ -1,5 +1,4 @@
<?php
/*
* UDWBase: WOWDB Web Interface
*
@ -575,4 +574,4 @@ function position($id, $type) {
$smarty->assign('zonedata', $zonedata);
$smarty->assign('exdata', $exdata);
}
}
}

View File

@ -9,7 +9,7 @@
* @copyright Copyright (c) 2011 mangos foundation (http://getmangos.com/)
* @license http://www.gnu.org/licenses/gpl.html GPL v3
*/
error_reporting(E_ALL | E_STRICT);
error_reporting(E_ALL);
ini_set('display_errors', 1);
// Настройка шаблонизатора и ДБ

View File

@ -287,7 +287,6 @@ if (!$npc = load_cache(1, intval($id))) {
// Положения созданий божих:
position($npc['entry'], 'creature');
save_cache(1, $npc['entry'], $npc);
}
@ -319,4 +318,4 @@ $smarty->assign('npc', $npc);
$smarty->assign('mysql', $DB->getStatistics());
// Запускаем шаблонизатор
$smarty->display('npc.tpl');
$smarty->display('npc.tpl');

View File

@ -680,7 +680,7 @@ a#language-changer:hover,a#language-changer.open
cursor:default;
font-size:15px;
padding:0 0 10px 20px;
background:url(../images/favicon.gif) left 1px no-repeat;
background:url(../images/favicon.png) left 1px no-repeat;
}
#footer

View File

@ -1259,8 +1259,9 @@ var Menu = {
O.className = "menusub"
}
if (V[X][5] != null) {
V[X][5] = V[X][5].toLowerCase();
F.className = "icontiny";
F.style.backgroundImage = "url(images/icons/tiny/" + V[X][5] + ".gif)";
F.style.backgroundImage = "url(images/icons/small/" + V[X][5] + ".png)";
if (V[X].checked) {
var K = ce("span");
K.className = "menucheck";