Skip to content

Commit

Permalink
Manage mib* tables. See release fusioninventory#47
Browse files Browse the repository at this point in the history
rename glpi_plugin_fusioninventory_mib_networking table to glpi_plugin_fusioninventory_mib
rename glpi_dropdown_plugin_fusioninventory_mib_label table to glpi_plugin_fusioninventory_mib_label
rename glpi_dropdown_plugin_fusioninventory_mib_object table to glpi_plugin_fusioninventory_mib_object
rename glpi_dropdown_plugin_fusioninventory_mib_oid table to glpi_plugin_fusioninventory_mib_oid
rename PluginFusionInventoryMibNetworking class to PluginFusioninventoryMib
rename mibnetworking.class.php file to mib.class.php
create PluginFusioninventoryMib_Label class in inc/mib_label.class.php file
create PluginFusioninventoryMib_Object class in inc/mib_object.class.php file
create PluginFusioninventoryMib_Oid class dans in inc/mib_oid.class.php file
create ajax/mib_label.tabs.php file
create ajax/mib_object.tabs.php file
create ajax/mib_oid.tabs.php file
create front/mib_label.form.php file
create front/mib_object.form.php file
create front/mib_oid.form.php file
create front/mib_label.php file
create front/mib_object.php file
create front/mib_oid.php file
  • Loading branch information
Vincent MAZZONI committed Apr 27, 2010
1 parent fed5a1d commit f35dc68
Show file tree
Hide file tree
Showing 21 changed files with 606 additions and 51 deletions.
45 changes: 45 additions & 0 deletions ajax/mib_label.tabs.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
/*
* @version $Id:$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2010 by the INDEPNET Development Team.
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, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--------------------------------------------------------------------------
*/

// ----------------------------------------------------------------------
// Original Author of file: Vincent MAZZONI
// Purpose of file:
// ----------------------------------------------------------------------


define('GLPI_ROOT', '../../..');
include (GLPI_ROOT . "/inc/includes.php");

Plugin::load('fusioninventory',true);

$dropdown = new PluginFusioninventoryMib_Label();
include (GLPI_ROOT . "/ajax/dropdown.common.tabs.php");

?>
45 changes: 45 additions & 0 deletions ajax/mib_object.tabs.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
/*
* @version $Id:$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2010 by the INDEPNET Development Team.
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, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--------------------------------------------------------------------------
*/

// ----------------------------------------------------------------------
// Original Author of file: Vincent MAZZONI
// Purpose of file:
// ----------------------------------------------------------------------


define('GLPI_ROOT', '../../..');
include (GLPI_ROOT . "/inc/includes.php");

Plugin::load('fusioninventory',true);

$dropdown = new PluginFusioninventoryMib_Object();
include (GLPI_ROOT . "/ajax/dropdown.common.tabs.php");

?>
45 changes: 45 additions & 0 deletions ajax/mib_oid.tabs.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
/*
* @version $Id:$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2010 by the INDEPNET Development Team.
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, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--------------------------------------------------------------------------
*/

// ----------------------------------------------------------------------
// Original Author of file: Vincent MAZZONI
// Purpose of file:
// ----------------------------------------------------------------------


define('GLPI_ROOT', '../../..');
include (GLPI_ROOT . "/inc/includes.php");

Plugin::load('fusioninventory',true);

$dropdown = new PluginFusioninventoryMib_Oid();
include (GLPI_ROOT . "/ajax/dropdown.common.tabs.php");

?>
44 changes: 44 additions & 0 deletions front/mib_label.form.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php
/*
* @version $Id:$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2010 by the INDEPNET Development Team.
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, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--------------------------------------------------------------------------
*/

// ----------------------------------------------------------------------
// Original Author of file: Vincent MAZZONI
// Purpose of file:
// ----------------------------------------------------------------------


define('GLPI_ROOT', '../../..');
include (GLPI_ROOT . "/inc/includes.php");

Plugin::load('fusioninventory',true);

$dropdown = new PluginFusioninventoryMib_Label();
include (GLPI_ROOT . "/front/dropdown.common.form.php");
?>
44 changes: 44 additions & 0 deletions front/mib_label.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php
/*
* @version $Id:$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2010 by the INDEPNET Development Team.
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, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--------------------------------------------------------------------------
*/

// ----------------------------------------------------------------------
// Original Author of file: Vincent MAZZONI
// Purpose of file:
// ----------------------------------------------------------------------


define('GLPI_ROOT', '../../..');
include (GLPI_ROOT . "/inc/includes.php");

Plugin::load('fusioninventory',true);

$dropdown = new PluginFusioninventoryMib_Label();
include (GLPI_ROOT . "/front/dropdown.common.php");
?>
44 changes: 44 additions & 0 deletions front/mib_object.form.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php
/*
* @version $Id:$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2010 by the INDEPNET Development Team.
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, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--------------------------------------------------------------------------
*/

// ----------------------------------------------------------------------
// Original Author of file: Vincent MAZZONI
// Purpose of file:
// ----------------------------------------------------------------------


define('GLPI_ROOT', '../../..');
include (GLPI_ROOT . "/inc/includes.php");

Plugin::load('fusioninventory',true);

$dropdown = new PluginFusioninventoryMib_Object();
include (GLPI_ROOT . "/front/dropdown.common.form.php");
?>
44 changes: 44 additions & 0 deletions front/mib_object.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php
/*
* @version $Id:$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2010 by the INDEPNET Development Team.
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, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--------------------------------------------------------------------------
*/

// ----------------------------------------------------------------------
// Original Author of file: Vincent MAZZONI
// Purpose of file:
// ----------------------------------------------------------------------


define('GLPI_ROOT', '../../..');
include (GLPI_ROOT . "/inc/includes.php");

Plugin::load('fusioninventory',true);

$dropdown = new PluginFusioninventoryMib_Object();
include (GLPI_ROOT . "/front/dropdown.common.php");
?>
44 changes: 44 additions & 0 deletions front/mib_oid.form.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php
/*
* @version $Id:$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2010 by the INDEPNET Development Team.
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, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--------------------------------------------------------------------------
*/

// ----------------------------------------------------------------------
// Original Author of file: Vincent MAZZONI
// Purpose of file:
// ----------------------------------------------------------------------


define('GLPI_ROOT', '../../..');
include (GLPI_ROOT . "/inc/includes.php");

Plugin::load('fusioninventory',true);

$dropdown = new PluginFusioninventoryMib_Oid();
include (GLPI_ROOT . "/front/dropdown.common.form.php");
?>
Loading

0 comments on commit f35dc68

Please sign in to comment.