]> git.wh0rd.org - tt-rss.git/commitdiff
mobile: show footer only when displaying feeds
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 25 Jul 2008 09:31:08 +0000 (10:31 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 25 Jul 2008 09:31:08 +0000 (10:31 +0100)
mobile/functions.php
mobile/mobile.css
mobile/tt-rss.php

index 070559eefa246eace503889ca1b69f256d7c77d3..606a42a2f79566177c828fd7ff22858a5a37e56e 100644 (file)
                                }
        
                                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\">" .
index 412f16af1621ca58789afaa6b3489a520bbd2842..9e8724e80129bfb1b61a494e996a5f222852cb48 100644 (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 {
index 241dd3e5866992665477246a67425eb1496e0b2a..4722b98c822edcaf8a1b8d5e7bf2fb151cdf9c1a 100644 (file)
 ?>
 </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>