Пример #1
0
http://indepnet.net/   http://glpi-project.org
-------------------------------------------------------------------------

LICENSE

This file is part of GLPI.

GLPI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

GLPI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
// ----------------------------------------------------------------------
// Original Author of file: Damien Touraine
// Purpose of file:
// ----------------------------------------------------------------------
include "../../../inc/includes.php";
Html::header("Essai", $_SERVER["PHP_SELF"], "plugins", "canvas", '', PluginMonitoringCanvas::onload());
$pmCanvas = new PluginMonitoringCanvas();
$pmCanvas->show();
Html::footer();
Пример #2
0
     if (isset($_GET['reset'])) {
         unset($_SESSION['glpisearch']['PluginMonitoringService']);
     }
     if (isset($_GET['glpi_tab'])) {
         unset($_GET['glpi_tab']);
     }
     Search::manageGetValues("PluginMonitoringService");
     Search::showGenericSearch("PluginMonitoringService", $_GET);
     $_SESSION['plugin_monitoring']['service'] = $_GET;
     $pmDisplay->showBoard(950);
     if (isset($_SESSION['glpisearch']['PluginMonitoringService']['reset'])) {
         unset($_SESSION['glpisearch']['PluginMonitoringService']['reset']);
     }
     break;
 case 4:
     PluginMonitoringCanvas::onload();
     $pmCanvas = new PluginMonitoringCanvas();
     $pmCanvas->show();
     break;
 default:
     $i = 5;
     foreach ($a_views as $views_id => $name) {
         if ($_REQUEST['glpi_tab'] == $i) {
             if ($_SESSION['plugin_monitoring_displaytab'] != $_POST['glpi_tab']) {
                 echo '<script language="javascript">window.location.reload();</script>';
                 exit;
             }
             $pmDisplayview_item = new PluginMonitoringDisplayview_item();
             $pmDisplayview_item->view($views_id);
         }
         $i++;