offline mode UI tweaks

master
Andrew Dolgov 16 years ago
parent 779ba0752b
commit 3c6d3586f6

@ -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()) {

@ -113,7 +113,7 @@ window.onload = init;
</div>
<div id="header">
<div class="topLinks">
<div class="topLinks" id="topLinks">
<?php if (!SINGLE_USER_MODE) { ?>
<?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |

Loading…
Cancel
Save