- Fix display of menu icons.
Signed-off-by: TheLuda <theluda@getmangos.com>
This commit is contained in:
+1
-2
@@ -1,5 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* UDWBase: WOWDB Web Interface
|
* UDWBase: WOWDB Web Interface
|
||||||
*
|
*
|
||||||
@@ -575,4 +574,4 @@ function position($id, $type) {
|
|||||||
$smarty->assign('zonedata', $zonedata);
|
$smarty->assign('zonedata', $zonedata);
|
||||||
$smarty->assign('exdata', $exdata);
|
$smarty->assign('exdata', $exdata);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
* @copyright Copyright (c) 2011 mangos foundation (http://getmangos.com/)
|
* @copyright Copyright (c) 2011 mangos foundation (http://getmangos.com/)
|
||||||
* @license http://www.gnu.org/licenses/gpl.html GPL v3
|
* @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);
|
ini_set('display_errors', 1);
|
||||||
|
|
||||||
// Настройка шаблонизатора и ДБ
|
// Настройка шаблонизатора и ДБ
|
||||||
|
|||||||
@@ -287,7 +287,6 @@ if (!$npc = load_cache(1, intval($id))) {
|
|||||||
|
|
||||||
// Положения созданий божих:
|
// Положения созданий божих:
|
||||||
position($npc['entry'], 'creature');
|
position($npc['entry'], 'creature');
|
||||||
|
|
||||||
save_cache(1, $npc['entry'], $npc);
|
save_cache(1, $npc['entry'], $npc);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -319,4 +318,4 @@ $smarty->assign('npc', $npc);
|
|||||||
$smarty->assign('mysql', $DB->getStatistics());
|
$smarty->assign('mysql', $DB->getStatistics());
|
||||||
|
|
||||||
// Запускаем шаблонизатор
|
// Запускаем шаблонизатор
|
||||||
$smarty->display('npc.tpl');
|
$smarty->display('npc.tpl');
|
||||||
|
|||||||
@@ -680,7 +680,7 @@ a#language-changer:hover,a#language-changer.open
|
|||||||
cursor:default;
|
cursor:default;
|
||||||
font-size:15px;
|
font-size:15px;
|
||||||
padding:0 0 10px 20px;
|
padding:0 0 10px 20px;
|
||||||
background:url(../images/favicon.gif) left 1px no-repeat;
|
background:url(../images/favicon.png) left 1px no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer
|
#footer
|
||||||
|
|||||||
@@ -1259,8 +1259,9 @@ var Menu = {
|
|||||||
O.className = "menusub"
|
O.className = "menusub"
|
||||||
}
|
}
|
||||||
if (V[X][5] != null) {
|
if (V[X][5] != null) {
|
||||||
|
V[X][5] = V[X][5].toLowerCase();
|
||||||
F.className = "icontiny";
|
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) {
|
if (V[X].checked) {
|
||||||
var K = ce("span");
|
var K = ce("span");
|
||||||
K.className = "menucheck";
|
K.className = "menucheck";
|
||||||
|
|||||||
Reference in New Issue
Block a user