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 str_replace('<body', '<body onload="self.focus();document.getElementById(\'wert\').focus();"', $header);
6
 
7
        $res = db_query("SELECT `name`, `value`, `module` FROM `".$WBConfig->getMySQLPrefix()."configuration` WHERE `id` = '".db_escape($id)."'");
8
        $row = db_fetch($res);
9
 
10
        echo '<h1>Konfiguration bearbeiten</h1>
11
 
12
Sie bearbeiten den Wert &quot;'.$row['module'].'/'.$row['name'].'&quot;<br>
13
 
14
<form method="POST" action="'.$_SERVER['PHP_SELF'].'" name="mainform" id="mainform">
15
<input type="hidden" name="seite" value="operate">
16
<input type="hidden" name="aktion" value="edit">
17
<input type="hidden" name="modul" value="'.$modul.'">
18
<input type="hidden" name="name" value="'.$row['name'].'">
19
<input type="hidden" name="kmodul" value="'.$row['module'].'">
20
 
21
<input type="text" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="wert" id="wert" value="'.$row['value'].'"><br><br>
22
 
23
<input type="button" onclick="document.location.href=\''.$_SERVER['PHP_SELF'].'?modul='.$modul.'&amp;seite=config\';" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Zur&uuml;ck">
24
&nbsp;&nbsp;&nbsp;
25
<input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Wert &auml;ndern">
26
 
27
</form>';
28
 
29
        echo $footer;
30
 
31
?>