print "<div style='text-align : center'>";
print "<button dojoType=\"dijit.form.Button\"
- onclick=\"return window.open('$details')\">".__("Details")."</button>";
+ onclick=\"return window.open('$details')\">".__("See the release notes")."</button>";
print "<button dojoType=\"dijit.form.Button\"
onclick=\"return window.open('$download')\">".__("Download")."</button>";
print "<button dojoType=\"dijit.form.Button\"
<div style="display : none" onclick="Element.hide(this)" id="small_article_preview"></div>
-<div id="header">
- <img id="net-alert" style="display : none"
- title="<?php echo __("Communication problem with server.") ?>"
- src="images/alert.png"/>
-
- <img id="newVersionIcon" style="display:none" onclick="newVersionDlg()"
- width="13" height="13"
- src="images/new_version.png"
- title="<?php echo __('New version of Tiny Tiny RSS is available!') ?>"
- alt="new_version_icon"/>
-</div>
-
<div id="notify" class="notify"><span id="notify_body"> </span></div>
<div id="cmdline" style="display : none"></div>
<div id="auxDlg" style="display : none"></div>
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).", "<b>$version</b>"));
- print "<p><button dojoType=\"dijit.form.Button\" onclick=\"return updateSelf()\">".
+ $details = "http://tt-rss.org/redmine/versions/$version_id";
+
+ print "<p><button onclick=\"window.open('$details')\" dojoType=\"dijit.form.Button\">".__("See the release notes")."</button>";
+
+ print " <button dojoType=\"dijit.form.Button\" onclick=\"return updateSelf()\">".
__('Update Tiny Tiny RSS')."</button></p>";
} else {