Rev 4 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 8 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | if ($ib_user_type < 2) die('Keine Zugriffsberechtigung'); |
5 | if ($ib_user_type < 2) die('Keine Zugriffsberechtigung'); |
6 | 6 | ||
7 | if ($aktion == 'edit') |
7 | if ($aktion == 'edit') |
8 | { |
8 | { |
9 | ib_change_config(db_escape($name), db_escape($wert), db_escape($kmodul)); |
9 | ib_change_config(db_escape($name), db_escape($wert), db_escape($kmodul)); |
10 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?modul='.$modul.'&seite=konfig'); |
10 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?modul='.urlencode($modul).'&seite=konfig'); |
11 | } |
11 | } |
12 | 12 | ||
13 | if ($aktion == 'delete') |
13 | if ($aktion == 'delete') |
14 | { |
14 | { |
15 | db_query("DELETE FROM `".$mysql_zugangsdaten['praefix']."konfig` WHERE `id` = '".db_escape($id)."'"); |
15 | db_query("DELETE FROM `".$mysql_zugangsdaten['praefix']."konfig` WHERE `id` = '".db_escape($id)."'"); |
16 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?modul='.$modul.'&seite=konfig'); |
16 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?modul='.urlencode($modul).'&seite=konfig'); |
17 | } |
17 | } |
18 | 18 | ||
19 | ?> |
19 | ?> |