* * 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();
* 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"; /* * Display right top shortcuts menu */ right_top_shortcuts_display(); $p = new PageGenerator(_T("Browse files", 'backuppc') . ' (' . $_GET['cn'] . ')'); $p->setSideMenu($sidemenu); $p->display(); require_once "modules/backuppc/includes/xmlrpc.php"; $params = array('host' => $_GET['host'], 'sharename' => $_GET['sharename'], 'backupnum' => $_GET['backupnum']); $ajax = new AjaxFilterLocation(urlStrRedirect("backuppc/backuppc/ajaxBrowseFiles"), 'container', 'location', $params); $ajax->display(); echo "<br/><br/>"; $ajax->displayDivToUpdate(); // Downloaded files table include "modules/backuppc/backuppc/ajaxDownloadsTable.php"; ?> <div id="restoreDiv"></div> <script type="text/javascript"> function BrowseDir(dir) { jQuery('#<?php echo $ajax->divid; ?> ').load('<?php
* 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>
} if (isset($_GET['groupname'])) { $param['groupname'] = urlencode($_GET['groupname']); } //if (isset($_GET['request'])) { $param['request'] = $_SESSION['request'];} /* if (isset($_GET['request'])) { $_SESSION['request'] = $_GET['request']; } */ if (isset($_GET['equ_bool'])) { $param['equ_bool'] = urlencode($_GET['equ_bool']); } if (isset($_GET['imaging_server'])) { $param['imaging_server'] = urlencode($_GET['imaging_server']); } if (displayLocalisationBar() && (isset($_GET['imaging_server']) && $_GET['imaging_server'] == '' || !isset($_GET['imaging_server']))) { $ajax = new AjaxFilterLocation(urlStrRedirect("base/computers/ajaxComputersList"), "container", 'location', $param); list($list, $values) = getEntitiesSelectableElements(True); $ajax->setElements($list); $ajax->setElementsVal($values); if (!empty($param['gid'])) { if (!empty($_SESSION["computers.selected_location." . $param['gid']])) { $ajax->setSelected($_SESSION["computers.selected_location." . $param['gid']]); } } else { if (!empty($_SESSION["computers.selected_location"])) { $ajax->setSelected($_SESSION["computers.selected_location"]); } } } else { $ajax = new AjaxFilter(urlStrRedirect("base/computers/ajaxComputersList"), "container", $param); }
* 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 "localSidebar.php"; $p = new PageGenerator(_T("Pending packages list", 'pkgs')); $p->setSideMenu($sidemenu); $p->display(); require_once "modules/pkgs/includes/xmlrpc.php"; $ajax = new AjaxFilterLocation(urlStrRedirect("pkgs/pkgs/ajaxPendingPackageList")); $res = getUserPackageApi(); $list = array(); if (!isset($_SESSION['PACKAGEAPI'])) { $_SESSION['PACKAGEAPI'] = array(); } foreach ($res as $mirror) { $list_val[$mirror['uuid']] = base64_encode($mirror['uuid']); $list[$mirror['uuid']] = $mirror['mountpoint']; $_SESSION['PACKAGEAPI'][$mirror['uuid']] = $mirror; } if (isset($_GET['location'])) { $ajax->setSelected($list_val[base64_decode($_GET['location'])]); } $ajax->setElements($list); $ajax->setElementsVal($list_val);
$f->add( new TrFormElement(_T('Minimum file size','backuppc'), new InputTpl('minsize')), array("value" => isset($_POST['minsize'])?$_POST['minsize']:'',"required" => True) ); $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() {