summaryrefslogtreecommitdiff
path: root/tt-rss.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-09-29 08:50:18 +0100
committerAndrew Dolgov <[email protected]>2006-09-29 08:50:18 +0100
commitc2625f8e49a04d5efeb25af9720c3fce731bb7e4 (patch)
tree6582214f6bc6f553879fc3358235fb569fd2aab2 /tt-rss.php
parentf698dd2796650c726e6355ba81901f90c9fa35d2 (diff)
obsolete DISPLAY_HEADER/FOOTER options
Diffstat (limited to 'tt-rss.php')
-rw-r--r--tt-rss.php33
1 files changed, 12 insertions, 21 deletions
diff --git a/tt-rss.php b/tt-rss.php
index 69a3bec88..2d5ad87e6 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -108,22 +108,15 @@ window.onload = init;
<div id="infoBoxShadow"><div id="infoBox">&nbsp;</div></div>
-<?php if (get_pref($link, 'DISPLAY_HEADER')) { ?>
- <div id="header">
- <?php if (!SINGLE_USER_MODE) { ?>
- <div style="float : right">
- Hello, <b><?php echo $_SESSION["name"] ?></b>
- (<a href="logout.php">Logout</a>)
- </div>
- <?php } ?>
- <img src="<?php echo $theme_image_path ?>images/ttrss_logo.png" alt="Tiny Tiny RSS">
- </div>
-<?php } else if (!SINGLE_USER_MODE) { ?>
- <div style="float : right">
- Hello, <b><?php echo $_SESSION["name"] ?></b>
- (<a href="logout.php">Logout</a>)
- </div>
-<?php } ?>
+<div id="header">
+ <?php if (!SINGLE_USER_MODE) { ?>
+ <div style="float : right">
+ Hello, <b><?php echo $_SESSION["name"] ?></b>
+ (<a href="logout.php">Logout</a>)
+ </div>
+ <?php } ?>
+ <img src="<?php echo $theme_image_path ?>images/ttrss_logo.png" alt="Tiny Tiny RSS">
+</div>
<div id="feeds-holder">
<div id="dispSwitch">
@@ -216,11 +209,9 @@ window.onload = init;
<div id="headlines-frame" class="headlines_cdm"><div class="whiteBox">No feed selected.</div></div>
<?php } ?>
-<?php if (get_pref($link, 'DISPLAY_FOOTER')) { ?>
- <div id="footer">
- <a href="http://tt-rss.spb.ru/">Tiny Tiny RSS</a> v<?php echo VERSION ?> &copy; 2005-2006 Andrew Dolgov
- </div>
-<?php } ?>
+<div id="footer">
+ <a href="http://tt-rss.spb.ru/">Tiny Tiny RSS</a> v<?php echo VERSION ?> &copy; 2005-2006 Andrew Dolgov
+</div>
<?php db_close($link); ?>