root/tags/module-NagiosStatusMap3D-1.1/statusmap3DOpt.php

Revision 3011, 1.5 kB (checked in by jmathis, 17 months ago)

menage d'automne !:)

Line 
1<?
2/**
3Oreon is developped with GPL Licence 2.0 :
4http://www.gnu.org/licenses/gpl.txt
5Developped by : Christophe Coraboeuf
6
7Adapted to Pear library by Merethis company, under direction of Cedrick Facon, Romain Le Merlus, Julien Mathis
8
9The Software is provided to you AS IS and WITH ALL FAULTS.
10OREON makes no representation and gives no warranty whatsoever,
11whether express or implied, and without limitation, with regard to the quality,
12safety, contents, performance, merchantability, non-infringement or suitability for
13any particular or intended purpose of the Software found on the OREON web site.
14In no event will OREON be liable for any direct, indirect, punitive, special,
15incidental or consequential damages however they may arise and even if OREON has
16been previously advised of the possibility of such damages.
17
18For information : contact@oreon-project.org
19*/
20        if (!isset ($oreon))
21                exit ();
22       
23        //isset($_GET["gopt_id"]) ? $cG = $_GET["gopt_id"] : $cG = NULL;
24        //isset($_POST["lca_id"]) ? $cP = $_POST["gopt_id"] : $cP = NULL;
25//      $cG ? $gopt_id = $cG : $gopt_id = $cP;
26               
27        require_once "HTML/QuickForm.php";
28        require_once 'HTML/QuickForm/advmultiselect.php';
29        require_once 'HTML/QuickForm/Renderer/ArraySmarty.php';
30       
31        #Path to the configuration dir
32        global $path;
33        $path = "./modules/statusmap3D/";
34
35        #PHP functions
36        require_once $path."DB-Func.php";       
37
38        switch ($o)     {
39                case "w" : require_once($path."formStatusmap3D.php"); break;
40                default : require_once($path."formStatusmap3D.php"); break;
41        }
42?>
Note: See TracBrowser for help on using the browser.