From: Andrew Dolgov Date: Wed, 24 Jan 2007 08:47:06 +0000 (+0100) Subject: disable dropdown-style subtoolbar for MSIE X-Git-Tag: 1.2.8~37 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2dd2c13bf9547c5b2b4d4b151fe3c1b49f2b9316;p=tt-rss.git disable dropdown-style subtoolbar for MSIE --- diff --git a/functions.php b/functions.php index 4fadff8d..8b98d142 100644 --- a/functions.php +++ b/functions.php @@ -2742,51 +2742,54 @@ } - print '[' . $_SESSION["client.userAgent"] . ']'; - - print " - - - "; + if (!strstr($_SESSION["client.userAgent"], "MSIE")) { + print " + + + "; + + } else { // old style subtoolbar: -/* print "". - _('Select:')." - All, - Unread, - None -   ". - _('Toggle:')." Unread, - Starred -   ". - _('Mark as read:')." - Page, - Feed"; - print ""; */ + print "". + _('Select:')." + All, + Unread, + None +   ". + _('Toggle:')." Unread, + Starred +   ". + _('Mark as read:')." + Page, + Feed"; + print ""; + + } if ($search && $feed_id >= 0 && get_pref($link, 'ENABLE_LABELS') && GLOBAL_ENABLE_LABELS) { print "