|
|
@ -108,7 +108,7 @@ switch ($action) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$sessionHeader = Display::page_header( |
|
|
|
$sessionHeader = Display::page_header( |
|
|
|
Display::return_icon('session.png', get_lang('Session')).' '.$sessionInfo['name'] |
|
|
|
Display::return_icon('session.png', get_lang('Session')).' '.$sessionInfo['name'],null, 'h3' |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
$url = Display::url( |
|
|
|
$url = Display::url( |
|
|
@ -121,6 +121,7 @@ $generalCoach = api_get_user_info($sessionInfo['id_coach']); |
|
|
|
|
|
|
|
|
|
|
|
$sessionField = new ExtraField('session'); |
|
|
|
$sessionField = new ExtraField('session'); |
|
|
|
$extraFieldData = $sessionField->getDataAndFormattedValues($sessionId); |
|
|
|
$extraFieldData = $sessionField->getDataAndFormattedValues($sessionId); |
|
|
|
|
|
|
|
|
|
|
|
$multiple_url_is_on = api_get_multiple_access_url(); |
|
|
|
$multiple_url_is_on = api_get_multiple_access_url(); |
|
|
|
$url_list = []; |
|
|
|
$url_list = []; |
|
|
|
if ($multiple_url_is_on) { |
|
|
|
if ($multiple_url_is_on) { |
|
|
@ -133,7 +134,7 @@ $url = Display::url( |
|
|
|
); |
|
|
|
); |
|
|
|
$courseListToShow = Display::page_subheader(get_lang('CourseList').$url); |
|
|
|
$courseListToShow = Display::page_subheader(get_lang('CourseList').$url); |
|
|
|
|
|
|
|
|
|
|
|
$courseListToShow .= '<table class="data_table"> |
|
|
|
$courseListToShow .= '<table id="session-list-course" class="data_table"> |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<th width="35%">'.get_lang('CourseTitle').'</th> |
|
|
|
<th width="35%">'.get_lang('CourseTitle').'</th> |
|
|
|
<th width="30%">'.get_lang('CourseCoach').'</th> |
|
|
|
<th width="30%">'.get_lang('CourseCoach').'</th> |
|
|
@ -268,7 +269,7 @@ $userListToShow = Display::page_subheader(get_lang('UserList').$url); |
|
|
|
$userList = SessionManager::get_users_by_session($sessionId); |
|
|
|
$userList = SessionManager::get_users_by_session($sessionId); |
|
|
|
|
|
|
|
|
|
|
|
if (!empty($userList)) { |
|
|
|
if (!empty($userList)) { |
|
|
|
$table = new HTML_Table(array('class' => 'data_table')); |
|
|
|
$table = new HTML_Table(array('class' => 'data_table','id'=>'session-user-list')); |
|
|
|
|
|
|
|
|
|
|
|
$table->setHeaderContents(0, 0, get_lang('User')); |
|
|
|
$table->setHeaderContents(0, 0, get_lang('User')); |
|
|
|
$table->setHeaderContents(0, 1, get_lang('Status')); |
|
|
|
$table->setHeaderContents(0, 1, get_lang('Status')); |
|
|
|