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 str_replace('<body', '<body onload="self.focus();document.getElementById(\'internet-check-url\').focus();"', $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 | |||
15 | echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform"> |
||
16 | <input type="hidden" name="seite" value="kraftsetzung"> |
||
17 | <input type="hidden" name="aktion" value="changekonfig"> |
||
18 | <input type="hidden" name="modul" value="'.$modul.'"> |
||
19 | <input type="hidden" name="vonseite" value="'.$vonseite.'"> |
||
20 | <input type="hidden" name="vonmodul" value="'.$vonmodul.'">'; |
||
21 | |||
22 | if (inetconn_ok()) |
||
23 | echo '<font color="#00BB00">Internetverbindung OK</font>'; |
||
24 | else |
||
25 | echo '<font color="#FF0000">Internetverbindung nicht OK oder ungültige(r) Prüf-URL/Port</font>'; |
||
26 | |||
27 | ?><br><br> |
||
28 | |||
29 | <table cellpadding="0" cellspacing="0" border="0"> |
||
30 | <tr> |
||
31 | <td>Internet-Test-URL</td> |
||
32 | <td><img src="design/spacer.gif" width="15" height="1" alt=""></td> |
||
33 | <td>http://<input type="text" size="30" name="internet_check_url" id="internet_check_url" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $konfiguration[$modul]['internet-check-url']; ?>">/ auf Port <input type="text" size="5" name="internet_check_port" id="internet_check_port" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';" value="<?php echo $konfiguration[$modul]['internet-check-port']; ?>"></td> |
||
34 | </tr> |
||
35 | </table><br> |
||
36 | |||
37 | <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"> |
||
38 | |
||
39 | <input type="submit" value="Ändern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';"> |
||
40 | |||
41 | </form> |
||
42 | |||
43 | <?php |
||
44 | |||
45 | echo $footer; |
||
46 | |||
47 | ?> |