show p.error when there are no results.

darcs-hash:20080709215632-84dde-fc2270bcebc64e3a616e681868f44bff26f7540e.gz
This commit is contained in:
Evan Prodromou 2008-07-09 17:56:32 -04:00
parent 0ec918604a
commit 9b50dcc384

View 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,