summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-02 07:43:40 +0100
committerAndrew Dolgov <[email protected]>2006-05-02 07:43:40 +0100
commit581e6bb537db2bca38a722ad1a0b36686fb4d7e2 (patch)
tree50e6f47d4623bb5e5080417fa12853986357bd70 /mobile
parent289336bd2b524689635020aa1a1a0327b40521ba (diff)
mobile version improvements
Diffstat (limited to 'mobile')
-rw-r--r--mobile/functions.php24
-rw-r--r--mobile/mobile.css15
2 files changed, 19 insertions, 20 deletions
diff --git a/mobile/functions.php b/mobile/functions.php
index a251433a1..6169a352f 100644
--- a/mobile/functions.php
+++ b/mobile/functions.php
@@ -1,4 +1,5 @@
<?
+ define('MOBILE_FEEDLIST_ENABLE_ICONS', false);
function render_feeds_list($link) {
@@ -288,9 +289,9 @@
$feed = "<a href=\"?go=vf&id=$feed_id\">$feed_title</a>";
print "<li class=\"$class\">";
- if (get_pref($link, 'ENABLE_FEED_ICONS')) {
- print "$feed_icon";
- }
+# if (get_pref($link, 'ENABLE_FEED_ICONS')) {
+# print "$feed_icon";
+# }
print "<span $rtl_tag>$feed</span> ";
@@ -570,9 +571,9 @@
}
print "<div id=\"heading\">";
- if (!$cat_view && file_exists("../icons/$feed.ico") && filesize("../icons/$feed.ico") > 0) {
- print "<img class=\"feedIcon\" src=\"../icons/$feed.ico\">";
- }
+ # if (!$cat_view && file_exists("../icons/$feed.ico") && filesize("../icons/$feed.ico") > 0) {
+ # print "<img class=\"feedIcon\" src=\"../icons/$feed.ico\">";
+ # }
print "$feed_title <span id=\"headingAddon\">(";
print "<a href=\"tt-rss.php\">Back</a>, ";
@@ -644,7 +645,7 @@
$line["feed_title"]."</a>)";
}
- print "<span class='hlUpdated'> &mdash; $updated_fmt</span>";
+ print "<span class='hlUpdated'> ($updated_fmt)</span>";
print "</li>";
@@ -737,9 +738,9 @@
print "<div id=\"heading\">";
- if (file_exists("../icons/$feed_id.ico") && filesize("../icons/$feed_id.ico") > 0) {
- print "<img class=\"feedIcon\" src=\"../icons/$feed_id.ico\">";
- }
+ # if (file_exists("../icons/$feed_id.ico") && filesize("../icons/$feed_id.ico") > 0) {
+ # print "<img class=\"feedIcon\" src=\"../icons/$feed_id.ico\">";
+ # }
$feed_link = "<a href=\"tt-rss.php?go=vf&id=$feed_id\">Feed</a>";
@@ -756,9 +757,6 @@
}
print "</body></html>";
-
-
-
}
?>
diff --git a/mobile/mobile.css b/mobile/mobile.css
index d89f1fefa..a77e96bfd 100644
--- a/mobile/mobile.css
+++ b/mobile/mobile.css
@@ -46,15 +46,12 @@ td > input, div > input {
padding : 2px;
border-width : 0px 0px 1px 0px;
border-style : solid;
- border-color : #c0c0c0;
+ border-color : #a0a0a0;
font-weight : bold;
- background-color : #e0e0e0;
}
#content {
- background-color : white;
- background-position : top left;
- background-repeat : repeat-x;
+ background : white;
}
#footer {
@@ -120,13 +117,17 @@ hr {
border-color : #e0e0e0;
}
-a {
+ul.headlines a, ul.feedList a {
color : black;
+}
+
+a {
+ color : #5050aa;
text-decoration : none;
}
a:hover {
- color : #5050aa;
+ color : black;
}
ul.feedList img, img.tinyFeedIcon {