]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
show p.error when there are no results.
authorEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 21:56:32 +0000 (17:56 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 21:56:32 +0000 (17:56 -0400)
darcs-hash:20080709215632-84dde-fc2270bcebc64e3a616e681868f44bff26f7540e.gz

actions/peoplesearch.php

index cf79e52e987e4588c957af37e83f0b196408d78f..8f071e715dd7a86cc565f124a6080bacbf513984 100644 (file)
@@ -90,6 +90,8 @@ class PeoplesearchAction extends Action {
                                }
                        }
                        common_element_end('ul');
+               } else {
+                       common_element('p', 'error', _t('No results'));
                }
                
                common_pagination($page > 1, $cnt > PROFILES_PER_PAGE,