diff options
author | Andrew Dolgov <[email protected]> | 2008-07-25 10:31:08 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-07-25 10:31:08 +0100 |
commit | 9123c2efd67c6055db36ce1960045aa4dfa48417 (patch) | |
tree | d5bd04796e1e3e92d3761813b6b18431fd2e16bd /mobile | |
parent | 7bce63e76833eea0e1de4887cfad63127ca755c9 (diff) |
mobile: show footer only when displaying feeds
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/functions.php | 8 | ||||
-rw-r--r-- | mobile/mobile.css | 13 | ||||
-rw-r--r-- | mobile/tt-rss.php | 4 |
3 files changed, 14 insertions, 11 deletions
diff --git a/mobile/functions.php b/mobile/functions.php index 070559eef..606a42a2f 100644 --- a/mobile/functions.php +++ b/mobile/functions.php @@ -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\">" . diff --git a/mobile/mobile.css b/mobile/mobile.css index 412f16af1..9e8724e80 100644 --- a/mobile/mobile.css +++ b/mobile/mobile.css @@ -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 { diff --git a/mobile/tt-rss.php b/mobile/tt-rss.php index 241dd3e58..4722b98c8 100644 --- a/mobile/tt-rss.php +++ b/mobile/tt-rss.php @@ -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 ?> © 2005-2007 Andrew Dolgov </div> +<?php } ?> + </body> </html> |