From: Andrew Dolgov Date: Wed, 4 Feb 2009 12:49:34 +0000 (+0300) Subject: offline mode UI tweaks X-Git-Tag: 1.3.1~96 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3c6d3586f6f393b6841a97feee1744bd700c1485;p=tt-rss.git offline mode UI tweaks --- diff --git a/offline.js b/offline.js index 2ce8920a..947a528b 100644 --- a/offline.js +++ b/offline.js @@ -445,12 +445,16 @@ function init_offline() { Element.hide("dispSwitchPrompt"); Element.hide("feedBrowserPrompt"); - Element.hide("quickMenuChooser"); var tb_form = document.getElementById("main_toolbar_form"); - Element.hide(tb_form.update); + var top_links = document.getElementById("topLinks"); + top_links.innerHTML = __("Offline mode"); + + var chooser = document.getElementById("quickMenuChooser"); + chooser.disabled = true; + var rs = db.execute("SELECT key, value FROM init_params"); while (rs.isValidRow()) { diff --git a/tt-rss.php b/tt-rss.php index 5b48e348..38a2c32f 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -113,7 +113,7 @@ window.onload = init;