From e91ad1e9abf094998bbcfb1ec205c46272208193 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Nov 2010 14:57:32 +0300 Subject: tweak new version dialog --- modules/popup-dialog.php | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'modules') diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 394ee16a0..16b727fd1 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -766,18 +766,25 @@ } if ($id == "newVersion") { - $version = check_for_update($link); - - $version_link = "http://tt-rss.org"; + $version_data = check_for_update($link); + $version = $version_data['version']; + $id = $version_data['version_id']; print "
"; - print T_sprintf("New version of Tiny Tiny RSS is available (%s).
Visit %s for more information.", "$version", $version_link); + print T_sprintf("New version of Tiny Tiny RSS is available (%s).", + "$version"); print "
"; + $details = "http://tt-rss.org/redmine/versions/show/$id"; + $download = "http://tt-rss.org/#Download"; + print "
"; + print ""; + print ""; print ""; -- cgit v1.2.3-54-g00ecf