We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fa41f5 commit c59b9aaCopy full SHA for c59b9aa
1 file changed
htdocs/devinfo/index.php
@@ -79,11 +79,11 @@
79
print("<ul class=\"rssfeeditems\">\n");
80
foreach ($feed->get_items() as $item) { //for the last timeline items...
81
if ($author = $item->get_author()) {
82
- $author = trim($author->get_name());
+ $author = "by <strong>".trim($author->get_name())."</strong>";
83
} else {
84
- $author = 'anonymous';
+ $author = null;
85
}
86
- print(" <li><a href=\"".$item->get_link()."\">".$item->get_title()."</a> <em>by <strong>".$author."</strong> on ".$item->get_date('Y-m-d')."</em></li>\n");
+ print(" <li><a href=\"".$item->get_link()."\">".$item->get_title()."</a> <em>".$author." on ".$item->get_date('Y-m-d')."</em></li>\n");
87
88
print("</ul>\n");
89
?>
0 commit comments