Rev 12 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
12 | daniel-mar | 1 | <?php |
2 | |||
14 | daniel-mar | 3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
12 | daniel-mar | 4 | |
14 | daniel-mar | 5 | if ($wb_user_type < 2) die('Keine Zugriffsberechtigung'); |
12 | daniel-mar | 6 | |
7 | echo $header; |
||
8 | |||
9 | if (!isset($vonmodul)) $vonmodul = $modul; |
||
10 | if (!isset($vonseite)) $vonseite = 'inhalt'; |
||
11 | |||
12 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
||
13 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
||
14 | echo 'Hier können Sie den Gastzugang konfigurieren.<br><br>'; |
||
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 | if ($konfiguration[$modul]['enable_gast']) |
||
24 | $zus = ' checked'; |
||
25 | else |
||
26 | $zus = ''; |
||
27 | |||
28 | if ($konfiguration[$modul]['wipe_gastkonto']) |
||
29 | $zus2 = ' checked'; |
||
30 | else |
||
31 | $zus2 = ''; |
||
32 | |||
33 | ?> |
||
34 | |||
35 | <table cellpadding="0" cellspacing="0" border="0"> |
||
36 | <tr> |
||
37 | <td>Gastzugang aktivieren:</td> |
||
38 | <td><img src="design/spacer.gif" width="15" height="1" alt=""></td> |
||
39 | <td><input type="checkbox" name="gastaktivierung" value="1"<?php echo $zus; ?>></td> |
||
40 | </tr> |
||
41 | <tr> |
||
42 | <td>Gast-Benutzername:</td> |
||
43 | <td><img src="design/spacer.gif" width="15" height="1" alt=""></td> |
||
44 | <td><input type="text" name="gastuser" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $konfiguration[$modul]['gast_username']; ?>"></td> |
||
45 | </tr> |
||
46 | <tr> |
||
47 | <td>Gast-Passwort:</td> |
||
48 | <td><img src="design/spacer.gif" width="15" height="1" alt=""></td> |
||
49 | <td><input type="text" name="gastpassword" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $konfiguration[$modul]['gast_passwort']; ?>"></td> |
||
50 | </tr> |
||
51 | <tr> |
||
52 | <td>Tägliche Datenleerung:</td> |
||
53 | <td><img src="design/spacer.gif" width="15" height="1" alt=""></td> |
||
54 | <td><input type="checkbox" name="wipe_gastkonto" value="1"<?php echo $zus2; ?>></td> |
||
55 | </tr> |
||
56 | <tr> |
||
57 | <?php |
||
58 | $ary = explode(':', $konfiguration[$modul]['wipe_uhrzeit']); |
||
59 | ?> |
||
60 | <td>Uhrzeit der Datenleerung:</td> |
||
61 | <td><img src="design/spacer.gif" width="15" height="1" alt=""></td> |
||
62 | <td><input type="text" name="wipe_uhrzeit1" size="3" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $ary[0]; ?>"> |
||
63 | : <input type="text" name="wipe_uhrzeit2" size="3" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $ary[1]; ?>"> |
||
64 | : <input type="text" name="wipe_uhrzeit3" size="3" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $ary[2]; ?>"> Uhr</td> |
||
65 | </tr> |
||
66 | </table><br> |
||
67 | |||
68 | <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"> |
||
69 | |
||
70 | <input type="submit" value="Ändern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';"> |
||
71 | |||
72 | </form> |
||
73 | |||
74 | <script language="JavaScript" type="text/javascript"> |
||
75 | <!-- |
||
76 | document.mainform.gastaktivierung.focus(); |
||
77 | // --> |
||
78 | </script><?php |
||
79 | |||
80 | echo $footer; |
||
81 | |||
82 | ?> |