<?php
if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.');
if ($wb_user_type < 2) die('Keine Zugriffsberechtigung');
if ($aktion == 'changekonfig')
{
if ((!isset($gastaktivierung)) || (($gastaktivierung == '') || (($gastaktivierung != '') && ($gastaktivierung != '1')))) $gastaktivierung = 0;
if ((!isset($wipe_gastkonto)) || (($wipe_gastkonto == '') || (($wipe_gastkonto != '') && ($wipe_gastkonto != '1')))) $wipe_gastkonto = 0;
ib_change_config('enable_gast', $gastaktivierung, $modul);
ib_change_config('gast_username', $gastuser, $modul);
ib_change_config('gast_passwort', $gastpassword, $modul);
ib_change_config('wipe_gastkonto', $wipe_gastkonto, $modul);
{
if (($wipe_uhrzeit1 >= 0) && ($wipe_uhrzeit1 <= 24) && ($wipe_uhrzeit2 >= 0) && ($wipe_uhrzeit2 <= 60) && ($wipe_uhrzeit3 >= 0) && ($wipe_uhrzeit3 <= 60))
{
if (strlen($wipe_uhrzeit1) == 1) $wipe_uhrzeit1 = '0'.$wipe_uhrzeit1;
if (strlen($wipe_uhrzeit2) == 1) $wipe_uhrzeit2 = '0'.$wipe_uhrzeit2;
if (strlen($wipe_uhrzeit3) == 1) $wipe_uhrzeit3 = '0'.$wipe_uhrzeit3;
$wipe_uhrzeit = $wipe_uhrzeit1.':'.$wipe_uhrzeit2.':'.$wipe_uhrzeit3;
ib_change_config('wipe_uhrzeit', $wipe_uhrzeit, $modul);
}
}
if (!isset($vonmodul)) $vonmodul = 'admin_konfig';
if (!isset($vonseite)) $vonseite = 'inhalt';
}
?>