]> git.wh0rd.org Git - tt-rss.git/commitdiff
images moved to subdirectory, updated TODO
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 25 Aug 2005 10:28:54 +0000 (11:28 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 25 Aug 2005 10:28:54 +0000 (11:28 +0100)
12 files changed:
TODO
backend.php
button.png [deleted file]
functions.php
header.png [deleted file]
header_rev.png [deleted file]
images/button.png [new file with mode: 0644]
images/header.png [new file with mode: 0644]
images/header_rev.png [new file with mode: 0644]
images/updated.png [new file with mode: 0644]
tt-rss.css
updated.png [deleted file]

diff --git a/TODO b/TODO
index 7d367686f9b52b6dbf07bb3917470bd8aa8a29a7..e111cf1ccdf684a7acff437ef9f3327c42955385 100644 (file)
--- a/TODO
+++ b/TODO
@@ -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
 
index 2f88e815e440ea41ff8799f6384590084a6de097..0105253dcb87b5b0af262b27e932c14b2b4ddff0 100644 (file)
                        $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 = "&nbsp;";
                        }
diff --git a/button.png b/button.png
deleted file mode 100644 (file)
index 161606e..0000000
Binary files a/button.png and /dev/null differ
index 4dafe4578958f1a7832decde3bc9da9019af26e0..0d668eda65e690d311a05a6de64ba3e6ea4e99af 100644 (file)
@@ -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);
                                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/header.png b/header.png
deleted file mode 100644 (file)
index 7ccdf79..0000000
Binary files a/header.png and /dev/null differ
diff --git a/header_rev.png b/header_rev.png
deleted file mode 100644 (file)
index a20427d..0000000
Binary files a/header_rev.png and /dev/null differ
diff --git a/images/button.png b/images/button.png
new file mode 100644 (file)
index 0000000..161606e
Binary files /dev/null and b/images/button.png differ
diff --git a/images/header.png b/images/header.png
new file mode 100644 (file)
index 0000000..7ccdf79
Binary files /dev/null and b/images/header.png differ
diff --git a/images/header_rev.png b/images/header_rev.png
new file mode 100644 (file)
index 0000000..a20427d
Binary files /dev/null and b/images/header_rev.png differ
diff --git a/images/updated.png b/images/updated.png
new file mode 100644 (file)
index 0000000..6958924
Binary files /dev/null and b/images/updated.png differ
index d5f88276b7d51f5ec73ca0e25db55268081284cf..9e7d9eb92374ed8c3a4d258de4c44a7d5f779e03 100644 (file)
@@ -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;
diff --git a/updated.png b/updated.png
deleted file mode 100644 (file)
index 6958924..0000000
Binary files a/updated.png and /dev/null differ