dokeos-learnpath
[ class tree: dokeos-learnpath ] [ index: dokeos-learnpath ] [ all elements ]

Source for file blank.php

Documentation is available at blank.php

  1. <?php //$id: $
  2. /**
  3.  * Script that displays a blank page (with later a message saying why)
  4.  * @package dokeos.learnpath
  5.  * @author Yannick Warnier <ywarnier@beeznest.org>
  6.  */
  7. /**
  8.  * Script
  9.  */
  10.  
  11.  
  12. $language_file["learnpath";
  13.  
  14. //flag to allow for anonymous user - needs to be set before global.inc.php
  15. $use_anonymous true;
  16.  
  17. require('../inc/global.inc.php');
  18. include_once('../inc/reduced_header.inc.php');
  19.  
  20. ?>
  21.  
  22. <body>
  23.  
  24. <?php
  25.  
  26. switch($_GET['error']){
  27.     case 'document_deleted':
  28.         Display::display_error_message(get_lang('DocumentHasBeenDeleted'));
  29.         break;
  30.     case 'prerequisites':
  31.         Display::display_normal_message(get_lang('_prereq_not_complete'));
  32.         break;
  33.     default:
  34.         break;
  35. }
  36.  
  37. ?>
  38.  
  39. </body>
  40. </html>

Documentation generated on Thu, 12 Jun 2008 13:00:16 -0500 by phpDocumentor 1.4.1