From 7ae167d95b449b00460aa722a41edc480110921a Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 6 Aug 2015 15:54:56 +0200 Subject: [PATCH] Minor - format code. --- main/mySpace/users.php | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/main/mySpace/users.php b/main/mySpace/users.php index 47af4bffaf..ee1a7c58d8 100755 --- a/main/mySpace/users.php +++ b/main/mySpace/users.php @@ -1,12 +1,11 @@ '; +$actions = '
 '; if (api_is_drh()) { $menu_items = array( @@ -254,10 +253,10 @@ if ($export_csv) { $form = new FormValidator('search_user', 'get', api_get_path(WEB_CODE_PATH).'mySpace/users.php'); $form->addElement('select', 'status', get_lang('Status'), array( - '' => '', - STUDENT => get_lang('Student'), - COURSEMANAGER => get_lang('Teacher'), - DRH => get_lang('DRH')) + '' => '', + STUDENT => get_lang('Student'), + COURSEMANAGER => get_lang('Teacher'), + DRH => get_lang('DRH')) ); $form = Tracking::setUserSearchForm($form); $form->setDefaults($params); @@ -274,7 +273,7 @@ if ($export_csv) { Export :: arrayToCsv($csv_content, 'reporting_student_list'); exit; } else { - Display::display_header($nameTools); + Display::display_header(get_lang('Users')); echo $actions; $page_title = get_lang('Users'); echo Display::page_subheader($page_title);