From d420f2ee0cce949f718692723e7061c089d4aa5f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 16 May 2007 05:27:38 +0100 Subject: tweak subtoolbar (change convert-to-label placement) --- functions.php | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 8640884a3..77161e8c2 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 ""; -- cgit v1.2.3