<?php # # Copyright(C) 2004-2007 INL # Written by Eric Leblond <regit@inl.fr> # Vincent Deffontaines <gryzor@inl.fr> # Jean Gillaux <jean@inl.fr> # Damien Boucard <damien.boucard AT inl.fr> # # $Id: l7rules.php 17927 2009-02-16 13:16:09Z haypo $ # # This program 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, version 3 of the License. # # This program 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 this program; if not, see <http://www.gnu.org/licenses/>. # # $title="l7rules"; $singtitle="l7rule"; require_once ("include/subpage.php"); # FIXME: Use this in operationAdd()? $new_dfltprefix=getHttp('defaultprefix'); $l7rules=&$expolicy->l7rules; $ress = &$l7rules->list_tab(); chooseOperation($l7rules, $ress, 'l7rule', 'l7rule', getHttp('new_l7rule')); initRuleset(); initFloatingElts(); $l7rules=&$expolicy->l7rules; searchAll($l7rules, 'displayL7Attr'); editContent(_('Layer7'), $l7rules, $ress, $elt, $sub_elt, null, Array('defaultaction','defaultprefix')); updateHistoryWrapper($title, $elt, $l7rules); require_once ("include/footer.php"); ?>