Subversion Repositories c2i-annu

Compare Revisions

Ignore whitespace Rev 42 → Rev 43

/web/index.php
9,6 → 9,7
require_once('include/admin.inc.php');
require_once('include/sadmin.inc.php');
require_once('include/schools.inc.php');
require_once('include/pupil.inc.php');
 
global $c2i_ldap;
global $smarty;
34,7 → 35,7
admin_init_menu();
break;
case 'pupil' :
pupils_init_menu();
pupil_init_menu();
break;
}
 
54,6 → 55,8
*/
 
case 'logout' :
session_unset();
session_destroy();
header("Location: https://disconnect:true@c2i1.ac-grenoble.fr/c2i-annu/logout/logout.html");
break;
 
351,6 → 354,22
}
break;
 
case 'pupil' :
switch ($action) {
case 'infos':
pupil_infos();
break;
case 'validation':
pupil_validation();
break;
case 'process_validation':
pupil_process_validation();
break;
}
break;
 
 
default :
sadmin_welcome();
break;