diff --git a/localization/locale_enus.php b/localization/locale_enus.php index 3365ff0a..439052a9 100644 --- a/localization/locale_enus.php +++ b/localization/locale_enus.php @@ -124,7 +124,7 @@ $lang = array( 'class' => "class", 'classes' => "Classes", 'races' => "Races", - 'title' => "Title", + 'title' => "title", 'titles' => "Titles", 'eventShort' => "Event", 'event' => "World Event", diff --git a/localization/locale_eses.php b/localization/locale_eses.php index a720b33e..f83be62e 100644 --- a/localization/locale_eses.php +++ b/localization/locale_eses.php @@ -63,7 +63,7 @@ $lang = array( 'class' => "clase", 'classes' => "Clases", 'races' => "Razas", - 'title' => "Título", + 'title' => "título", 'titles' => "Títulos", 'eventShort' => "Evento", 'event' => "Suceso mundial ", diff --git a/localization/locale_frfr.php b/localization/locale_frfr.php index 18d45d76..cf145371 100644 --- a/localization/locale_frfr.php +++ b/localization/locale_frfr.php @@ -63,7 +63,7 @@ $lang = array( 'class' => "classe", 'classes' => "Classes", 'races' => "Races", - 'title' => "Titre", + 'title' => "titre", 'titles' => "Titres", 'eventShort' => "Évènement", 'event' => "Évènement mondial", diff --git a/localization/locale_ruru.php b/localization/locale_ruru.php index 1d501fde..b768c029 100644 --- a/localization/locale_ruru.php +++ b/localization/locale_ruru.php @@ -63,7 +63,7 @@ $lang = array( 'class' => "класс", 'classes' => "Классы", 'races' => "Расы", - 'title' => "Звание", + 'title' => "звание", 'titles' => "Звания", 'eventShort' => "Игровое событие", 'event' => "Событие", diff --git a/pages/title.php b/pages/title.php index a9a743bb..4939657d 100644 --- a/pages/title.php +++ b/pages/title.php @@ -14,7 +14,7 @@ require_once('includes/class.community.php'); $Id = intVal($pageParam); -$cacheKeyPage = implode('_', [CACHETYPE_PAGE, TYPEID_TITLE, $id, -1, User::$localeId]); +$cacheKeyPage = implode('_', [CACHETYPE_PAGE, TYPEID_TITLE, $Id, -1, User::$localeId]); if (!$smarty->loadCache($cacheKeyPage, $pageData)) { @@ -88,9 +88,9 @@ if (!$smarty->loadCache($cacheKeyPage, $pageData)) else { $smarty->updatePageVars(array( - 'subject' => ucfirst(Lang::$main['class']), + 'subject' => ucfirst(Lang::$game['title']), 'id' => $Id, - 'notFound' => sprintf(Lang::$main['pageNotFound'], Lang::$main['class']), + 'notFound' => sprintf(Lang::$main['pageNotFound'], Lang::$game['title']), )); $smarty->assign('lang', Lang::$main); $smarty->display('404.tpl'); @@ -99,7 +99,7 @@ if (!$smarty->loadCache($cacheKeyPage, $pageData)) } $smarty->updatePageVars(array( - 'title' => $pageData['title']." - ".Lang::$game['title'], + 'title' => $pageData['title']." - ".ucfirst(Lang::$game['title']), 'path' => "[0, 10, ".$title->template['category']."]", 'tab' => 0, // for g_initHeader($tab) 'type' => TYPEID_TITLE, // 11:Titles diff --git a/template/404.tpl b/template/404.tpl new file mode 100644 index 00000000..bb9fe25c --- /dev/null +++ b/template/404.tpl @@ -0,0 +1,17 @@ +{include file='header.tpl'} + +
+ +
+
+ +
+ +
+

{$page.subject} #{$page.id}

+
{$page.notFound}
+ +
+
+
+{include file='footer.tpl'} \ No newline at end of file