// right part
+ $error_class = $error ? "error" : "";
+
$reply .= "<span class='r'>";
$reply .= "<span id='selected_prompt'></span>";
- $reply .= "<span id='feed_title'>";
+ $reply .= "<span id='feed_title' class='$error_class'>";
if ($feed_site_url) {
$last_updated = T_sprintf("Last updated: %s",
$last_error = $this->dbh->fetch_result($result, 0, "last_error");
if ($last_error) {
- print " <span title=\"".htmlspecialchars($last_error)."\"
- class=\"feed_error\">(error)</span>";
+ print " <img src=\"images/error.png\" alt=\"(error)\"
+ style=\"vertical-align : middle\"
+ title=\"".htmlspecialchars($last_error)."\">";
}
padding : 5px;
}
-span.feed_error {
- color : red;
-}
-
.insensitive {
color : #555;
}
text-align : right;
}
-div#headlines-toolbar span.r span.error {
+#headlines-toolbar span.r .error a {
color : red;
-}
+}
div#headlines-toolbar span.r a {
color : #555;