From 6a5efb075cedef567d8356fe57e9d913869fb027 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 11 Jan 2008 08:13:55 +0100 Subject: [PATCH] label editor: rework help link --- modules/popup-dialog.php | 10 ++++------ modules/pref-labels.php | 10 ++++------ prefs.js | 2 ++ 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index c40c5170..a63c65f5 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -228,12 +228,6 @@ print ""; - - print ""; - print ""; - print " - ".__('Click here for help').""; - print ""; print ""; @@ -242,6 +236,10 @@ print "
"; + print " "; + print " "; diff --git a/modules/pref-labels.php b/modules/pref-labels.php index 552dbc58..b7124f01 100644 --- a/modules/pref-labels.php +++ b/modules/pref-labels.php @@ -48,12 +48,6 @@ print ""; - - print ""; - print ""; - print " - ".__('Click here for help').""; - print ""; print ""; @@ -62,6 +56,10 @@ print "
"; + print " "; + $is_disabled = (strpos($_SERVER['HTTP_USER_AGENT'], 'Opera') !== FALSE) ? "disabled" : ""; print " diff --git a/prefs.js b/prefs.js index dcb7a2a7..e64d5117 100644 --- a/prefs.js +++ b/prefs.js @@ -864,6 +864,8 @@ function displayHelpInfobox(topic_id) { var w = window.open(url, "ttrss_help", "status=0,toolbar=0,location=0,width=450,height=500,scrollbars=1,menubar=0"); + + return false; } function labelEditCancel() { -- 2.39.5