]> git.wh0rd.org Git - tt-rss.git/commitdiff
updater: add button to call updateself dialog even if no next version detected
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 11 Sep 2013 11:17:22 +0000 (15:17 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 11 Sep 2013 11:17:22 +0000 (15:17 +0400)
plugins/updater/init.php

index 69d9b08b2f0404baa8f4ad58da843e3bccf2b3f3..dc657e480205c46f8eb5037a2142dce93e7e3d21 100644 (file)
@@ -341,6 +341,10 @@ class Updater extends Plugin {
 
                        } else {
                                print_notice(__("Your Tiny Tiny RSS installation is up to date."));
+
+                               print "<br/> <button dojoType=\"dijit.form.Button\" onclick=\"return updateSelf()\">".
+                                       __('Force update')."</button></p>";
+
                        }
 
                        print "</div>"; #pane