From 8037c61860aa118aae921d71ad575b354e0ae9c4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Nov 2005 18:06:51 +0100 Subject: [PATCH] "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 df4abeff..1a267805 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 ""; -- 2.39.5