summaryrefslogtreecommitdiff
path: root/tt-rss.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-04 22:47:26 +0300
committerAndrew Dolgov <[email protected]>2009-02-04 22:47:26 +0300
commit69ea0cdd1b7dbbf7aef010fd707d93030c002cae (patch)
tree4429b30e4f594b4d4c6f9b407a5c79cb723a40a8 /tt-rss.php
parente3d218f229c1ad1b9b8f55fe8b9da7e14e5e301e (diff)
add toplink images to restart in offline or online mode
Diffstat (limited to 'tt-rss.php')
-rw-r--r--tt-rss.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/tt-rss.php b/tt-rss.php
index 38a2c32f9..f4cb83549 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -115,6 +115,8 @@ window.onload = init;
<div id="header">
<div class="topLinks" id="topLinks">
+ <span id="topLinksOnline">
+
<?php if (!SINGLE_USER_MODE) { ?>
<?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |
<?php } ?>
@@ -129,11 +131,24 @@ window.onload = init;
| <a href="logout.php"><?php echo __('Logout') ?></a>
<?php } ?>
+ <img id="restartOfflinePic" src="images/offline.png" style="display:none"
+ onclick="gotoOffline()"
+ title="<?php echo __('Restart in offline mode') ?>"/>
+
<img id="newVersionIcon" style="display:none;" onclick="javascript:explainError(2)"
src="images/new_version.png" title="<?php echo __('New version of Tiny Tiny RSS is available!') ?>"
alt="new_version_icon"/>
+ </span>
+
+ <span id="topLinksOffline" style="display : none">
+ <img id="restartOnlinePic" src="images/online.png"
+ onclick="gotoOnline()"
+ title="<?php echo __('Restart in online mode') ?>"/>
+ </span>
+
</div>
+
<img src="<?php echo $theme_image_path ?>images/ttrss_logo.png" alt="Tiny Tiny RSS"/>
</div>