mobile: show footer only when displaying feeds

This commit is contained in:
Andrew Dolgov 2008-07-25 10:31:08 +01:00
parent 7bce63e768
commit 9123c2efd6
3 changed files with 14 additions and 11 deletions

View File

@ -506,15 +506,15 @@
}
if ($line["marked"] == "t" || $line["marked"] == "1") {
$marked_pic = "<img class='marked' src=\"../images/mark_set.png\">";
$marked_pic = "<img alt=\"S\" class='marked' src=\"../images/mark_set.png\">";
} else {
$marked_pic = "<img class='marked' src=\"../images/mark_unset.png\">";
$marked_pic = "<img alt=\"s\" class='marked' src=\"../images/mark_unset.png\">";
}
if ($line["published"] == "t" || $line["published"] == "1") {
$published_pic = "<img class='marked' src=\"../images/pub_set.gif\">";
$published_pic = "<img alt=\"P\" class='marked' src=\"../images/pub_set.gif\">";
} else {
$published_pic = "<img class='marked' src=\"../images/pub_unset.gif\">";
$published_pic = "<img alt=\"p\" class='marked' src=\"../images/pub_unset.gif\">";
}
$content_link = "<a href=\"?go=view&id=$id&cat=$cat_view&ret_feed=$feed&feed=$feed_id\">" .

View File

@ -1,14 +1,15 @@
body {
padding : 0px;
margin : 0px;
font-family : sans-serif;
}
h1 {
font-size : 16pt;
font-size : medium;
}
h2 {
font-size : 14pt;
font-size : medium;
font-weight : bold;
border-width : 0px 0px 1px 0px;
border-style : solid;
@ -16,7 +17,7 @@ h2 {
}
h3 {
font-size : 12pt;
font-size : medium;
font-weight : bold;
border-width : 0px 0px 1px 0px;
border-style : solid;
@ -24,7 +25,6 @@ h3 {
}
#heading {
padding : 2px;
border-width : 0px 0px 1px 0px;
border-style : solid;
border-color : #88b0ff;
@ -43,7 +43,6 @@ h3 {
text-align : center;
font-size : x-small;
color : gray;
padding : 2px;
}
form {
@ -59,13 +58,13 @@ ul.feedList {
list-style-type : none;
margin : 0px;
padding : 0px;
}
ul.feedList li.feedCat {
margin : 0px;
padding : 0px;
color : #707070;
font-size : x-small;
}
ul.feedList li.feedCat a {
@ -191,7 +190,7 @@ ul.headlines img.marked {
}
div.postTags {
color : gray;
font-size : x-small;
font-size : small;
}
#headingAddon {

View File

@ -124,9 +124,13 @@
?>
</div>
<?php if (!$go) { ?>
<div id="footer">
<a href="http://tt-rss.spb.ru/">Tiny-Tiny RSS</a> v<?php echo VERSION ?> &copy; 2005-2007 Andrew Dolgov
</div>
<?php } ?>
</body>
</html>