From 8037c61860aa118aae921d71ad575b354e0ae9c4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Nov 2005 18:06:51 +0100 Subject: "no tags/feeds for display" split in two messages --- backend.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 "
  • No tags/feeds to display.
  • "; + if ($tags) { + $what = "tags"; + } else { + $what = "feeds"; + } + print "
  • No $what to display.
  • "; } print ""; -- cgit v1.2.3