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 | echo $header; |
||
8 | |||
9 | if (!isset($vonmodul)) $vonmodul = $modul; |
||
10 | if (!isset($vonseite)) $vonseite = 'inhalt'; |
||
11 | |||
12 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
||
3 | daniel-mar | 13 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
14 | echo 'Hier können Sie das Personal WebBase-Desing bestimmen. Es sind folgende Designs installiert:<br><br>'; |
||
2 | daniel-mar | 15 | |
16 | echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform"> |
||
17 | <input type="hidden" name="seite" value="kraftsetzung"> |
||
18 | <input type="hidden" name="aktion" value="changekonfig"> |
||
19 | <input type="hidden" name="modul" value="'.$modul.'"> |
||
20 | <input type="hidden" name="vonseite" value="'.$vonseite.'"> |
||
21 | <input type="hidden" name="vonmodul" value="'.$vonmodul.'">'; |
||
22 | |||
23 | $i = 0; |
||
24 | $v = 'design/'; |
||
25 | $verz=opendir($v); |
||
26 | |||
27 | while ($file = readdir($verz)) |
||
28 | { |
||
29 | if (($file != '.') && ($file != '..') && (is_dir($v.$file))) |
||
30 | { |
||
31 | $i++; |
||
32 | if ($konfiguration[$modul]['design'] == $file) |
||
33 | $zus = ' checked'; |
||
34 | else |
||
35 | $zus = ''; |
||
36 | echo "<input type=\"radio\" name=\"newdesign\" value=\"$file\"$zus> $file<br>"; |
||
37 | } |
||
38 | } |
||
39 | |||
40 | closedir($verz); |
||
41 | |||
42 | echo '<br>'; |
||
43 | |||
8 | daniel-mar | 44 | echo '<input type="button" onclick="document.location.href=\''.$_SERVER['PHP_SELF'].'?modul='.urlencode($vonmodul).'&seite='.urlencode($vonseite).'\';" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Zurück">'; |
2 | daniel-mar | 45 | echo ' '; |
46 | echo '<input type="submit" value="Ändern" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';"> |
||
47 | |||
48 | </form>'; |
||
49 | |||
50 | echo $footer; |
||
51 | |||
3 | daniel-mar | 52 | ?> |