<?php require_once "logging-xmlrpc.inc.php"; require_once "includes/auditCodesManager.php"; $auditManager = new AuditCodesManager(); if ($_GET["filtertype"] == "object" or $_GET["filtertype"] == "user") { ?> <img src="graph/search.gif" style="vertical-align: middle;" alt="search" /> <span class="searchfield"><input type="text" class="searchfieldreal" style="width : 100px;" name="param" id="param" onkeyup="pushSearch(); return false;" /> <img src="graph/croix.gif" alt="suppression" style="position:relative; top : 3px;" onclick="document.getElementById('param').value =''; pushSearch(); return false;" /> </span> <?php } else { $lst = array(); if ($_GET["filtertype"] == "action") { $lst = get_action_type(1, 0); } else { if ($_GET["filtertype"] == "type") { $lst = get_action_type(0, 1); } } ?> <select style="width:100px; vertical-align: middle;" name="param" id="param" onChange="pushSearch(); return false;"> <?php foreach ($lst as $key => $item) { print "\t<option value=\"" . $lst[$key] . "\" >" . $auditManager->getCode($item) . "</option>\n"; } ?>
* 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/base/includes/logging-xmlrpc.inc.php"; require "modules/base/includes/AjaxFilterLog.inc.php"; require_once "includes/auditCodesManager.php"; $auditManager = new AuditCodesManager(); global $conf; $maxperpage = $conf["global"]["maxperpage"]; if (isset($_GET["start"])) { $start = $_GET["start"]; } else { $start = 0; } $module = $_GET["page"]; if ($_GET["filtertype"] != NULL && $_GET["filter"] != NULL) { $filter = $_GET["filter"]; $filtertype = $_GET["filtertype"]; } else { $filter = ""; $filtertype = ""; }
* 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 */ if ($__submod == "audit") { require_once "localSidebar.php"; } require "graph/navbar.inc.php"; require_once "modules/base/includes/logging-xmlrpc.inc.php"; require "modules/base/includes/AjaxFilterLog.inc.php"; require_once "includes/auditCodesManager.php"; $auditManager = new AuditCodesManager(); $p = new PageGenerator(); $p->setTitle(_("Event details")); if (isset($_GET["logref"])) { $item = "index" . $_GET["logref"]; } else { $item = "index"; } $sidemenu->forceActiveItem($item); $p->setSideMenu($sidemenu); $p->display(); $log = get_log_by_id($_GET["logid"]); if ($log[0]["commit"]) { $style = "audit_ok"; } else { $style = "audit_nok";