(at your option) any later version. Behaviors 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 Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with Behaviors. If not, see <http://www.gnu.org/licenses/>. @package behaviors @author Remi Collet @copyright Copyright (c) 2010-2013 Behaviors plugin team @license AGPL License 3.0 or (at your option) any later version http://www.gnu.org/licenses/agpl-3.0-standalone.html @link https://forge.indepnet.net/projects/behaviors @link http://www.glpi-project.org/ @since 2010 -------------------------------------------------------------------------- */ include "../../../inc/includes.php"; // No autoload when plugin is not activated require_once '../inc/config.class.php'; $config = new PluginBehaviorsConfig(); if (isset($_POST["update"])) { $config->check($_POST['id'], 'w'); $config->update($_POST); Html::back(); } Html::redirect($CFG_GLPI["root_doc"] . "/front/config.form.php?forcetab=" . urlencode('PluginBehaviorsConfig$1'));
(at your option) any later version. Behaviors 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 Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with Behaviors. If not, see <http://www.gnu.org/licenses/>. @package behaviors @author Remi Collet @copyright Copyright (c) 2010-2014 Behaviors plugin team @license AGPL License 3.0 or (at your option) any later version http://www.gnu.org/licenses/agpl-3.0-standalone.html @link https://forge.indepnet.net/projects/behaviors @link http://www.glpi-project.org/ @since 2010 -------------------------------------------------------------------------- */ include "../../../inc/includes.php"; // No autoload when plugin is not activated require_once '../inc/config.class.php'; $config = new PluginBehaviorsConfig(); if (isset($_POST["update"])) { $config->check($_POST['id'], UPDATE); $config->update($_POST); Html::back(); } Html::redirect($CFG_GLPI["root_doc"] . "/front/config.form.php?forcetab=" . urlencode('PluginBehaviorsConfig$1'));