diff options
Diffstat (limited to 'tt-rss.php')
-rw-r--r-- | tt-rss.php | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/tt-rss.php b/tt-rss.php index 4ca516615..f4cb83549 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -48,6 +48,9 @@ <script type="text/javascript" charset="utf-8" src="functions.js?<?php echo $dt_add ?>"></script> <script type="text/javascript" charset="utf-8" src="feedlist.js?<?php echo $dt_add ?>"></script> <script type="text/javascript" charset="utf-8" src="viewfeed.js?<?php echo $dt_add ?>"></script> + <script type="text/javascript" charset="utf-8" src="offline.js?<?php echo $dt_add ?>"></script> + + <script type="text/javascript" src="gears_init.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> @@ -110,7 +113,9 @@ window.onload = init; </div> <div id="header"> - <div class="topLinks"> + <div class="topLinks" id="topLinks"> + + <span id="topLinksOnline"> <?php if (!SINGLE_USER_MODE) { ?> <?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> | @@ -126,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> @@ -172,8 +190,9 @@ window.onload = init; <option value="qmcAddFilter"> <?php echo __('Create filter...') ?></option> <option value="qmcResetUI"> <?php echo __('Reset UI layout') ?></option> <option value="qmcResetCats"> <?php echo __('Reset category order') ?></option> - + <option id="qmcDownload" style="display : none" value="qmcDownload"><?php echo __(' Download new articles...') ?></option> <option value="qmcHKhelp"><?php echo __(' Keyboard shortcuts') ?></option> + </select> </div> @@ -240,7 +259,7 @@ window.onload = init; - <input class="button" type="submit" + <input class="button" type="submit" name="update" onclick="return viewCurrentFeed('ForceUpdate')" value="<?php echo __('Update') ?>"/> |