obsolete DISPLAY_HEADER/FOOTER options

This commit is contained in:
Andrew Dolgov 2006-09-29 08:50:18 +01:00
parent f698dd2796
commit c2625f8e49
2 changed files with 16 additions and 21 deletions

View file

@ -1347,6 +1347,10 @@ div.headlines_cdm {
} }
#footer a {
color : gray;
}
#headlinesContainer { #headlinesContainer {
margin-left : 1px; margin-left : 1px;
background-color : white; background-color : white;

View file

@ -108,22 +108,15 @@ window.onload = init;
<div id="infoBoxShadow"><div id="infoBox">&nbsp;</div></div> <div id="infoBoxShadow"><div id="infoBox">&nbsp;</div></div>
<?php if (get_pref($link, 'DISPLAY_HEADER')) { ?> <div id="header">
<div id="header"> <?php if (!SINGLE_USER_MODE) { ?>
<?php if (!SINGLE_USER_MODE) { ?> <div style="float : right">
<div style="float : right"> Hello, <b><?php echo $_SESSION["name"] ?></b>
Hello, <b><?php echo $_SESSION["name"] ?></b> (<a href="logout.php">Logout</a>)
(<a href="logout.php">Logout</a>) </div>
</div> <?php } ?>
<?php } ?> <img src="<?php echo $theme_image_path ?>images/ttrss_logo.png" alt="Tiny Tiny RSS">
<img src="<?php echo $theme_image_path ?>images/ttrss_logo.png" alt="Tiny Tiny RSS"> </div>
</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="feeds-holder"> <div id="feeds-holder">
<div id="dispSwitch"> <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> <div id="headlines-frame" class="headlines_cdm"><div class="whiteBox">No feed selected.</div></div>
<?php } ?> <?php } ?>
<?php if (get_pref($link, 'DISPLAY_FOOTER')) { ?> <div id="footer">
<div id="footer"> <a href="http://tt-rss.spb.ru/">Tiny Tiny RSS</a> v<?php echo VERSION ?> &copy; 2005-2006 Andrew Dolgov
<a href="http://tt-rss.spb.ru/">Tiny Tiny RSS</a> v<?php echo VERSION ?> &copy; 2005-2006 Andrew Dolgov </div>
</div>
<?php } ?>
<?php db_close($link); ?> <?php db_close($link); ?>