offline mode UI tweaks

This commit is contained in:
Andrew Dolgov 2009-02-04 15:49:34 +03:00
parent 779ba0752b
commit 3c6d3586f6
2 changed files with 7 additions and 3 deletions

View File

@ -445,12 +445,16 @@ function init_offline() {
Element.hide("dispSwitchPrompt"); Element.hide("dispSwitchPrompt");
Element.hide("feedBrowserPrompt"); Element.hide("feedBrowserPrompt");
Element.hide("quickMenuChooser");
var tb_form = document.getElementById("main_toolbar_form"); var tb_form = document.getElementById("main_toolbar_form");
Element.hide(tb_form.update); 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"); var rs = db.execute("SELECT key, value FROM init_params");
while (rs.isValidRow()) { while (rs.isValidRow()) {

View File

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