Created
October 16, 2013 07:26
-
-
Save psihonavt/7003929 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: generals/admin.py | |
=================================================================== | |
--- generals/admin.py (revision 326993) | |
+++ generals/admin.py (working copy) | |
@@ -46,9 +46,9 @@ | |
#XXX hack for running tests | |
#during tests running django.contrib.admin.sites.NotRegistered: The model TaskState is not registered will be raised | |
-if "test" not in sys.argv: | |
- admin.site.unregister(TaskState) | |
- admin.site.unregister(WorkerState) | |
- admin.site.unregister(IntervalSchedule) | |
- admin.site.unregister(CrontabSchedule) | |
- admin.site.unregister(PeriodicTask) | |
\ No newline at end of file | |
+#if "test" not in sys.argv: | |
+# admin.site.unregister(TaskState) | |
+# admin.site.unregister(WorkerState) | |
+# admin.site.unregister(IntervalSchedule) | |
+# admin.site.unregister(CrontabSchedule) | |
+# admin.site.unregister(PeriodicTask) | |
\ No newline at end of file | |
Index: generals/grabbing.py | |
=================================================================== | |
--- generals/grabbing.py (revision 326993) | |
+++ generals/grabbing.py (working copy) | |
@@ -43,6 +43,7 @@ | |
resp = requests.get(page_url, params=params, cookies=req_cookies) | |
page = resp.text | |
#validate retrieved page | |
+ #from pdb import set_trace; set_trace() | |
if not _validate_page(page): | |
raise ValueError("Malformed index page!") | |
#substitute urls | |
@@ -111,7 +112,8 @@ | |
{"class": gen_settings.FOOTER_CONTAINER_CSS_CLASS}) | |
ajax_menu_container = soup.find(gen_settings.AJAX_MENU_CONTAINER_HTML_TAG, | |
{"class": gen_settings.AJAX_MENU_CONTAINER_CSS_CLASS}) | |
- generals_sub_menu = soup.find("li", {"id": "js-portal-menu-id-generals"}) | |
+ #generals_sub_menu = soup.find("li", {"id": "js-portal-menu-id-generals"}) | |
+ generals_sub_menu = True | |
return all(_ is not None for _ in [content_container, footer_container, ajax_menu_container, generals_sub_menu]) | |
Index: generals/templates/generals/generated/ru/ru_ru_portal_page.html | |
=================================================================== | |
--- generals/templates/generals/generated/ru/ru_ru_portal_page.html (revision 326993) | |
+++ generals/templates/generals/generated/ru/ru_ru_portal_page.html (working copy) | |
@@ -4,56 +4,176 @@ | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
<meta name="keywords" content="World of Tanks, Мир Танков, Мировая Война, клановые войны, глобальная карта, противостояние, клан" /> | |
<meta name="Description" content="Бесплатная онлайн-игра World of Tanks — MMO-action о танках Второй мировой. Официальный сайт: скачать игру, поддержка, форум, FAQ. Лучшая игра 2011!" /> | |
- <meta property="og:image" content="http://worldoftanks.ru/static/3.13.1.3/common/img/world-of-tanks_social.jpg" /> | |
+ <meta property="og:image" content="http://worldoftanks.ru/static/3.14.0.4/common/img/world-of-tanks_social.jpg" /> | |
{% include "generals/part_title.html" with context %} | |
- <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.13.1.3/common/css/style.css" media="screen" id="screenview" /> | |
- <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.13.1.3/common/css/main.css" media="screen" id="screenview1" /> | |
- <script type="text/javascript"> | |
- var _gaq = []; // Google analytics deferred operations storage | |
- </script> | |
+ <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.14.0.4/common/css/style.css" media="screen" id="screenview" /> | |
+ <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.14.0.4/common/css/main.css" media="screen" id="screenview1" /> | |
<!--[if IE]> | |
- <link rel="stylesheet" type="text/css" href="/static/3.13.1.3/common/css/ie.css" media="all" /> | |
+ <link rel="stylesheet" type="text/css" href="/static/3.14.0.4/common/css/ie.css" media="all" /> | |
<![endif]--> | |
- <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.13.1.3/common/css/jquery-ui.css" /> | |
- <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.13.1.3/common/css/block/scrollpane/scrollpane.css" media="all" /> | |
- <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.13.1.3/common/css/print.css" media="print" /> | |
- <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.13.1.3/common/css/javascript.css" /> | |
- <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.13.1.3/plugins/fancybox/jquery.fancybox-1.3.4.css" /> | |
+ <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.14.0.4/common/css/jquery-ui.css" /> | |
+ <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.14.0.4/common/css/block/scrollpane/scrollpane.css" media="all" /> | |
+ <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.14.0.4/common/css/print.css" media="print" /> | |
+ <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.14.0.4/common/css/javascript.css" /> | |
+ <link rel="stylesheet" type="text/css" href="https://worldoftanks.ru/static/3.14.0.4/portal/js/plugins/fancybox/jquery.fancybox-1.3.4.css" /> | |
{% include "generals/part_skin.html" with context %} | |
+ <script> | |
+ wgsdk = window.wgsdk || {} | |
+ wgsdk.vars = wgsdk.vars || {} | |
+ | |
+ wgsdk.vars.ACCOUNT_AJAX_INFO_URL = "/ajax_info/"; | |
+ wgsdk.vars.ACCOUNT_INFO_COOKIE_NAME = 'WGAI'; | |
+ wgsdk.vars.ACCOUNT_INFO_COOKIE_DOMAIN = '.worldoftanks.ru'; | |
+ wgsdk.vars.ACCOUNT_INFO_COOKIE_TIMEOUT_SECONDS = 600; | |
+ wgsdk.vars.GETTING_ACCOUNT_INFO_COOKIE_CRITICAL_TIME_MS = 3000; | |
+ wgsdk.vars.ACCOUNT_INFO_COOKIE_EXTRA_TIMEOUT_RATE = 3; | |
+ wgsdk.vars.NO_CHECK_AJAX_INFO_COOKIE_NAME = 'WGNCAI'; | |
+ | |
+ | |
+ wgsdk.vars.THOUSAND_SEPARATOR = " "; | |
+ | |
+ wgsdk.vars.TIME_DELIMITER = ":"; | |
+ wgsdk.vars.DATE_DELIMITER = "."; | |
+ wgsdk.vars.DATE_FORMAT = "dmy"; | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/wgportalsdk/js/plugins/jquery/jquery-1.4.4.min.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/wgportalsdk/js/plugins/jquery-ui/jquery-ui-1.8.24.custom.min.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/wgportalsdk/js/plugins/underscore/underscore.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/wgportalsdk/js/plugins/jquery/jquery.cookie.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/wgportalsdk/js/wgsdk.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/wgportalsdk/js/wgsdk.time.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/menubuilder/js/main_menu.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/wgportalsdk/js/wgsdk.dialog.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/wgportalsdk/js/wgsdk.forms.js"> | |
+ </script> | |
<script type="text/javascript"> | |
+ NOTIFICATIONS_MARK_AS_READ_URL = "/notifications/mark_as_read/"; | |
+ NOTIFICATIONS_INDEX_URL = "/notifications/"; | |
+ NOTIFICATIONS_UNREAD_MSGS_URL = "/notifications/unread/"; | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/notifications/js/notifications.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/wgportalsdk/js/ajax_info.js"> | |
+ </script> | |
+ <script type="text/javascript"> | |
+ var account_info = wgsdk.account_info(); | |
+ window.wg_suid = account_info.get_spa_id(); | |
+ </script> | |
+ <script src="https://worldoftanks.ru/static/3.14.0.4//portal/i18n/ru.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/wgportalsdk/js/i18n_resources.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/geoip/js/utils.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/geoip/js/region-widget.js"> | |
+ </script> | |
+ <script> | |
+ $(document).ready(function(){ | |
+ new wgsdk.regionWidget('challenge', '/geoip/region_widget/', 'popup') | |
+ | |
+ new wgsdk.regionWidget('challenge', '/geoip/region_widget/', 'top') | |
+ }) | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/personal/js/form_validate.js"> | |
+ </script> | |
+ <script type="text/javascript"> | |
+ wgsdk.vars.BONUS_NEW_URL = '/bonus/new/' | |
+ wgsdk.vars.BONUS_CREATE_URL = '/bonus/create/' | |
+ | |
+ wgsdk.bonuscode_validate = (function($){ | |
+ var obj = function(selector){ | |
+ wgsdk.forms.validate_input(selector, { | |
+ 'validator': function (value) { | |
+ | |
+ wgsdk.removeError(selector); | |
+ | |
+ if (value.length == 0){ | |
+ $('#button-submit').attr({'disabled': true}).addClass('disabled'); | |
+ $('#button-submit input').attr({'disabled': true}); | |
+ return {'status': 'error', 'error': translate('PERSONAL_PROMOCODE_EMPTY')}; | |
+ } | |
+ | |
+ $('#button-submit').attr({'disabled': false}).removeClass('disabled'); | |
+ $('#button-submit input').attr({'disabled': false}); | |
+ return {'status': 'ok'}; | |
+ } | |
+ }); | |
+ }; | |
+ return obj; | |
+ })($) | |
+ | |
+ $(document).ready(function(){ | |
+ $(".js-bonuscode-link").click(function(e){ | |
+ e.preventDefault(); | |
+ wgsdk.forms.submit_from_popup(null, "#js-edit-bonuscode-form", "#js-edit-bonuscode-form-dialog", { | |
+ action: wgsdk.vars.BONUS_CREATE_URL, | |
+ success: function(){ | |
+ wgsdk.message_box( | |
+ "Операция проведена успешно", | |
+ "На Ваш аккаунт успешно зачислены средства.", | |
+ { confirm: { text: "OK", | |
+ click: function(){ location.reload(); } | |
+ } } ); | |
+ }, | |
+ error : function(){ | |
+ showFormFieldError('#js-edit-bonuscode-form'); | |
+ } | |
+ }, | |
+ { source: wgsdk.vars.BONUS_NEW_URL } | |
+ ); | |
+ }); | |
+ }) | |
+ </script> | |
+ <script> | |
GAME = 'wot'; | |
- MEDIA_URL = "/static/3.13.1.3/"; | |
+ MEDIA_URL = "/static/3.14.0.4/"; | |
CLANWARS_MEDIA_URL = ""; | |
IFRAME_PROXY = "https://worldoftanks.ru/utils/ssl_proxy/"; | |
+ | |
- ACCOUNT_AJAX_INFO_URL = "/ajax_info/"; | |
+ | |
var WORLD_REDIVISION_PROVINCE_LANDING_COLORING = false; | |
- WOT_TIME_DELIMITER = ":"; | |
- WOT_DATE_DELIMITER = "."; | |
- WOT_DATE_FORMAT = "dmy"; | |
- WOT_THOUSAND_SEPARATOR = " " | |
PENDING_OPERATION_JAVASCRIPT_TIMEOUT = 15; | |
- | |
- | |
- | |
- | |
- var active_menu_id = "generals"; | |
</script> | |
- <script src="https://worldoftanks.ru/static/3.13.1.3/i18n/ru.js"> | |
+ <script type="text/javascript"> | |
+ var _gaq = _gaq || []; // Google analytics | |
+ var dataLayer = dataLayer || []; | |
</script> | |
- <script type="text/javascript" src="https://worldoftanks.ru/static/3.13.1.3/jquery.js?b551d1d1"> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/portal/js/portal_ajax_info.js"> | |
</script> | |
- <script type="text/javascript" src="https://worldoftanks.ru/static/3.13.1.3/wg_common.js?b171c277"> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/portal/js/plugins/jquery/jquery.mousewheel.js"> | |
</script> | |
- <script type="text/javascript" src="https://worldoftanks.ru/static/3.13.1.3/underscore.js?6dc59d3a"> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/portal/js/plugins/jquery/jquery.jscrollpane.js"> | |
</script> | |
- <script type="text/javascript" src="https://worldoftanks.ru/static/3.13.1.3/uri.js?afd74dae"> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/portal/js/plugins/fancybox/jquery.fancybox-1.3.4.pack.js"> | |
</script> | |
- <script type="text/javascript" src="https://worldoftanks.ru/static/3.13.1.3/wg_geoip.js?2b4c953c"> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/portal/js/plugins/json2.js"> | |
</script> | |
- <script type="text/javascript" charset="utf-8" src="https://worldoftanks.ru/static/3.13.1.3/plugins/porthole/porthole.js"> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/portal/js/plugins/porthole/porthole.js"> | |
</script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/common/wot_hl_common.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/common/tooltips.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/common/wg_combobox.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/common/wg_media_helper.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/common/wot_main_page.js"> | |
+ </script> | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/portal/js/plugins/uri/URI.min.js"> | |
+ </script> | |
+ <script type="text/javascript" charset="utf-8" src="https://worldoftanks.ru/static/3.14.0.4/portal/js/plugins/porthole/porthole.js"> | |
+ </script> | |
<script type="text/javascript"> | |
//add csrf token for all ajasx requests | |
$.ajaxSetup({ | |
@@ -61,93 +181,85 @@ | |
if (!(/^http:.*/.test(settings.url) || /^https:.*/.test(settings.url))) { | |
// Only send the token to relative URLs i.e. locally. | |
// CheckCSRF(); | |
- xhr.setRequestHeader("X-CSRFToken", "RzVbKNAmpM3eflvSEG5UnUVCpJJn58YY" ); | |
+ xhr.setRequestHeader("X-CSRFToken", "qd9rHZCkplt6CreF8z9ivCJGoXpa7OSZ" ); | |
} | |
} | |
}); | |
</script> | |
- <script type="text/javascript" charset="utf-8" src="https://worldoftanks.ru/static/3.13.1.3/jsbase/js/scripts.js"> | |
+ <script type="text/javascript" charset="utf-8" src="https://worldoftanks.ru/static/3.14.0.4/jsbase/js/scripts.js"> | |
</script> | |
<script type="text/javascript"> | |
window.Settings = window.Settings || {}; | |
window.Settings.HOME_URL = "/"; | |
</script> | |
- {# | |
- <script type="text/javascript"> | |
- window.Settings = window.Settings || {}; | |
- window.Settings.AuthenticationSSO = {"attemptImmediateCookie": {"path": "/", "name": "ptl_auth_sso_attempt_immediate"}}; | |
+{# <script type="text/javascript">#} | |
+{# window.Settings = window.Settings || {};#} | |
+{# window.Settings.AuthenticationSSO = {"attemptImmediateCookie": {"path": "/", "name": "ptl_auth_sso_attempt_immediate"}};#} | |
+{# </script>#} | |
+{# <script type="text/javascript">#} | |
+{# (function(window) {#} | |
+{# window.Settings = window.Settings || {};#} | |
+{# window.Settings.AuthenticationBase = {#} | |
+{# 'ErrorCodeUnauthorized': 401#} | |
+{# };#} | |
+{#})(window);#} | |
+{# </script>#} | |
+{# <script type="text/javascript">#} | |
+{# (function(window) {#} | |
+{# window.Settings = window.Settings || {};#} | |
+{# window.Settings.AuthenticationOID = {"OpenIdVerifyUrl": "https://worldoftanks.ru/auth/oid/verify/", "OpenIdVerifyImmediateUrl": "https://worldoftanks.ru/auth/oid/verify/immediate/", "OpenIdProcessTokenQueryParameter": "openid_process_token", "LogoutUrl": "/auth/notify/signout/", "LogoutErrorRedirectUrl": "/", "CheckIsAuthenticated": false, "IsAuthenticated": 1, "OpenIdProcessStatusUrlTemplate": "/auth/oid/process/status/<%= token %>/"};#} | |
+{#})(window);#} | |
+{# </script>#} | |
+{# <script type="text/javascript" charset="utf-8" src="https://worldoftanks.ru/static/3.14.0.4/authenticationoid/js/openid.js">#} | |
+{# </script>#} | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/common/wg_bg_parallax.js"> | |
</script> | |
- <script type="text/javascript"> | |
- (function(window) { | |
- window.Settings = window.Settings || {}; | |
- window.Settings.AuthenticationBase = { | |
- 'ErrorCodeUnauthorized': 401 | |
- }; | |
-})(window); | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4/wgcms/js/widget_ajax_loader.js"> | |
</script> | |
<script type="text/javascript"> | |
- (function(window) { | |
- window.Settings = window.Settings || {}; | |
- window.Settings.AuthenticationOID = {"OpenIdVerifyUrl": "https://worldoftanks.ru/auth/oid/verify/", "OpenIdProcessTokenQueryParameter": "openid_process_token", "OpenIdVerifyImmediateUrl": "https://worldoftanks.ru/auth/oid/verify/immediate/", "LogoutUrl": "/auth/notify/signout/", "LogoutErrorRedirectUrl": "/", "IsAuthenticated": 1, "OpenIdProcessStatusUrlTemplate": "/auth/oid/process/status/<%= token %>/"}; | |
-})(window); | |
- </script> | |
- <script type="text/javascript" charset="utf-8" src="https://worldoftanks.ru/static/3.13.1.3/authenticationoid/js/openid.js"> | |
- </script> | |
- #} | |
- <script type="text/javascript"> | |
- window.wg_suid = Number($.cookie('wg_suid')) || 0; | |
- </script> | |
- <script type="text/javascript" src="https://worldoftanks.ru/static/3.13.1.3/common/wg_bg_parallax.js"> | |
- </script> | |
- <script type="text/javascript" src="https://worldoftanks.ru/static/3.13.1.3/cms2/js/widget_ajax_loader.js"> | |
- </script> | |
- <script type="text/javascript" src="https://worldoftanks.ru/static/3.13.1.3/personal/js/form_validate.js"> | |
- </script> | |
- <script type="text/javascript"> | |
- $(document).delegate(".js-bonuscode-link", "click", function(e){ | |
- e.preventDefault(); | |
- wot_forms.submit_from_popup(null, "#js-edit-bonuscode-form", "#js-edit-bonuscode-form-dialog", { | |
- action: "/bonus/create/", | |
- success: function(){ | |
- wg.message_box( | |
- "Операция проведена успешно", | |
- "На Ваш аккаунт успешно зачислены средства.", | |
- { confirm: { text: "OK", | |
- click: function(){ location.reload(); } | |
- } } ); | |
- }, | |
- error : function(){ | |
- showFormFieldError('#js-edit-bonuscode-form'); | |
- } | |
- }, { source: "/bonus/new/" } ); | |
- }); | |
- </script> | |
- <script type="text/javascript"> | |
- NOTIFICATIONS_MARK_AS_READ_URL = "/notifications/mark_as_read/"; | |
- NOTIFICATIONS_INDEX_URL = "/notifications/"; | |
- NOTIFICATIONS_UNREAD_MSGS_URL = "/notifications/unread/"; | |
- </script> | |
- <script type="text/javascript" src="https://worldoftanks.ru/static/3.13.1.3/notifications/js/notifications.js"> | |
- </script> | |
- <script type="text/javascript"> | |
function ShowClanRestrictionDialog() { | |
- wg.error($('.js-clan-ban-message').html(), undefined, undefined, {title: "Операция запрещена"}); | |
+ wgsdk.error($('.js-clan-ban-message').html(), undefined, undefined, {title: "Операция запрещена"}); | |
} | |
$('.js-clan-restrict-action').live('click', function(e){ | |
- if ($('.js-clan-ban-message').length){ | |
+ var message = $('.js-clan-ban-message').text().replace(/^\s+|\s+$/g,'') | |
+ if (message.length){ | |
ShowClanRestrictionDialog(); | |
e.preventDefault(); | |
e.stopImmediatePropagation(); | |
} | |
}); | |
</script> | |
- <script type="text/javascript" src="https://worldoftanks.ru/static/3.13.1.3//common/wg_ajax_info.js"> | |
- </script> | |
<script type="text/javascript" charset="utf-8"> | |
jQuery(document).ready(function(e){ | |
}); | |
</script> | |
+ <!-- Smart Banner block START --> | |
+ <script src="https://worldoftanks.ru/static/3.14.0.4/wgportalsdk/js/plugins/smartbanner/jquery.smartbanner.js"> | |
+ </script> | |
+ <link rel="stylesheet" href="https://worldoftanks.ru/static/3.14.0.4/wgportalsdk/js/plugins/smartbanner/jquery.smartbanner.css" type="text/css" media="screen" /> | |
+ <script type="text/javascript"> | |
+ $(document).ready(function() { | |
+ if (navigator.userAgent.match(/iPad|iPhone|Android/i)) { | |
+ $.smartbanner({ | |
+ title: 'World of Tanks Assistant', | |
+ author: 'Wargaming.net', | |
+ price: 'БЕСПЛАТНО', | |
+ appStoreLanguage: 'ru', | |
+ inAppStore: 'В App Store', | |
+ inGooglePlay: 'В Google Play', | |
+ icon: "/static/3.14.0.4/common/img/world-of-tanks_social.jpg", | |
+ button: 'ПОСМОТРЕТЬ', | |
+ scale: 1, | |
+ daysHidden: 0, | |
+ daysReminder: 0, | |
+ iTunesID: '500174696', | |
+ googlePlayID: 'ru.worldoftanks.mobile' | |
+ }); | |
+ } | |
+ }); | |
+ </script> | |
+ <!-- Smart Banner block END --> | |
{% include "generals/part_head.html" with context %} | |
</head> | |
<body class="reg-RUS"> | |
@@ -160,108 +272,195 @@ | |
</div> | |
</div> | |
</noscript> | |
+ <script> | |
+ wgsdk.vars.TIME_KEY = 'TIME_KEY'; | |
+ </script> | |
+ <div id="account_game_ban_info_container" style="display:none"> | |
+ <div class="b-message-error"> | |
+ <p> | |
+ <span class="js-without-expiry_time" style="display:none"> | |
+ Ваш аккаунт заблокирован. | |
+ </span> | |
+ <span class="js-with-expiry_time" style="display:none"> | |
+ Ваш аккаунт заблокирован до | |
+ <span class="js-datetime-format" data-timestamp="TIME_KEY"> | |
+ </span> | |
+ . | |
+ </span> | |
+ </p> | |
+ </div> | |
+ </div> | |
+ <div id="account_clan_ban_info_container" style="display:none"> | |
+ <span class="js-without-expiry_time" style="display:none"> | |
+ Действия с кланами заблокированы. | |
+ </span> | |
+ <span class="js-with-expiry_time" style="display:none"> | |
+ Действия с кланами заблокированы до | |
+ <span class="js-datetime-format" data-timestamp="TIME_KEY"> | |
+ </span> | |
+ . | |
+ </span> | |
+ </div> | |
<div class="l-page"> | |
<div class="b-portalmenu"> | |
<div class="fix-width"> | |
<div class="wrapper-dropdown"> | |
+ <script> | |
+ wgsdk.vars.DEFAULT_LANGUAGE = 'ru'; | |
+wgsdk.vars.ALL_LANGUAGES = {"en": "English", "vi": "Ti\u1ebfng Vi\u1ec7t", "it": "Italiano", "pt-br": "Portugu\u00eas", "cs": "\u010ce\u0161tina", "id": "Indonesia", "es": "Espa\u00f1ol", "ru": "\u0420\u0443\u0441\u0441\u043a\u0438\u0439", "es-ar": "Espa\u00f1ol", "tr": "T\u00fcrk\u00e7e", "zh-cn": "\u4e2d\u6587", "th": "\u0e44\u0e17\u0e22", "ro": "Rom\u00e2n\u0103", "pl": "Polski", "fr": "Fran\u00e7ais", "bg": "\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438", "de": "Deutsch", "hu": "Magyar", "ja": "\u65e5\u672c\u8a9e", "ko": "\ud55c\uad6d\uc5b4", "ms": "Bahasa Melayu", "zh-tw": "\u7e41\u9ad4\u4e2d\u6587"}; | |
+wgsdk.vars.FRONTEND_LANGUAGES = {"ru": "\u0420\u0443\u0441\u0441\u043a\u0438\u0439"}; | |
+ | |
+wgsdk.vars.LANG_NAME_KEY = 'LANG_NAME_KEY'; | |
+wgsdk.vars.LANG_CODE_KEY = 'LANG-CODE-KEY'; | |
+wgsdk.vars.SPA_ID_KEY = '123456'; | |
+wgsdk.vars.NICKNAME_KEY = 'NICKNAME_KEY'; | |
+wgsdk.vars.LANG_COOKIE_NAME = 'hllang'; | |
+wgsdk.vars.TIME_KEY = 'TIME_KEY'; | |
+ | |
+ | |
+wgsdk.vars.REGISTRATION_URL = '/registration/<lang>/' | |
+ </script> | |
+ <script> | |
+ jQuery(document).ready(function () { | |
+ "use strict"; | |
+ | |
+ var account_info = wgsdk.account_info(), | |
+ is_auth = is_auth_user(); | |
+ | |
+ wgsdk.ajax_info.show_language_selector(get_lang(), account_info.is_staff()) | |
+ | |
+ if(!is_auth){ | |
+ wgsdk.ajax_info.show_login_link(); | |
+ return; | |
+ } else { | |
+ wgsdk.ajax_info.show_my_profile_link(); | |
+ wgsdk.ajax_info.show_bonus_link(); | |
+ wgsdk.ajax_info.show_payment_link(); | |
+ wgsdk.ajax_info.show_notifications(); | |
+ | |
+ var update_menu_from_cookie = function (account_info) { | |
+ | |
+ wgsdk.ajax_info.show_my_profile_link(account_info.get_nickname(), account_info.get_spa_id()); | |
+ wgsdk.ajax_info.show_payment_link(account_info.get_loginname()); | |
+ wgsdk.ajax_info.show_notifications(account_info.get_unread_notification_count(), account_info.get_all_notification_count()); | |
+ wgsdk.ajax_info.show_gifts(account_info.get_gifts_count()); | |
+ wgsdk.ajax_info.show_clan(account_info.get_clan_id(), account_info.get_clan_tag()); | |
+ | |
+ wgsdk.ajax_info.show_game_ban(account_info.get_game_ban()) | |
+ wgsdk.ajax_info.show_clan_ban(account_info.get_clan_ban()) | |
+ } | |
+ | |
+ if (account_info.has_data()) { | |
+ update_menu_from_cookie(account_info); | |
+ }else{ | |
+ account_info.update_cookie_from_server(update_menu_from_cookie); | |
+ } | |
+ } | |
+ | |
+}); | |
+ </script> | |
<ul class="b-right-portalmenu"> | |
{% include "generals/part_ajax_info.html" with context %} | |
</ul> | |
- <div id="js-account-info-init" style="display: none"> | |
- </div> | |
<div class="b-portalmenu_links"> | |
<ul class="b-portalmenu_links_list"> | |
- <li id="js-region-wrapper" class="b-portalmenu-links-region b-dropdown-menu b-portalmenu_links_list_point"> | |
- <div class="js-visible-wnd b-visible-wnd b-region-active"> | |
- <span class="b-planet"> | |
- | |
- </span> | |
- <span class="arrow"> | |
- | |
- </span> | |
- </div> | |
- <div class="js-expand-wnd js-hidden b-dm_list"> | |
- <h2 class="b-dropdown-menu-header"> | |
- Перейти в регион | |
- </h2> | |
- <ul class="b-dropdown-regionlist"> | |
- <li class="b-dropdown-regionlist_point js-expand-wnd-item"> | |
- <a class="active" href="http://worldoftanks.ru"> | |
- <span> | |
- Россия | |
- </span> | |
- </a> | |
- </li> | |
- <li class="b-dropdown-regionlist_point js-expand-wnd-item"> | |
- <a class="" href="http://worldoftanks.eu"> | |
- <span> | |
- Европа | |
- </span> | |
- </a> | |
- </li> | |
- <li class="b-dropdown-regionlist_point js-expand-wnd-item"> | |
- <a class="" href="http://worldoftanks.com"> | |
- <span> | |
- Северная Америка | |
- </span> | |
- </a> | |
- </li> | |
- <li class="b-dropdown-regionlist_point js-expand-wnd-item"> | |
- <a class="" href="http://worldoftanks.asia"> | |
- <span> | |
- Азия | |
- </span> | |
- </a> | |
- </li> | |
- <li class="b-dropdown-regionlist_point js-expand-wnd-item"> | |
- <a class="" href="http://worldoftanks.kr"> | |
- <span> | |
- Республика Корея | |
- </span> | |
- </a> | |
- </li> | |
- </ul> | |
- <div class="b-message-info-dropdown"> | |
- <h2> | |
- Внимание! | |
- </h2> | |
- <p> | |
- Ваш аккаунт действителен только для одного региона. | |
- </p> | |
- </div> | |
- </div> | |
- </li> | |
- <li class="b-portalmenu_links_list_point b-active-section"> | |
- <span> | |
- Портал | |
- </span> | |
- </li> | |
- <li class="b-portalmenu_links_list_point"> | |
- <a href="http://forum.worldoftanks.ru"> | |
- Форум | |
- </a> | |
- </li> | |
- <li class="b-portalmenu_links_list_point"> | |
- <a href="http://wiki.worldoftanks.ru"> | |
- Wiki | |
- </a> | |
- </li> | |
- <li class="b-portalmenu_links_list_point"> | |
- <a href="http://wargag.ru"> | |
- WarGag | |
- </a> | |
- </li> | |
- <li class="b-portalmenu_links_list_point"> | |
- <a href="http://support.worldoftanks.ru"> | |
- Поддержка | |
- </a> | |
- </li> | |
+ <div class="b-portalmenu_links"> | |
+ <ul class="b-portalmenu_links_list"> | |
+ <li id="js-region-wrapper" class="b-portalmenu-links-region b-dropdown-menu b-portalmenu_links_list_point"> | |
+ <div class="js-visible-wnd b-visible-wnd b-region-active"> | |
+ <span class="b-planet"> | |
+ | |
+ </span> | |
+ <span class="arrow"> | |
+ | |
+ </span> | |
+ </div> | |
+ <div class="js-expand-wnd js-hidden b-dm_list"> | |
+ <h2 class="b-dropdown-menu-header"> | |
+ Перейти в регион | |
+ </h2> | |
+ <ul class="b-dropdown-regionlist"> | |
+ <li class="b-dropdown-regionlist_point js-expand-wnd-item"> | |
+ <a class="active" href="http://worldoftanks.ru"> | |
+ <span> | |
+ Россия | |
+ </span> | |
+ </a> | |
+ </li> | |
+ <li class="b-dropdown-regionlist_point js-expand-wnd-item"> | |
+ <a class="" href="http://worldoftanks.eu"> | |
+ <span> | |
+ Европа | |
+ </span> | |
+ </a> | |
+ </li> | |
+ <li class="b-dropdown-regionlist_point js-expand-wnd-item"> | |
+ <a class="" href="http://worldoftanks.com"> | |
+ <span> | |
+ Северная Америка | |
+ </span> | |
+ </a> | |
+ </li> | |
+ <li class="b-dropdown-regionlist_point js-expand-wnd-item"> | |
+ <a class="" href="http://worldoftanks.asia"> | |
+ <span> | |
+ Азия | |
+ </span> | |
+ </a> | |
+ </li> | |
+ <li class="b-dropdown-regionlist_point js-expand-wnd-item"> | |
+ <a class="" href="http://worldoftanks.kr"> | |
+ <span> | |
+ Республика Корея | |
+ </span> | |
+ </a> | |
+ </li> | |
+ </ul> | |
+ <div class="b-message-info-dropdown"> | |
+ <h2> | |
+ Внимание! | |
+ </h2> | |
+ <p> | |
+ Ваш аккаунт действителен только для одного региона. | |
+ </p> | |
+ </div> | |
+ </div> | |
+ </li> | |
+ <li class="b-portalmenu_links_list_point b-active-section"> | |
+ <span> | |
+ Портал | |
+ </span> | |
+ </li> | |
+ <li class="b-portalmenu_links_list_point"> | |
+ <a href="http://forum.worldoftanks.ru"> | |
+ Форум | |
+ </a> | |
+ </li> | |
+ <li class="b-portalmenu_links_list_point"> | |
+ <a href="http://wiki.worldoftanks.ru"> | |
+ Wiki | |
+ </a> | |
+ </li> | |
+ <li class="b-portalmenu_links_list_point"> | |
+ <a href="http://wargag.ru"> | |
+ WarGag | |
+ </a> | |
+ </li> | |
+ <li class="b-portalmenu_links_list_point"> | |
+ <a href="https://ru.wargaming.net/support/"> | |
+ Поддержка | |
+ </a> | |
+ </li> | |
+ </ul> | |
+ </div> | |
</ul> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div id="account_clan_ban_message"> | |
+ <div class="js-hidden js-clan-ban-message js-account_clan_ban_info_msg"> | |
+ </div> | |
</div> | |
<div class="l-body-content"> | |
<!--header--> | |
@@ -282,14 +481,23 @@ | |
<noscript> | |
<div class="b-menu_noscript"> | |
<ul class="js-portal-menu b-portal-menu"> | |
- <li id="js-portal-menu-id-index" class="js-portal-menu-item js-portal-menu-index b-portal-menu_point "> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://worldoftanks.ru/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
ГЛАВНАЯ | |
</span> | |
</a> | |
</li> | |
- <li id="js-portal-menu-id-game" class="js-portal-menu-item js-portal-menu-game b-portal-menu_point b-portal-menu_point_parent"> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ active | |
+ | |
+ b-portal-menu_point_parent | |
+ js-has_children | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://worldoftanks.ru/game/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
ИГРА | |
@@ -298,11 +506,6 @@ | |
<span class="js-visible-wnd b-portal-menu_arrow"> | |
| |
</span> | |
- <script type="text/javascript"> | |
- jQuery(document).ready(function(e){ | |
- new wot_hl.MenuWnd('#js-portal-menu-id-game', {direction: 'down'}); | |
- }); | |
- </script> | |
<div class="js-expand-wnd js-hidden b-portal-menu_dopmenu"> | |
<ul> | |
<li class="b-portal-menu_dopmenu_point js-expand-wnd-item"> | |
@@ -357,7 +560,13 @@ | |
</ul> | |
</div> | |
</li> | |
- <li id="js-portal-menu-id-clanwars" class="js-portal-menu-item js-portal-menu-clanwars b-portal-menu_point b-portal-menu_point_parent"> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ | |
+ | |
+ b-portal-menu_point_parent | |
+ js-has_children | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://worldoftanks.ru/clanwars/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
Мировая война | |
@@ -366,11 +575,6 @@ | |
<span class="js-visible-wnd b-portal-menu_arrow"> | |
| |
</span> | |
- <script type="text/javascript"> | |
- jQuery(document).ready(function(e){ | |
- new wot_hl.MenuWnd('#js-portal-menu-id-clanwars', {direction: 'down'}); | |
- }); | |
- </script> | |
<div class="js-expand-wnd js-hidden b-portal-menu_dopmenu"> | |
<ul> | |
<li class="b-portal-menu_dopmenu_point js-expand-wnd-item"> | |
@@ -390,21 +594,33 @@ | |
</ul> | |
</div> | |
</li> | |
- <li id="js-portal-menu-id-tournaments" class="js-portal-menu-item js-portal-menu-tournaments b-portal-menu_point "> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://worldoftanks.ru/uc/tournaments/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
Турниры | |
</span> | |
</a> | |
</li> | |
- <li id="js-portal-menu-id-generals" class="js-portal-menu-item js-portal-menu-generals b-portal-menu_point "> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://generals.worldoftanks.ru/game/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
Генералы | |
</span> | |
</a> | |
</li> | |
- <li id="js-portal-menu-id-media" class="js-portal-menu-item js-portal-menu-media b-portal-menu_point b-portal-menu_point_parent"> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ | |
+ | |
+ b-portal-menu_point_parent | |
+ js-has_children | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://worldoftanks.ru/ru/media/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
МЕДИА | |
@@ -413,11 +629,6 @@ | |
<span class="js-visible-wnd b-portal-menu_arrow"> | |
| |
</span> | |
- <script type="text/javascript"> | |
- jQuery(document).ready(function(e){ | |
- new wot_hl.MenuWnd('#js-portal-menu-id-media', {direction: 'down'}); | |
- }); | |
- </script> | |
<div class="js-expand-wnd js-hidden b-portal-menu_dopmenu"> | |
<ul> | |
<li class="b-portal-menu_dopmenu_point js-expand-wnd-item"> | |
@@ -472,7 +683,13 @@ | |
</ul> | |
</div> | |
</li> | |
- <li id="js-portal-menu-id-community" class="js-portal-menu-item js-portal-menu-community b-portal-menu_point b-portal-menu_point_parent"> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ | |
+ | |
+ b-portal-menu_point_parent | |
+ js-has_children | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://worldoftanks.ru/community/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
СООБЩЕСТВО | |
@@ -481,11 +698,6 @@ | |
<span class="js-visible-wnd b-portal-menu_arrow"> | |
| |
</span> | |
- <script type="text/javascript"> | |
- jQuery(document).ready(function(e){ | |
- new wot_hl.MenuWnd('#js-portal-menu-id-community', {direction: 'down'}); | |
- }); | |
- </script> | |
<div class="js-expand-wnd js-hidden b-portal-menu_dopmenu"> | |
<ul> | |
<li class="b-portal-menu_dopmenu_point js-expand-wnd-item"> | |
@@ -537,14 +749,23 @@ | |
</div> | |
</noscript> | |
<ul class="js-portal-menu b-portal-menu"> | |
- <li id="js-portal-menu-id-index" class="js-portal-menu-item js-portal-menu-index b-portal-menu_point "> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://worldoftanks.ru/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
ГЛАВНАЯ | |
</span> | |
</a> | |
</li> | |
- <li id="js-portal-menu-id-game" class="js-portal-menu-item js-portal-menu-game b-portal-menu_point b-portal-menu_point_parent"> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ active | |
+ | |
+ b-portal-menu_point_parent | |
+ js-has_children | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://worldoftanks.ru/game/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
ИГРА | |
@@ -553,11 +774,6 @@ | |
<span class="js-visible-wnd b-portal-menu_arrow"> | |
| |
</span> | |
- <script type="text/javascript"> | |
- jQuery(document).ready(function(e){ | |
- new wot_hl.MenuWnd('#js-portal-menu-id-game', {direction: 'down'}); | |
- }); | |
- </script> | |
<div class="js-expand-wnd js-hidden b-portal-menu_dopmenu"> | |
<ul> | |
<li class="b-portal-menu_dopmenu_point js-expand-wnd-item"> | |
@@ -612,7 +828,13 @@ | |
</ul> | |
</div> | |
</li> | |
- <li id="js-portal-menu-id-clanwars" class="js-portal-menu-item js-portal-menu-clanwars b-portal-menu_point b-portal-menu_point_parent"> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ | |
+ | |
+ b-portal-menu_point_parent | |
+ js-has_children | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://worldoftanks.ru/clanwars/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
Мировая война | |
@@ -621,11 +843,6 @@ | |
<span class="js-visible-wnd b-portal-menu_arrow"> | |
| |
</span> | |
- <script type="text/javascript"> | |
- jQuery(document).ready(function(e){ | |
- new wot_hl.MenuWnd('#js-portal-menu-id-clanwars', {direction: 'down'}); | |
- }); | |
- </script> | |
<div class="js-expand-wnd js-hidden b-portal-menu_dopmenu"> | |
<ul> | |
<li class="b-portal-menu_dopmenu_point js-expand-wnd-item"> | |
@@ -645,21 +862,33 @@ | |
</ul> | |
</div> | |
</li> | |
- <li id="js-portal-menu-id-tournaments" class="js-portal-menu-item js-portal-menu-tournaments b-portal-menu_point "> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://worldoftanks.ru/uc/tournaments/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
Турниры | |
</span> | |
</a> | |
</li> | |
- <li id="js-portal-menu-id-generals" class="js-portal-menu-item js-portal-menu-generals b-portal-menu_point "> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://generals.worldoftanks.ru/game/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
Генералы | |
</span> | |
</a> | |
</li> | |
- <li id="js-portal-menu-id-media" class="js-portal-menu-item js-portal-menu-media b-portal-menu_point b-portal-menu_point_parent"> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ | |
+ | |
+ b-portal-menu_point_parent | |
+ js-has_children | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://worldoftanks.ru/ru/media/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
МЕДИА | |
@@ -668,11 +897,6 @@ | |
<span class="js-visible-wnd b-portal-menu_arrow"> | |
| |
</span> | |
- <script type="text/javascript"> | |
- jQuery(document).ready(function(e){ | |
- new wot_hl.MenuWnd('#js-portal-menu-id-media', {direction: 'down'}); | |
- }); | |
- </script> | |
<div class="js-expand-wnd js-hidden b-portal-menu_dopmenu"> | |
<ul> | |
<li class="b-portal-menu_dopmenu_point js-expand-wnd-item"> | |
@@ -727,7 +951,13 @@ | |
</ul> | |
</div> | |
</li> | |
- <li id="js-portal-menu-id-community" class="js-portal-menu-item js-portal-menu-community b-portal-menu_point b-portal-menu_point_parent"> | |
+ <li class="js-portal-menu-item | |
+ b-portal-menu_point | |
+ | |
+ | |
+ b-portal-menu_point_parent | |
+ js-has_children | |
+ "> | |
<a class="b-portal-menu_point_linck" href="http://worldoftanks.ru/community/"> | |
<span class="js-portal-menu-item-link-inner b-portal-menu_point_linck_txt"> | |
СООБЩЕСТВО | |
@@ -736,11 +966,6 @@ | |
<span class="js-visible-wnd b-portal-menu_arrow"> | |
| |
</span> | |
- <script type="text/javascript"> | |
- jQuery(document).ready(function(e){ | |
- new wot_hl.MenuWnd('#js-portal-menu-id-community', {direction: 'down'}); | |
- }); | |
- </script> | |
<div class="js-expand-wnd js-hidden b-portal-menu_dopmenu"> | |
<ul> | |
<li class="b-portal-menu_dopmenu_point js-expand-wnd-item"> | |
@@ -798,6 +1023,9 @@ | |
</div> | |
</div> | |
<div class="b-footer"> | |
+ <div style="position:absolute; font-size: 11px; right:0px; bottom:0px; padding:4px; background:#666666; color:#ffffff; z-index:900"> | |
+ 3.14.0.4_r327016 | |
+ </div> | |
<div class="b-footer-copyr"> | |
<div class="b-footer-copyr_wg"> | |
<a title="wargaming.net" target="_blank" href="http://wargaming.net/"> | |
@@ -909,7 +1137,7 @@ | |
</span> | |
<ul> | |
<li> | |
- <a href="http://support.worldoftanks.ru/index.php?/Tickets/Submit"> | |
+ <a href="https://ru.wargaming.net/support/Tickets/Submit/"> | |
Напиши нам | |
</a> | |
</li> | |
@@ -931,13 +1159,6 @@ | |
</div> | |
{% include "generals/part_footer.html" with context %} | |
</div> | |
- <!-- .b-footer --> | |
- <script type="text/javascript"> | |
- jQuery(function(){ new regionWidget('challenge', '/geoip/region_widget/', 'popup'); }) | |
- </script> | |
- <script type="text/javascript"> | |
- jQuery(function(){ new regionWidget('challenge', '/geoip/region_widget/', 'top'); }) | |
- </script> | |
<!-- TODO: change to is_authenticated --> | |
<!-- Google Tag Manager --> | |
<noscript> | |
@@ -953,14 +1174,12 @@ | |
</script> | |
<!-- End Google Tag Manager --> | |
</body> | |
- {# | |
- <script type="text/javascript"> | |
- (function() { | |
- window.Settings = window.Settings || {}; | |
- window.Settings.AuthenticationConfirmation = {"path": "/auth/oid/confirm/", "secondsLeft": -682721, "expiresAtCookie": {"path": "/", "name": "authentication_confirmation_expires_at"}, "storedData": {}}; | |
- })(); | |
+{# <script type="text/javascript">#} | |
+{# (function() {#} | |
+{# window.Settings = window.Settings || {};#} | |
+{# window.Settings.AuthenticationConfirmation = {"path": "/auth/oid/confirm/", "secondsLeft": -1197, "expiresAtCookie": {"path": "/", "name": "authentication_confirmation_expires_at"}, "storedData": {}};#} | |
+{# })();#} | |
+{# </script>#} | |
+ <script type="text/javascript" src="https://worldoftanks.ru/static/3.14.0.4//authenticationconfirmation/js/scripts.js"> | |
</script> | |
- <script type="text/javascript" src="https://worldoftanks.ru/static/3.13.1.3//authenticationconfirmation/js/scripts.js"> | |
- </script> | |
- #} | |
</html> | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment