From: Jan Schneider Date: Tue, 9 Mar 2010 14:34:44 +0000 (+0100) Subject: Display the same message like DIMP when browser is too old, and exclude Safari X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=02d860ac6331751ee62977edd9151022e714d4f0;p=horde.git Display the same message like DIMP when browser is too old, and exclude Safari 1 too. --- diff --git a/kronolith/index.php b/kronolith/index.php index 557fde9a0..6ca35a512 100644 --- a/kronolith/index.php +++ b/kronolith/index.php @@ -11,7 +11,11 @@ Horde_Registry::appInit('kronolith'); /* Load traditional interface? */ if (!$prefs->getValue('dynamic_view') || !$browser->hasFeature('xmlhttpreq') || - ($browser->isBrowser('msie') && $browser->getMajor() <= 6)) { + ($browser->isBrowser('msie') && $browser->getMajor() < 7) || + ($browser->hasFeature('issafari') && $browser->getMajor() < 2)) { + if ($prefs->getValue('dynamic_view')) { + $notification->push(_("Your browser is too old to display the dynamic mode. Using traditional mode instead."), 'horde.error'); + } include KRONOLITH_BASE . '/' . $prefs->getValue('defaultview') . '.php'; exit; }