From: Andrew Dolgov Date: Mon, 25 Mar 2013 17:47:38 +0000 (+0400) Subject: add a button to show release notes before updating; remove obsolete elements X-Git-Tag: 1.7.6~285 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2e828a4af62ba81e30b5dee1e49f1de6e8fc443a;p=tt-rss.git add a button to show release notes before updating; remove obsolete elements --- diff --git a/classes/dlg.php b/classes/dlg.php index 5789af68..23b9c78f 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -598,7 +598,7 @@ class Dlg extends Handler_Protected { print "
"; print ""; + onclick=\"return window.open('$details')\">".__("See the release notes").""; print ""; print "
- -
 
diff --git a/plugins/updater/init.php b/plugins/updater/init.php index 63b681e1..8a7c8a9c 100644 --- a/plugins/updater/init.php +++ b/plugins/updater/init.php @@ -323,9 +323,14 @@ class Updater extends Plugin { if (is_array($_SESSION["version_data"])) { $version = $_SESSION["version_data"]["version"]; + $version_id = $_SESSION["version_data"]["version_id"]; print_notice(T_sprintf("New version of Tiny Tiny RSS is available (%s).", "$version")); - print "

"; + + print "

"; } else {