$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 = " ";
}
$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);
}
}
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;
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;
}
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 {
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;
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;