* * MMC 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. * * MMC 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 MMC; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ require "modules/base/computers/localSidebar.php"; require "graph/navbar.inc.php"; $p = new PageGenerator(_T("Entity list", 'glpi')); $p->setSideMenu($sidemenu); $p->display(); $ajax = new AjaxFilterLocation(urlStrRedirect("base/computers/ajaxEntityList"), "container", "status", $params); $ajax->setElements(array(_T('All entities', 'glpi'))); $ajax->setElementsVal(array('0')); $ajax->display(); echo "<br/><br/>"; $ajax->displayDivToUpdate(); ?> <script type="text/javascript"> jQuery('.searchfield').first().hide() </script>
* (c) 2007 Mandriva, http://www.mandriva.com * * $Id$ * * This file is part of Mandriva Management Console (MMC). * * MMC 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. * * MMC 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 MMC; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ require "modules/base/computers/localSidebar.php"; require "graph/navbar.inc.php"; $p = new PageGenerator(_T("Entity rules", 'inventory')); $p->setSideMenu($sidemenu); $p->display(); $ajax = new AjaxFilterLocation(urlStrRedirect("base/computers/ajaxEntityRules"), "container", "status", $params); $ajax->setElements(array(_T('All rules', 'inventory'))); $ajax->setElementsVal(array('0')); $ajax->display(); echo "<br/><br/>"; $ajax->displayDivToUpdate();
* MMC 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. * * MMC 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 MMC; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ require_once "modules/update/includes/xmlrpc.inc.php"; require_once "modules/update/includes/html.inc.php"; $MMCApp =& MMCApp::getInstance(); include dirname(__FILE__) . '/sidebar.php'; $p = new PageGenerator(_T("Update manager", 'update')); $p->setSideMenu($sidemenu); $p->display(); $params = array(); if (isset($_GET["os_class_id"])) { $params['os_class_id'] = $_GET["os_class_id"]; } $ajax = new AjaxFilterLocation(urlStrRedirect("update/update/ajaxUpdates"), "container", "status", $params); $ajax->setElements(array(_T('Available', 'update'), _T('Enabled', 'update'), _T('Disabled', 'update'))); $ajax->setElementsVal(array('0', '1', '2')); $ajax->display(); echo "<br/><br/>"; $ajax->displayDivToUpdate();
* (c) 2007 Mandriva, http://www.mandriva.com * * $Id$ * * This file is part of Mandriva Management Console (MMC). * * MMC 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. * * MMC 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 MMC; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ require "graph/navbar.inc.php"; require "modules/base/computers/localSidebar.php"; $p = new PageGenerator(_T("Entity list", 'inventory')); $p->setSideMenu($sidemenu); $p->display(); $ajax = new AjaxFilterLocation(urlStrRedirect("base/computers/ajaxEntityList"), "container", "status"); $ajax->setElements(array(_T('All entities', 'inventory'))); $ajax->setElementsVal(array('0')); $ajax->display(); echo "<br/><br/>"; $ajax->displayDivToUpdate();
* GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with MMC; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ require "graph/navbar.inc.php"; require "localSidebar.php"; require_once "modules/backuppc/includes/xmlrpc.php"; require_once "modules/pulse2/includes/utilities.php"; // Unset backup for selected host if (isset($_GET['objectUUID'])) { unset_backup_for_host($_GET['objectUUID']); if (!isXMLRPCError()) { new NotifyWidgetSuccess(_("The computer has been removed from the backup system.")); } } $p = new PageGenerator(_T("Backup status", 'backuppc')); $p->setSideMenu($sidemenu); $p->display(); /*if (displayLocalisationBar()) { $location = getCurrentLocation();*/ $ajax = new AjaxFilterLocation(urlStrRedirect("backuppc/backuppc/ajaxBackupStatus")); list($list, $values) = getEntitiesSelectableElements(); $ajax->setElements($list); $ajax->setElementsVal($values); $ajax->display(); echo "<br/><br/>"; $ajax->displayDivToUpdate(); ?> <script>jQuery('#location option[value="UUID1"]').prop('selected', true);</script>
* * MMC 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. * * MMC 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 MMC; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ require "modules/base/computers/localSidebar.php"; require "graph/navbar.inc.php"; $p = new PageGenerator(_T("Entity rules", 'glpi')); $p->setSideMenu($sidemenu); $p->display(); $ajax = new AjaxFilterLocation(urlStrRedirect("base/computers/ajaxEntityRules"), "container", "status", $params); $ajax->setElements(array(_T('All rules', 'glpi'))); $ajax->setElementsVal(array('0')); $ajax->display(); echo "<br/><br/>"; $ajax->displayDivToUpdate(); ?> <script type="text/javascript"> jQuery('.searchfield').first().hide() </script>
); $f->add( new TrFormElement(_T('Maximum file size','backuppc'), new InputTpl('maxsize')), array("value" => isset($_POST['maxsize'])?$_POST['maxsize']:'',"required" => True) ); */ // ===================================================================== $f->pop(); $f->addButton("bsearch", _T('Search', 'backuppc')); $f->display(); // ===== AJAX FILE TABLE ============================================== $ajax = new AjaxFilterLocation(urlStrRedirect("backuppc/backuppc/ajaxFileSearch"), 'container', 'location', $_POST); $fils = array('.'); $fils_v = array('.'); $ajax->setElements($fils); $ajax->setElementsVal($fils_v); $ajax->display(); echo "<br/><br/>"; $ajax->displayDivToUpdate(); ?> <script type="text/javascript"> jQuery(function() { // File size selection jQuery('select#filesize').change(function() { switch (jQuery('select#filesize').val()) { case "1": // Less than 1Mb jQuery('input[name=minsize]').val(-1);
* * MMC 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. * * MMC 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 MMC; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ require "modules/base/computers/localSidebar.php"; require "graph/navbar.inc.php"; $p = new PageGenerator(_T("Location list", 'glpi')); $p->setSideMenu($sidemenu); $p->display(); $ajax = new AjaxFilterLocation(urlStrRedirect("base/computers/ajaxLocationList"), "container", "status", $params); $ajax->setElements(array(_T('All locations', 'glpi'))); $ajax->setElementsVal(array('0')); $ajax->display(); echo "<br/><br/>"; $ajax->displayDivToUpdate(); ?> <script type="text/javascript"> jQuery('.searchfield').first().hide() </script>