diff options
author | Andrew Dolgov <[email protected]> | 2005-11-23 18:06:51 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-23 18:06:51 +0100 |
commit | 8037c61860aa118aae921d71ad575b354e0ae9c4 (patch) | |
tree | 00e3381f86c59eb0cc4f872eb8cd4c0e357263e1 | |
parent | 0d43617929c644c90c7c795475b48ea582803fd9 (diff) |
"no tags/feeds for display" split in two messages
-rw-r--r-- | backend.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/backend.php b/backend.php index df4abeff5..1a267805a 100644 --- a/backend.php +++ b/backend.php @@ -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>"; |