Subversion Repositories personal-webbase

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 daniel-mar 1
<?php
2
 
3
if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
4
 
5
echo $header;
6
 
7
if (!isset($vonmodul)) $vonmodul = $modul;
8
if (!isset($vonseite)) $vonseite = 'main';
9
 
10
echo '<h1>'.htmlentities($module_information->caption).'</h1>';
11
echo 'Hier k&ouml;nnen Sie den Gastzugang konfigurieren.<br><br>';
12
 
13
echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform">
14
<input type="hidden" name="seite" value="operate">
15
<input type="hidden" name="aktion" value="change_configuration">
16
<input type="hidden" name="modul" value="'.$modul.'">
17
<input type="hidden" name="vonseite" value="'.$vonseite.'">
18
<input type="hidden" name="vonmodul" value="'.$vonmodul.'">';
19
 
20
if ($configuration[$modul]['enable_gast'])
21
        $zus = ' checked';
22
else
23
        $zus = '';
24
 
25
if ($configuration[$modul]['wipe_gastkonto'])
26
        $zus2 = ' checked';
27
else
28
        $zus2 = '';
29
 
30
 ?>
31
 
32
<table cellpadding="0" cellspacing="0" border="0">
33
        <tr>
34
                <td>Gastzugang aktivieren:</td>
35
                <td><img src="designs/spacer.gif" width="15" height="1" alt=""></td>
36
                <td><input type="checkbox" name="gastaktivierung" value="1"<?php echo $zus; ?>></td>
37
        </tr>
38
        <tr>
39
                <td>Gast-Benutzername:</td>
40
                <td><img src="designs/spacer.gif" width="15" height="1" alt=""></td>
41
                <td><input type="text" name="gastuser" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $configuration[$modul]['gast_username']; ?>"></td>
42
        </tr>
43
        <tr>
44
                <td>Gast-Passwort:</td>
45
                <td><img src="designs/spacer.gif" width="15" height="1" alt=""></td>
46
                <td><input type="text" name="gastpassword" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $configuration[$modul]['gast_password']; ?>"></td>
47
        </tr>
48
        <tr>
49
                <td>T&auml;gliche Datenleerung:</td>
50
                <td><img src="designs/spacer.gif" width="15" height="1" alt=""></td>
51
                <td><input type="checkbox" name="wipe_gastkonto" value="1"<?php echo $zus2; ?>></td>
52
        </tr>
53
        <tr>
54
        <?php
55
                $ary = explode(':', $configuration[$modul]['wipe_uhrzeit']);
56
        ?>
57
                <td>Uhrzeit der Datenleerung:</td>
58
                <td><img src="designs/spacer.gif" width="15" height="1" alt=""></td>
59
                <td><input type="text" name="wipe_uhrzeit1" size="3" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $ary[0]; ?>">
60
                : <input type="text" name="wipe_uhrzeit2" size="3" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $ary[1]; ?>">
61
                : <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>
62
        </tr>
63
</table><br>
64
 
65
        <input type="button" onclick="document.location.href='<?php echo $_SERVER['PHP_SELF']; ?>?modul=<?php echo $vonmodul; ?>&amp;seite=<?php echo $vonseite; ?>';" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';" value="Zur&uuml;ck">
66
        &nbsp;&nbsp;&nbsp;
67
        <input type="submit" value="&Auml;ndern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';">
68
 
69
        </form>
70
 
71
        <script language="JavaScript" type="text/javascript">
72
        <!--
73
                document.mainform.gastaktivierung.focus();
74
        // -->
75
</script><?php
76
 
77
echo $footer;
78
 
79
?>