]> git.wh0rd.org Git - tt-rss.git/commitdiff
"no tags/feeds for display" split in two messages
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 23 Nov 2005 17:06:51 +0000 (18:06 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 23 Nov 2005 17:06:51 +0000 (18:06 +0100)
backend.php

index df4abeff582068c9649d0ceaca21b61240623c8d..1a267805abd3af940aae44d846b5011898664e8c 100644 (file)
                }
 
                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>";