From: Andrew Dolgov Date: Wed, 16 May 2007 04:27:38 +0000 (+0100) Subject: tweak subtoolbar (change convert-to-label placement) X-Git-Tag: schema_freeze_for_1.2.11~40 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d420f2ee0cce949f718692723e7061c089d4aa5f;p=tt-rss.git tweak subtoolbar (change convert-to-label placement) --- diff --git a/functions.php b/functions.php index 8640884a..77161e8c 100644 --- a/functions.php +++ b/functions.php @@ -2892,7 +2892,7 @@ } - if (!strstr($_SESSION["client.userAgent"], "MSIE")) { + if (strpos($_SESSION["client.userAgent"], "MSIE") === false) { print "
  •  
  • "; - if ($limit != 0) { + if ($limit != 0 && !$search) { print "
  • ".__('Next page')."
  • "; - } + } + if ($search && $feed_id >= 0 && get_pref($link, 'ENABLE_LABELS') && GLOBAL_ENABLE_LABELS) { + print "
  • + + ".__('Convert to Label').""; + } print " "; @@ -2937,16 +2943,25 @@ __('Mark as read:')." ".__('Page').", ".__('Feed').""; + + if ($search && $feed_id >= 0 && get_pref($link, 'ENABLE_LABELS') && GLOBAL_ENABLE_LABELS) { + + print "   + + ".__('Convert to Label').""; + } + print ""; } - if ($search && $feed_id >= 0 && get_pref($link, 'ENABLE_LABELS') && GLOBAL_ENABLE_LABELS) { +/* if ($search && $feed_id >= 0 && get_pref($link, 'ENABLE_LABELS') && GLOBAL_ENABLE_LABELS) { print " ".__('Convert to Label').""; - } +} */ print ""; diff --git a/tt-rss.css b/tt-rss.css index 122bfa9f..8c1f7911 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1478,6 +1478,15 @@ ul.headlineDropdownMenu li.top2 { float : left; } +ul.headlineDropdownMenu li.top3 { + float : left; + margin : 0px; + cursor : pointer; + border-width : 1px 1px 1px 1px; + border-color : transparent; + border-style : solid; +} + ul.headlineDropdownMenu li.vsep { float : left; margin : 0px 5px 0px 0px;