mobile: show footer only when displaying feeds

master
Andrew Dolgov 16 years ago
parent 7bce63e768
commit 9123c2efd6

@ -506,15 +506,15 @@
} }
if ($line["marked"] == "t" || $line["marked"] == "1") { 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 { } 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") { 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 { } 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\">" . $content_link = "<a href=\"?go=view&id=$id&cat=$cat_view&ret_feed=$feed&feed=$feed_id\">" .

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

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

Loading…
Cancel
Save