Rev 4 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 8 | ||
---|---|---|---|
1 | <?php |
1 | <?php |
2 | 2 | ||
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
4 | 4 | ||
5 | if ($ib_user_type < 2) die('Keine Zugriffsberechtigung'); |
5 | if ($ib_user_type < 2) die('Keine Zugriffsberechtigung'); |
6 | 6 | ||
7 | if ($aktion == 'changekonfig') |
7 | if ($aktion == 'changekonfig') |
8 | { |
8 | { |
9 | if ((!isset($sa_enabled)) || (($sa_enabled == '') || (($sa_enabled != '') && ($sa_enabled != '1')))) $sa_enabled = 0; |
9 | if ((!isset($sa_enabled)) || (($sa_enabled == '') || (($sa_enabled != '') && ($sa_enabled != '1')))) $sa_enabled = 0; |
10 | 10 | ||
11 | ib_change_config('enabled', $sa_enabled, $modul); |
11 | ib_change_config('enabled', $sa_enabled, $modul); |
12 | 12 | ||
13 | if (!isset($vonmodul)) $vonmodul = 'admin_konfig'; |
13 | if (!isset($vonmodul)) $vonmodul = 'admin_konfig'; |
14 | if (!isset($vonseite)) $vonseite = 'inhalt'; |
14 | if (!isset($vonseite)) $vonseite = 'inhalt'; |
15 | 15 | ||
16 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?seite='.$vonseite.'&modul='.$vonmodul); |
16 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?seite='.urlencode($vonseite).'&modul='.urlencode($vonmodul)); |
17 | } |
17 | } |
18 | 18 | ||
19 | ?> |
19 | ?> |
20 | 20 |