コード例 #1
0
  GNU Affero General Public License for more details.

  You should have received a copy of the GNU Affero General Public License
  along with FusionInventory. If not, see <http://www.gnu.org/licenses/>.

  ------------------------------------------------------------------------

  @package   FusionInventory
  @author    Alexandre Delaunay
  @co-author
  @copyright Copyright (c) 2010-2014 FusionInventory team
  @license   AGPL License 3.0 or (at your option) any later version
             http://www.gnu.org/licenses/agpl-3.0-standalone.html
  @link      http://www.fusioninventory.org/
  @link      http://forge.fusioninventory.org/projects/fusioninventory-for-glpi/
  @since     2014

  ------------------------------------------------------------------------
*/
include "../../../inc/includes.php";
Session::checkLoginUser();
Session::checkRight('plugin_fusioninventory_package', CREATE);
Html::header(__('FusionInventory DEPLOY'), $_SERVER["PHP_SELF"], "plugins", "pluginfusioninventorymenu", "deploypackage");
$package = new PluginFusioninventoryDeployPackage();
if (isset($_POST['importfile'])) {
    $package->importPackage($_POST['importfile']);
    Html::back();
}
PluginFusioninventoryMenu::displayMenu("mini");
$package->listPackagesToImport();
Html::footer();