diff options
author | Andrew Dolgov <[email protected]> | 2005-08-25 11:28:54 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-08-25 11:28:54 +0100 |
commit | e695fdc83ef295fd18e9757ff5b12f3d9a8d213c (patch) | |
tree | 984283eb6a8b7eb99656a8cc1c9eee484c1c0303 | |
parent | 899244ef4d850f9b273dfef24bcc327ac14fe8f5 (diff) |
images moved to subdirectory, updated TODO
-rw-r--r-- | TODO | 10 | ||||
-rw-r--r-- | backend.php | 2 | ||||
-rw-r--r-- | functions.php | 8 | ||||
-rw-r--r-- | images/button.png (renamed from button.png) | bin | 293 -> 293 bytes | |||
-rw-r--r-- | images/header.png (renamed from header.png) | bin | 292 -> 292 bytes | |||
-rw-r--r-- | images/header_rev.png (renamed from header_rev.png) | bin | 291 -> 291 bytes | |||
-rw-r--r-- | images/updated.png (renamed from updated.png) | bin | 224 -> 224 bytes | |||
-rw-r--r-- | tt-rss.css | 14 |
8 files changed, 26 insertions, 8 deletions
@@ -1,3 +1,13 @@ +0.2 + ++ feed editor ++ feed icons ++ background feed updates ++ update detection based on content checksum +- cleanup posts older then specified number of days + +0.3 + - better error handling - keyboard navigation diff --git a/backend.php b/backend.php index 2f88e815e..0105253dc 100644 --- a/backend.php +++ b/backend.php @@ -254,7 +254,7 @@ $class = ($lnum % 2) ? "even" : "odd"; if ($line["last_read_ts"] < $line["updated_ts"] && $line["unread"] == "f") { - $update_pic = "<img src=\"updated.png\" alt=\"Updated\">"; + $update_pic = "<img src=\"images/updated.png\" alt=\"Updated\">"; } else { $update_pic = " "; } diff --git a/functions.php b/functions.php index 4dafe4578..0d668eda6 100644 --- a/functions.php +++ b/functions.php @@ -35,7 +35,7 @@ $icon_file = ICONS_DIR . "/$feed.ico"; if (!file_exists($icon_file)) { - + error_reporting(0); $r = fopen($icon_url, "r"); error_reporting (E_ERROR | E_WARNING | E_PARSE); @@ -53,7 +53,11 @@ fclose($r); fclose($t); - rename($tmpfname, $icon_file); + error_reporting(0); + if (!rename($tmpfname, $icon_file)) { + unlink($tmpfname); + } + error_reporting (E_ERROR | E_WARNING | E_PARSE); } } diff --git a/button.png b/images/button.png Binary files differindex 161606ea7..161606ea7 100644 --- a/button.png +++ b/images/button.png diff --git a/header.png b/images/header.png Binary files differindex 7ccdf79b2..7ccdf79b2 100644 --- a/header.png +++ b/images/header.png diff --git a/header_rev.png b/images/header_rev.png Binary files differindex a20427d36..a20427d36 100644 --- a/header_rev.png +++ b/images/header_rev.png diff --git a/updated.png b/images/updated.png Binary files differindex 695892400..695892400 100644 --- a/updated.png +++ b/images/updated.png diff --git a/tt-rss.css b/tt-rss.css index d5f88276b..9e7d9eb92 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -116,7 +116,7 @@ table.main td.toolbar { table.main td.header { font-size : 21pt; background-color : #f0f0f0; - background-image : url("header.png"); + background-image : url("images/header.png"); background-position : top left; background-repeat : repeat-x; height : 50px; @@ -177,7 +177,7 @@ table.main td.notify { text-align : center; color : gray; background-color : #f0f0f0; - background-image : url("header_rev.png"); + background-image : url("images/header_rev.png"); background-position : top left; background-repeat : repeat-x; @@ -220,10 +220,14 @@ table.prefAddFeed input { } table.prefAddFeed { - background : #f0f0f0; border : 1px solid #c0c0c0; padding : 10px; -moz-border-radius : 5px; + background-color : #f0f0f0; + background-image : url("images/form.png"); + background-position : bottom left; + background-repeat : repeat-x; + } table.prefFeedList tr.title td { @@ -257,7 +261,7 @@ a.disabledButton:hover { a.button { border : 1px solid #d0d0d0; - background-image : url("button.png"); + background-image : url("images/button.png"); background-position : top; background-repeat : repeat-x; background-color : white; @@ -274,7 +278,7 @@ a.button:hover { a.buttonWarn { border : 1px solid #d0d0d0; - background-image : url("button.png"); + background-image : url("images/button.png"); background-position : top; background-repeat : repeat-x; background-color : white; |