summaryrefslogtreecommitdiff
path: root/classes/dlg.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-08-23 13:17:22 +0400
committerAndrew Dolgov <[email protected]>2012-08-23 13:17:22 +0400
commit366f06f7cfc37895089ee53c41e79bc48802820e (patch)
treef53a64224bd308e166f03dd61fd469952e9489c0 /classes/dlg.php
parent3bdc2b999b7e89815052ee97e6f530da6111c22a (diff)
update.php: display error message when running from the browser
mention self-updating in new version dialog
Diffstat (limited to 'classes/dlg.php')
-rw-r--r--classes/dlg.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/dlg.php b/classes/dlg.php
index 008518a8a..2701a98b2 100644
--- a/classes/dlg.php
+++ b/classes/dlg.php
@@ -899,6 +899,8 @@ class Dlg extends Handler_Protected {
$details = "http://tt-rss.org/redmine/versions/show/$id";
$download = "http://tt-rss.org/#Download";
+ print "<p align='center'>".__("You can try updating automatically using update.php")."</p>";
+
print "<div style='text-align : center'>";
print "<button dojoType=\"dijit.form.Button\"
onclick=\"return window.open('$details')\">".__("Details")."</button>";