merge the two List Controls blocks

This commit is contained in:
Shish
2012-08-18 19:23:11 +01:00
parent 6fcdf4717e
commit f3aad43fa3
6 changed files with 22 additions and 13 deletions

View File

@ -103,7 +103,7 @@ class AdminPage extends Extension {
public function onPostListBuilding(PostListBuildingEvent $event) {
global $user;
if($user->can("manage_admintools") && !empty($event->search_terms)) {
$this->theme->display_dbq(implode(" ", $event->search_terms));
$event->add_control($this->theme->dbq_html(implode(" ", $event->search_terms)));
}
}