diff --git a/includes/game.php b/includes/game.php index eae1e17..b1b50de 100644 --- a/includes/game.php +++ b/includes/game.php @@ -1,5 +1,4 @@ assign('zonedata', $zonedata); $smarty->assign('exdata', $exdata); } -} \ No newline at end of file +} diff --git a/index.php b/index.php index 10c8bf1..f02937a 100644 --- a/index.php +++ b/index.php @@ -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); // Настройка шаблонизатора и ДБ diff --git a/npc.php b/npc.php index 1b50838..cee49ad 100644 --- a/npc.php +++ b/npc.php @@ -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'); \ No newline at end of file +$smarty->display('npc.tpl'); diff --git a/templates/wowhead/css/global.css b/templates/wowhead/css/global.css index 2399f5f..ca0e189 100644 --- a/templates/wowhead/css/global.css +++ b/templates/wowhead/css/global.css @@ -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 diff --git a/templates/wowhead/js/global.js b/templates/wowhead/js/global.js index e5a67e0..7142aa8 100644 --- a/templates/wowhead/js/global.js +++ b/templates/wowhead/js/global.js @@ -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";