You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
738 B
40 lines
738 B
<?php //$id: $
|
|
/**
|
|
* Script that displays a blank page (with later a message saying why)
|
|
* @package dokeos.learnpath
|
|
* @author Yannick Warnier <ywarnier@beeznest.org>
|
|
*/
|
|
/**
|
|
* Script
|
|
*/
|
|
|
|
|
|
$language_file[] = "learnpath";
|
|
|
|
//flag to allow for anonymous user - needs to be set before global.inc.php
|
|
$use_anonymous = true;
|
|
|
|
require('../inc/global.inc.php');
|
|
include_once('../inc/reduced_header.inc.php');
|
|
|
|
?>
|
|
|
|
<body>
|
|
|
|
<?php
|
|
|
|
switch($_GET['error']){
|
|
case 'document_deleted':
|
|
Display::display_error_message(get_lang('DocumentHasBeenDeleted'));
|
|
break;
|
|
case 'prerequisites':
|
|
Display::display_normal_message(get_lang('_prereq_not_complete'));
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
|
|
?>
|
|
|
|
</body>
|
|
</html>
|