linea21-modules
[ class tree: linea21-modules ] [ index: linea21-modules ] [ all elements ]

Source for file index.php

Documentation is available at index.php

  1. <?php
  2. /**
  3.  * @package linea21.modules
  4.  * @subpackage workshoprep
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  *  'Workshoprep' (as Workshop Report) module is used by 'Workshop' modules
  10.  */
  11.  
  12. //////////// Check Inclusion de pages ////////////
  13. if (!function_exists('AuthenthificationProcess')) {
  14.     include_once("../lib/lib_common.php");
  15.     ReloadIndex('admin');
  16. ////////////
  17.  
  18. //////////// Check Droits utilisateur ////////////
  19. if (!HaveRight('workshop')) ReloadIndex('admin');
  20. ////////////
  21.  
  22. include_once('../class/class.workshop_report.php')
  23.  
  24. $todopage=$dir."/";
  25.     switch ($todo
  26.     {
  27.         case 'add':
  28.         $todopage.="add.php";
  29.         break;
  30.         case 'mod':
  31.         $todopage.="mod.php";
  32.         break;
  33.         case 'det':
  34.         $todopage.="det.php";
  35.         break;
  36.         case 'sup':
  37.         $todopage.="sup.php";
  38.         break;        
  39.         default:
  40.         $todopage.="add.php";            
  41.     }
  42. include_once($todopage);    
  43. ?>

Documentation generated on Fri, 16 Oct 2009 09:34:18 +0200 by phpDocumentor 1.4.1