Rev 12 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12 | Rev 14 | ||
---|---|---|---|
1 | <?php |
1 | <?php |
2 | 2 | ||
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
4 | 4 | ||
5 | if ($ib_user_type < 2) die('Keine Zugriffsberechtigung'); |
5 | if ($wb_user_type < 2) die('Keine Zugriffsberechtigung'); |
6 | 6 | ||
7 | echo $header; |
7 | echo $header; |
8 | 8 | ||
9 | if (!isset($vonmodul)) $vonmodul = $modul; |
9 | if (!isset($vonmodul)) $vonmodul = $modul; |
10 | if (!isset($vonseite)) $vonseite = 'inhalt'; |
10 | if (!isset($vonseite)) $vonseite = 'inhalt'; |
11 | 11 | ||
12 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
12 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
13 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
13 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
14 | echo 'Hier können Sie Konfigurationen des Modules vornehmen.<br><br>'; |
14 | echo 'Hier können Sie Konfigurationen des Modules vornehmen.<br><br>'; |
15 | 15 | ||
16 | echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform"> |
16 | echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform"> |
17 | <input type="hidden" name="seite" value="kraftsetzung"> |
17 | <input type="hidden" name="seite" value="kraftsetzung"> |
18 | <input type="hidden" name="aktion" value="changekonfig"> |
18 | <input type="hidden" name="aktion" value="changekonfig"> |
19 | <input type="hidden" name="modul" value="'.$modul.'"> |
19 | <input type="hidden" name="modul" value="'.$modul.'"> |
20 | <input type="hidden" name="vonseite" value="'.$vonseite.'"> |
20 | <input type="hidden" name="vonseite" value="'.$vonseite.'"> |
21 | <input type="hidden" name="vonmodul" value="'.$vonmodul.'">'; |
21 | <input type="hidden" name="vonmodul" value="'.$vonmodul.'">'; |
22 | 22 | ||
23 | if ($konfiguration[$modul]['debug'] == '1') |
23 | if ($konfiguration[$modul]['debug'] == '1') |
24 | $zus = 'checked'; |
24 | $zus = 'checked'; |
25 | else |
25 | else |
26 | $zus = ''; |
26 | $zus = ''; |
27 | 27 | ||
28 | ?> |
28 | ?> |
29 | 29 | ||
30 | <input type="checkbox" name="enabledebug" value="1"<?php echo $zus; ?>> Debugmodus aktivieren<br><br> |
30 | <input type="checkbox" name="enabledebug" value="1"<?php echo $zus; ?>> Debugmodus aktivieren<br><br> |
31 | 31 | ||
32 | <input type="button" onclick="document.location.href='<?php echo $_SERVER['PHP_SELF']; ?>?modul=<?php echo $vonmodul; ?>&seite=<?php echo $vonseite; ?>';" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';" value="Zurück"> |
32 | <input type="button" onclick="document.location.href='<?php echo $_SERVER['PHP_SELF']; ?>?modul=<?php echo $vonmodul; ?>&seite=<?php echo $vonseite; ?>';" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';" value="Zurück"> |
33 | |
33 | |
34 | <input type="submit" value="Ändern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';"> |
34 | <input type="submit" value="Ändern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';"> |
35 | 35 | ||
36 | </form> |
36 | </form> |
37 | 37 | ||
38 | <?php |
38 | <?php |
39 | 39 | ||
40 | echo $footer; |
40 | echo $footer; |
41 | 41 | ||
42 | ?> |
42 | ?> |
43 | 43 |