From: Andrew Dolgov Date: Wed, 23 Nov 2005 17:06:51 +0000 (+0100) Subject: "no tags/feeds for display" split in two messages X-Git-Tag: schema_feature_freeze_for_1.1~115 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8037c61860aa118aae921d71ad575b354e0ae9c4;p=tt-rss.git "no tags/feeds for display" split in two messages --- 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 "";