Rev 4 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | <?php |
2 | |||
3 | daniel-mar | 3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
2 | daniel-mar | 4 | |
5 | if ($ib_user_type < 2) die('Keine Zugriffsberechtigung'); |
||
6 | |||
7 | if ($aktion == 'edit') |
||
8 | { |
||
9 | ib_change_config(db_escape($name), db_escape($wert), db_escape($kmodul)); |
||
8 | daniel-mar | 10 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?modul='.urlencode($modul).'&seite=konfig'); |
2 | daniel-mar | 11 | } |
12 | |||
13 | if ($aktion == 'delete') |
||
14 | { |
||
15 | db_query("DELETE FROM `".$mysql_zugangsdaten['praefix']."konfig` WHERE `id` = '".db_escape($id)."'"); |
||
8 | daniel-mar | 16 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?modul='.urlencode($modul).'&seite=konfig'); |
2 | daniel-mar | 17 | } |
18 | |||
3 | daniel-mar | 19 | ?> |