Subversion Repositories personal-webbase

Rev

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 str_replace('<body', '<body onload="self.focus();document.getElementById(\'internet-check-url\').focus();"', $header);
6
 
7
if (!isset($vonmodul)) $vonmodul = $modul;
8
if (!isset($vonseite)) $vonseite = 'main';
9
 
10
echo '<h1>'.htmlentities($module_information->caption).'</h1>';
11
 
12
echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform">
13
<input type="hidden" name="seite" value="operate">
14
<input type="hidden" name="aktion" value="change_configuration">
15
<input type="hidden" name="modul" value="'.$modul.'">
16
<input type="hidden" name="vonseite" value="'.$vonseite.'">
17
<input type="hidden" name="vonmodul" value="'.$vonmodul.'">';
18
 
19
if (inetconn_ok())
20
        echo '<span class="green">Internetverbindung OK</span>';
21
else
22
        echo '<span class="red">Internetverbindung nicht OK oder ung&uuml;ltige(r) Pr&uuml;f-URL/Port</span>';
23
 
24
?><br><br>
25
 
26
<table cellpadding="0" cellspacing="0" border="0">
27
        <tr>
28
                <td>Internet-Test-URL</td>
29
                <td><img src="designs/spacer.gif" width="15" height="1" alt=""></td>
30
                <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 $configuration[$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 $configuration[$modul]['internet-check-port']; ?>"></td>
31
        </tr>
32
</table><br>
33
 
34
        <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">
35
        &nbsp;&nbsp;&nbsp;
36
        <input type="submit" value="&Auml;ndern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';">
37
 
38
        </form>
39
 
40
<?php
41
 
42
echo $footer;
43
 
44
?>