summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-23 18:06:51 +0100
committerAndrew Dolgov <[email protected]>2005-11-23 18:06:51 +0100
commit8037c61860aa118aae921d71ad575b354e0ae9c4 (patch)
tree00e3381f86c59eb0cc4f872eb8cd4c0e357263e1 /backend.php
parent0d43617929c644c90c7c795475b48ea582803fd9 (diff)
"no tags/feeds for display" split in two messages
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php7
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>";