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