"no tags/feeds for display" split in two messages

This commit is contained in:
Andrew Dolgov 2005-11-23 18:06:51 +01:00
parent 0d43617929
commit 8037c61860

View file

@ -356,7 +356,12 @@
}
if (db_num_rows($result) == 0) {
print "<li>No tags/feeds to display.</li>";
if ($tags) {
$what = "tags";
} else {
$what = "feeds";
}
print "<li>No $what to display.</li>";
}
print "</ul>";