'col0', 'index' => 'col0', 'width' => '70', 'align' => 'left', 'sortable' => 'false', ], [ 'name' => 'col1', 'index' => 'col1', 'width' => '50', 'align' => 'left', 'sortable' => 'false', ], [ 'name' => 'col2', 'index' => 'col2', 'width' => '200', 'align' => 'left', 'sortable' => 'false', ], [ 'name' => 'col3', 'index' => 'col3', 'width' => '50', 'align' => 'left', 'sortable' => 'false', 'hidden' => 'true', ], [ 'name' => 'col4', 'index' => 'col4', 'width' => '50', 'align' => 'left', 'sortable' => 'false', 'hidden' => 'true', ], [ 'name' => 'col5', 'index' => 'col5', 'width' => '50', 'align' => 'left', 'sortable' => 'false', ], [ 'name' => 'col6', 'index' => '6', 'width' => '50', 'align' => 'left', 'sortable' => 'false', ], [ 'name' => 'col7', 'index' => '7', 'width' => '50', 'align' => 'left', ], ]; // Autowidth $extra_params['autowidth'] = 'true'; // height auto $extra_params['height'] = 'auto'; // Order by date $extra_params['sortorder'] = 'desc'; $extra_params['sortname'] = 'col7'; $actionLinks = ''; // Add the JS needed to use the jqgrid $htmlHeadXtra[] = api_get_jqgrid_js(); $htmlHeadXtra[] = ' '; Display::display_header(); echo '
'; echo TrackingCourseLog::actionsLeft('logs', api_get_session_id()); echo '
'; $form = new FormValidator( 'search_simple', 'get', api_get_self().'?'.api_get_cidreq(), '', [], FormValidator::LAYOUT_INLINE ); $form->addHidden('report', 'activities'); $form->addHidden('activities_direction', 'DESC'); $form->addElement('text', 'keyword', get_lang('Keyword')); $form->addButtonSearch(get_lang('Search'), 'submit'); echo '
'; $form->display(); echo '
'; echo Display::grid_html('course_log_events'); Display::display_footer();