diff --git a/Controller/NetCommonsAppController.php b/Controller/NetCommonsAppController.php index 01914da7..f231511e 100644 --- a/Controller/NetCommonsAppController.php +++ b/Controller/NetCommonsAppController.php @@ -197,6 +197,16 @@ private function __prepare() { } $this->request->params['named'] = $named; } + + if (empty($this->request->params['requested'])) { + //非推奨ブラウザチェック + /** @var \DeprecatedBrowserComponent $DeprecatedBrowser */ + $DeprecatedBrowser = $this->Components->load('NetCommons.DeprecatedBrowser'); + $DeprecatedBrowser->initialize($this); + if ($DeprecatedBrowser->isDeprecatedBrowser()) { + $DeprecatedBrowser->setFlashNotification(); + } + } } /** diff --git a/Locale/jpn/LC_MESSAGES/net_commons.po b/Locale/jpn/LC_MESSAGES/net_commons.po index 091c8447..16e02c4e 100644 --- a/Locale/jpn/LC_MESSAGES/net_commons.po +++ b/Locale/jpn/LC_MESSAGES/net_commons.po @@ -2090,4 +2090,4 @@ msgid "Date" msgstr "日付" msgid "Internet Explorer(IE) is deprecated. If you are using IE, please change to the latest version such as Edge, Chrome, Firefox, etc." -msgstr "お使いのブラウザがInternet Explorer(IE)のようです。
NetCommonsではIEの利用を推奨していません。
お手数ですが、EdgeやChrome, Firefoxの最新版をご利用ください。" +msgstr "お使いのブラウザがInternet Explorer(IE)のようです。
edumapではIEの利用を推奨していません。IEでの動作保証はできません。
お手数ですが、EdgeやChrome, Firefoxの最新版をご利用ください。" diff --git a/View/Elements/common_footer.ctp b/View/Elements/common_footer.ctp index 26355500..03234090 100644 --- a/View/Elements/common_footer.ctp +++ b/View/Elements/common_footer.ctp @@ -10,7 +10,12 @@ ?> diff --git a/View/SiteClose/index.ctp b/View/SiteClose/index.ctp index 49a4f874..fd381512 100644 --- a/View/SiteClose/index.ctp +++ b/View/SiteClose/index.ctp @@ -8,6 +8,7 @@ * @license http://www.netcommons.org/license.txt NetCommons License * @copyright Copyright 2014, NetCommons Project */ +$this->assign('meta', ''); ?>