|
|
|
@ -7,7 +7,7 @@ include('../inc/global.inc.php'); |
|
|
|
require_once (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'); |
|
|
|
require_once (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'); |
|
|
|
require_once (api_get_path(LIBRARY_PATH).'sessionmanager.lib.php'); |
|
|
|
require_once (api_get_path(LIBRARY_PATH).'sessionmanager.lib.php'); |
|
|
|
|
|
|
|
|
|
|
|
$this_section = SECTION_PLATFORM_ADMIN; |
|
|
|
$this_section = SECTION_PLATFORM_ADMIN; |
|
|
|
api_protect_admin_script(true); |
|
|
|
api_protect_admin_script(true); |
|
|
|
|
|
|
|
|
|
|
|
$htmlHeadXtra[] = '<script language="javascript"> |
|
|
|
$htmlHeadXtra[] = '<script language="javascript"> |
|
|
|
@ -60,7 +60,7 @@ if (isset ($_GET['search']) && $_GET['search'] == 'advanced') { |
|
|
|
$active_group[] = $form->createElement('checkbox','inactive','',get_lang('Inactive')); |
|
|
|
$active_group[] = $form->createElement('checkbox','inactive','',get_lang('Inactive')); |
|
|
|
$form->addGroup($active_group,'',get_lang('ActiveSession'),'<br/>',false); |
|
|
|
$form->addGroup($active_group,'',get_lang('ActiveSession'),'<br/>',false); |
|
|
|
|
|
|
|
|
|
|
|
$form->addElement('style_submit_button', 'submit',get_lang('Search'),'class="search"'); |
|
|
|
$form->addElement('style_submit_button', 'submit',get_lang('Search'),'class="search"'); |
|
|
|
$defaults['active'] = 1; |
|
|
|
$defaults['active'] = 1; |
|
|
|
$defaults['inactive'] = 1; |
|
|
|
$defaults['inactive'] = 1; |
|
|
|
$form->setDefaults($defaults); |
|
|
|
$form->setDefaults($defaults); |
|
|
|
@ -228,7 +228,7 @@ if (isset ($_GET['search']) && $_GET['search'] == 'advanced') { |
|
|
|
<td><?php echo api_htmlentities(api_get_person_name($enreg['firstname'], $enreg['lastname']),ENT_QUOTES,$charset); ?></td>
|
|
|
|
<td><?php echo api_htmlentities(api_get_person_name($enreg['firstname'], $enreg['lastname']),ENT_QUOTES,$charset); ?></td>
|
|
|
|
<td> |
|
|
|
<td> |
|
|
|
<a href="add_users_to_session.php?page=session_list.php&id_session=<?php echo $enreg['id']; ?>"><?php Display::display_icon('add_user_big.gif', get_lang('SubscribeUsersToSession')); ?></a>
|
|
|
|
<a href="add_users_to_session.php?page=session_list.php&id_session=<?php echo $enreg['id']; ?>"><?php Display::display_icon('add_user_big.gif', get_lang('SubscribeUsersToSession')); ?></a>
|
|
|
|
<a href="add_courses_to_session.php?page=session_list.php&id_session=<?php echo $enreg['id']; ?>"><?php Display::display_icon('synthese_view.gif', get_lang('SubscribeCoursesToSession')); ?></a>
|
|
|
|
<a href="add_courses_to_session.php?page=session_list.php&id_session=<?php echo $enreg['id']; ?>"><?php Display::display_icon('course_add.gif', get_lang('SubscribeCoursesToSession')); ?></a>
|
|
|
|
<a href="session_edit.php?page=session_list.php&id=<?php echo $enreg['id']; ?>"><?php Display::display_icon('edit.gif', get_lang('Edit')); ?></a>
|
|
|
|
<a href="session_edit.php?page=session_list.php&id=<?php echo $enreg['id']; ?>"><?php Display::display_icon('edit.gif', get_lang('Edit')); ?></a>
|
|
|
|
<a href="<?php echo api_get_self(); ?>?sort=<?php echo $sort; ?>&action=delete&idChecked=<?php echo $enreg['id']; ?>" onclick="javascript:if(!confirm('<?php echo get_lang('ConfirmYourChoice'); ?>')) return false;"><?php Display::display_icon('delete.gif', get_lang('Delete')); ?></a>
|
|
|
|
<a href="<?php echo api_get_self(); ?>?sort=<?php echo $sort; ?>&action=delete&idChecked=<?php echo $enreg['id']; ?>" onclick="javascript:if(!confirm('<?php echo get_lang('ConfirmYourChoice'); ?>')) return false;"><?php Display::display_icon('delete.gif', get_lang('Delete')); ?></a>
|
|
|
|
</td> |
|
|
|
</td> |
|
|
|
|