From 37f10614e4db7d0dec0afd41729172eefefb2785 Mon Sep 17 00:00:00 2001 From: Arthur Portugal Date: Thu, 29 Oct 2009 12:48:37 -0500 Subject: [PATCH] Fixed reset search in the sort headers into wiki search DT#5496 --- main/wiki/wiki.inc.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/main/wiki/wiki.inc.php b/main/wiki/wiki.inc.php index e71704287b..07e20e90d3 100644 --- a/main/wiki/wiki.inc.php +++ b/main/wiki/wiki.inc.php @@ -1983,8 +1983,7 @@ function display_wiki_search_results($search_term, $search_content=0) if (Database::num_rows($result) > 0) { $row = array (); - while ($obj = Database::fetch_object($result)) - { + while ($obj = Database::fetch_object($result)) { //get author $userinfo=Database::get_user_info_from_id($obj->user_id); @@ -2028,11 +2027,11 @@ function display_wiki_search_results($search_term, $search_content=0) $table = new SortableTableFromArrayConfig($rows,1,10,'SearchPages_table','','','ASC'); $table->set_additional_parameters(array('cidReq' =>$_GET['cidReq'],'action'=>$_GET['action'],'group_id'=>Security::remove_XSS($_GET['group_id']))); - $table->set_header(0,get_lang('Type'), true, array ('style' => 'width:30px;')); - $table->set_header(1,get_lang('Title'), true); - $table->set_header(2,get_lang('Author').' ('.get_lang('LastVersion').')', true); - $table->set_header(3,get_lang('Date').' ('.get_lang('LastVersion').')', true); - $table->set_header(4,get_lang('Actions'), true, array ('style' => 'width:100px;')); + $table->set_header(0,get_lang('Type'), false, array ('style' => 'width:30px;')); + $table->set_header(1,get_lang('Title'), false); + $table->set_header(2,get_lang('Author').' ('.get_lang('LastVersion').')', false); + $table->set_header(3,get_lang('Date').' ('.get_lang('LastVersion').')', false); + $table->set_header(4,get_lang('Actions'), false, array ('style' => 'width:100px;')); $table->display(); }