forked from fusioninventory/fusioninventory-for-glpi
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename glpi_dropdown_plugin_fusioninventory_snmp_version table to glp…
…i_plugin_fusioninventory_snmpversions, add PluginFusioninventorySnmpversion class in inc/snmpversion.class.php file and related files. See release fusioninventory#47
- Loading branch information
Vincent MAZZONI
committed
Apr 28, 2010
1 parent
3e0840f
commit f05f81c
Showing
7 changed files
with
196 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 PluginFusioninventorySnmpversion(); | ||
include (GLPI_ROOT . "/ajax/dropdown.common.tabs.php"); | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 PluginFusioninventorySnmpversion(); | ||
include (GLPI_ROOT . "/front/dropdown.common.form.php"); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 PluginFusioninventorySnmpversion(); | ||
include (GLPI_ROOT . "/front/dropdown.common.php"); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?php | ||
/* | ||
* @version $Id$ | ||
---------------------------------------------------------------------- | ||
GLPI - Gestionnaire Libre de Parc Informatique | ||
Copynetwork (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: MAZZONI Vincent | ||
// Purpose of file: | ||
// ---------------------------------------------------------------------- | ||
|
||
if (!defined('GLPI_ROOT')) { | ||
die("Sorry. You can't access directly to this file"); | ||
} | ||
|
||
class PluginFusioninventorySnmpversion extends CommonDropdown { | ||
// From CommonDBTM | ||
public $table = 'glpi_plugin_fusioninventory_snmpversions'; | ||
public $type = 'PluginFusioninventorySnmpversion'; | ||
|
||
static function getTypeName() { | ||
global $LANG; | ||
|
||
return "Plugin Fusioninventory Snmp version"; | ||
} | ||
} | ||
|
||
?> |