images moved to subdirectory, updated TODO

This commit is contained in:
Andrew Dolgov 2005-08-25 11:28:54 +01:00
parent 899244ef4d
commit e695fdc83e
8 changed files with 26 additions and 8 deletions

10
TODO
View File

@ -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 - better error handling
- keyboard navigation - keyboard navigation

View File

@ -254,7 +254,7 @@
$class = ($lnum % 2) ? "even" : "odd"; $class = ($lnum % 2) ? "even" : "odd";
if ($line["last_read_ts"] < $line["updated_ts"] && $line["unread"] == "f") { 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 { } else {
$update_pic = "&nbsp;"; $update_pic = "&nbsp;";
} }

View File

@ -35,7 +35,7 @@
$icon_file = ICONS_DIR . "/$feed.ico"; $icon_file = ICONS_DIR . "/$feed.ico";
if (!file_exists($icon_file)) { if (!file_exists($icon_file)) {
error_reporting(0); error_reporting(0);
$r = fopen($icon_url, "r"); $r = fopen($icon_url, "r");
error_reporting (E_ERROR | E_WARNING | E_PARSE); error_reporting (E_ERROR | E_WARNING | E_PARSE);
@ -53,7 +53,11 @@
fclose($r); fclose($r);
fclose($t); fclose($t);
rename($tmpfname, $icon_file); error_reporting(0);
if (!rename($tmpfname, $icon_file)) {
unlink($tmpfname);
}
error_reporting (E_ERROR | E_WARNING | E_PARSE);
} }
} }

View File

Before

Width:  |  Height:  |  Size: 293 B

After

Width:  |  Height:  |  Size: 293 B

View File

Before

Width:  |  Height:  |  Size: 292 B

After

Width:  |  Height:  |  Size: 292 B

View File

Before

Width:  |  Height:  |  Size: 291 B

After

Width:  |  Height:  |  Size: 291 B

View File

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 224 B

View File

@ -116,7 +116,7 @@ table.main td.toolbar {
table.main td.header { table.main td.header {
font-size : 21pt; font-size : 21pt;
background-color : #f0f0f0; background-color : #f0f0f0;
background-image : url("header.png"); background-image : url("images/header.png");
background-position : top left; background-position : top left;
background-repeat : repeat-x; background-repeat : repeat-x;
height : 50px; height : 50px;
@ -177,7 +177,7 @@ table.main td.notify {
text-align : center; text-align : center;
color : gray; color : gray;
background-color : #f0f0f0; background-color : #f0f0f0;
background-image : url("header_rev.png"); background-image : url("images/header_rev.png");
background-position : top left; background-position : top left;
background-repeat : repeat-x; background-repeat : repeat-x;
@ -220,10 +220,14 @@ table.prefAddFeed input {
} }
table.prefAddFeed { table.prefAddFeed {
background : #f0f0f0;
border : 1px solid #c0c0c0; border : 1px solid #c0c0c0;
padding : 10px; padding : 10px;
-moz-border-radius : 5px; -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 { table.prefFeedList tr.title td {
@ -257,7 +261,7 @@ a.disabledButton:hover {
a.button { a.button {
border : 1px solid #d0d0d0; border : 1px solid #d0d0d0;
background-image : url("button.png"); background-image : url("images/button.png");
background-position : top; background-position : top;
background-repeat : repeat-x; background-repeat : repeat-x;
background-color : white; background-color : white;
@ -274,7 +278,7 @@ a.button:hover {
a.buttonWarn { a.buttonWarn {
border : 1px solid #d0d0d0; border : 1px solid #d0d0d0;
background-image : url("button.png"); background-image : url("images/button.png");
background-position : top; background-position : top;
background-repeat : repeat-x; background-repeat : repeat-x;
background-color : white; background-color : white;