From 8a797376557016ce3413ac05f593e38af181a69c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 21 Aug 2006 05:01:08 +0100 Subject: [PATCH] tweak new version notify --- functions.php | 8 +++++--- tt-rss.css | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index 6b722a7a..7ec46f09 100644 --- a/functions.php +++ b/functions.php @@ -2455,11 +2455,13 @@ $last_version = trim(preg_replace("/(Milestone)|(completed)/", "", $last_item["title"])); $cur_version = preg_replace("/\.99/", "", VERSION); - $release_url = $last_item["link"]; + $release_url = sanitize_rss($last_item["link"]); + $content = sanitize_rss($last_item["description"]); if ($cur_version != $last_version) { - return "
- New version of Tiny-Tiny RSS ($last_version) is available.
"; + return "
+ New version of Tiny-Tiny RSS ($last_version) is available (click for details) +
$content
"; } } } diff --git a/tt-rss.css b/tt-rss.css index d2a4afad..5f771fe6 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1214,3 +1214,6 @@ table.loginForm2 .innerLoginCell { padding-top : 0.5em; } +#milestoneDetails { + display : none; +} -- 2.39.5