From bb5e1a328d30785fc8d5ca866cd886110e3c37b9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 27 Mar 2013 18:16:30 +0400 Subject: enable 4th field in plugin->about() to serve as a more info link --- classes/pref/prefs.php | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'classes') diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 28a19f729..a5d7300d2 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -629,7 +629,7 @@ class Pref_Prefs extends Handler_Protected { print "

".__("Plugins")."

"; - print_notice(__("Download more plugins at Tiny Tiny RSS forums.")); + print_notice(__("Download more plugins at tt-rss.org forums or wiki.")); print "

" . __("You will need to reload Tiny Tiny RSS for plugin changes to take effect.") . "

"; @@ -690,7 +690,12 @@ class Pref_Prefs extends Handler_Protected { type=\"checkbox\">"; print "$name"; - print "" . htmlspecialchars($about[1]) . ""; + print "" . htmlspecialchars($about[1]); + if (@$about[4]) { + print " — ".__("more info").""; + } + print ""; print "" . htmlspecialchars(sprintf("%.2f", $about[0])) . ""; print "" . htmlspecialchars($about[2]) . ""; @@ -742,7 +747,13 @@ class Pref_Prefs extends Handler_Protected { type=\"checkbox\">"; print ""; - print ""; + print ""; + if (@$about[4]) { + print " — ".__("more info").""; + } + print ""; + print "" . htmlspecialchars(sprintf("%.2f", $about[0])) . ""; print "" . htmlspecialchars($about[2]) . ""; -- cgit v1.2.3