diff --git a/main/social/skills_ranking.php b/main/social/skills_ranking.php index 0ef41311de..5e8dcc4abb 100755 --- a/main/social/skills_ranking.php +++ b/main/social/skills_ranking.php @@ -1,5 +1,6 @@ @@ -20,20 +21,56 @@ $url = api_get_path(WEB_AJAX_PATH).'model.ajax.php?a=get_user_skill_ranking'; //The order is important you need to check the the $column variable in the model.ajax.php file $columns = array( get_lang('Photo'), - get_lang('Firstname'), - get_lang('Lastname'), + get_lang('FirstName'), + get_lang('LastName'), get_lang('SkillsAcquired'), get_lang('CurrentlyLearning'), get_lang('Rank') ); $column_model = array( - array('name'=>'photo', 'index'=>'photo', 'width'=>'10', 'align'=>'center', 'sortable' => 'false'), - array('name'=>'firstname', 'index'=>'firstname', 'width'=>'70', 'align'=>'left', 'sortable' => 'false'), - array('name'=>'lastname', 'index'=>'lastname', 'width'=>'70', 'align'=>'left', 'sortable' => 'false'), - array('name'=>'skills_acquired', 'index'=>'skills_acquired', 'width'=>'30 ', 'align'=>'left', 'sortable' => 'false'), - array('name'=>'currently_learning', 'index'=>'currently_learning', 'width'=>'30', 'align'=>'left', 'sortable' => 'false'), - array('name'=>'rank', 'index'=>'rank', 'width'=>'30', 'align'=>'left', 'sortable' => 'false') + array( + 'name' => 'photo', + 'index' => 'photo', + 'width' => '10', + 'align' => 'center', + 'sortable' => 'false', + ), + array( + 'name' => 'firstname', + 'index' => 'firstname', + 'width' => '70', + 'align' => 'left', + 'sortable' => 'false', + ), + array( + 'name' => 'lastname', + 'index' => 'lastname', + 'width' => '70', + 'align' => 'left', + 'sortable' => 'false', + ), + array( + 'name' => 'skills_acquired', + 'index' => 'skills_acquired', + 'width' => '30 ', + 'align' => 'left', + 'sortable' => 'false', + ), + array( + 'name' => 'currently_learning', + 'index' => 'currently_learning', + 'width' => '30', + 'align' => 'left', + 'sortable' => 'false', + ), + array( + 'name' => 'rank', + 'index' => 'rank', + 'width' => '30', + 'align' => 'left', + 'sortable' => 'false', + ), ); //Autowidth @@ -58,9 +95,6 @@ $jqgrid = Display::grid_js( $content = Display::grid_html('skill_ranking'); $tpl = new Template(get_lang('Ranking')); - -//$tpl->assign('actions', $actions); -//$tpl->assign('message', $message); $tpl->assign('jqgrid_html', $jqgrid); $content .= $tpl->fetch('default/skill/skill_ranking.tpl'); $tpl->assign('content', $content);