summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-01-24 09:47:06 +0100
committerAndrew Dolgov <[email protected]>2007-01-24 09:47:06 +0100
commit2dd2c13bf9547c5b2b4d4b151fe3c1b49f2b9316 (patch)
tree21f61d9c0891794c78c03ee7073e36a88ce0c19c /functions.php
parent4220d6b0374682f03e5c2195799ed1cbce8f3cc3 (diff)
disable dropdown-style subtoolbar for MSIE
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php87
1 files changed, 45 insertions, 42 deletions
diff --git a/functions.php b/functions.php
index 4fadff8d9..8b98d1427 100644
--- a/functions.php
+++ b/functions.php
@@ -2742,51 +2742,54 @@
}
- print '[' . $_SESSION["client.userAgent"] . ']';
-
- print "<td class=\"headlineActions$rtl_cpart\">
- <ul class=\"headlineDropdownMenu\">
- <li class=\"top2\">
- Select:
- <a href=\"$sel_all_link\">All</a>,
- <a href=\"$sel_unread_link\">Unread</a>,
- <a href=\"$sel_none_link\">None</a></li>
- <li class=\"vsep\">&nbsp;</li>
- <li class=\"top\">Selection<ul>
- <li onclick=\"$tog_unread_link\">Toggle unread</li>
- <li onclick=\"$tog_marked_link\">Toggle starred</li></ul></li>
- <li class=\"vsep\">&nbsp;</li>
- <li class=\"top\"><a href=\"$catchup_page_link\">Mark as read</a><ul>
- <li onclick=\"$catchup_page_link\">This page</li>
- <li onclick=\"$catchup_feed_link\">Entire feed</li></ul></li>
- <li class=\"vsep\">&nbsp;</li>
- <!-- <li class=\"top2\">
- Page:
- <a href=\"$page_prev_link\">Previous</a>,
- <a href=\"$page_next_link\">Next</a></li> -->
-
- <li class=\"top\"><a href=\"$page_next_link\">Next page</a><ul>
- <li onclick=\"$page_prev_link\">Previous page</li>
- <li onclick=\"$page_first_link\">First page</li></ul></li>
- </ul>
-
- </td>";
+ if (!strstr($_SESSION["client.userAgent"], "MSIE")) {
+ print "<td class=\"headlineActions$rtl_cpart\">
+ <ul class=\"headlineDropdownMenu\">
+ <li class=\"top2\">
+ Select:
+ <a href=\"$sel_all_link\">All</a>,
+ <a href=\"$sel_unread_link\">Unread</a>,
+ <a href=\"$sel_none_link\">None</a></li>
+ <li class=\"vsep\">&nbsp;</li>
+ <li class=\"top\">Selection<ul>
+ <li onclick=\"$tog_unread_link\">Toggle unread</li>
+ <li onclick=\"$tog_marked_link\">Toggle starred</li></ul></li>
+ <li class=\"vsep\">&nbsp;</li>
+ <li class=\"top\"><a href=\"$catchup_page_link\">Mark as read</a><ul>
+ <li onclick=\"$catchup_page_link\">This page</li>
+ <li onclick=\"$catchup_feed_link\">Entire feed</li></ul></li>
+ <li class=\"vsep\">&nbsp;</li>
+ <!-- <li class=\"top2\">
+ Page:
+ <a href=\"$page_prev_link\">Previous</a>,
+ <a href=\"$page_next_link\">Next</a></li> -->
+
+ <li class=\"top\"><a href=\"$page_next_link\">Next page</a><ul>
+ <li onclick=\"$page_prev_link\">Previous page</li>
+ <li onclick=\"$page_first_link\">First page</li></ul></li>
+ </ul>
+
+ </td>";
+
+ } else {
// old style subtoolbar:
-/* print "<td class=\"headlineActions$rtl_cpart\">".
- _('Select:')."
- <a href=\"$sel_all_link\">All</a>,
- <a href=\"$sel_unread_link\">Unread</a>,
- <a href=\"$sel_none_link\">None</a>
- &nbsp;&nbsp;".
- _('Toggle:')." <a href=\"$tog_unread_link\">Unread</a>,
- <a href=\"$tog_marked_link\">Starred</a>
- &nbsp;&nbsp;".
- _('Mark as read:')."
- <a href=\"#\" onclick=\"$catchup_page_link\">Page</a>,
- <a href=\"#\" onclick=\"$catchup_feed_link\">Feed</a>";
- print "</td>"; */
+ print "<td class=\"headlineActions$rtl_cpart\">".
+ _('Select:')."
+ <a href=\"$sel_all_link\">All</a>,
+ <a href=\"$sel_unread_link\">Unread</a>,
+ <a href=\"$sel_none_link\">None</a>
+ &nbsp;&nbsp;".
+ _('Toggle:')." <a href=\"$tog_unread_link\">Unread</a>,
+ <a href=\"$tog_marked_link\">Starred</a>
+ &nbsp;&nbsp;".
+ _('Mark as read:')."
+ <a href=\"#\" onclick=\"$catchup_page_link\">Page</a>,
+ <a href=\"#\" onclick=\"$catchup_feed_link\">Feed</a>";
+ print "</td>";
+
+ }
if ($search && $feed_id >= 0 && get_pref($link, 'ENABLE_LABELS') && GLOBAL_ENABLE_LABELS) {
print "<td class=\"headlineActions$rtl_cpart\">