Rev 4 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 8 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | $res = db_query("SELECT `name`, `wert`, `modul` FROM `".$mysql_zugangsdaten['praefix']."konfig` WHERE `id` = '".db_escape($id)."'"); |
7 | $res = db_query("SELECT `name`, `wert`, `modul` FROM `".$mysql_zugangsdaten['praefix']."konfig` WHERE `id` = '".db_escape($id)."'"); |
8 | $row = db_fetch($res); |
8 | $row = db_fetch($res); |
9 | 9 | ||
10 | echo '<h1>Konfiguration bearbeiten</h1> |
10 | echo '<h1>Konfiguration bearbeiten</h1> |
11 | 11 | ||
12 | Sie bearbeiten den Wert "'.$row['modul'].'/'.$row['name'].'"<br> |
12 | Sie bearbeiten den Wert "'.wb_dir_escape($row['modul']).'/'.wb_dir_escape($row['name']).'"<br> |
13 | 13 | ||
14 | <form method="POST" action="'.$_SERVER['PHP_SELF'].'" name="mainform" id="mainform"> |
14 | <form method="POST" action="'.$_SERVER['PHP_SELF'].'" name="mainform" id="mainform"> |
15 | <input type="hidden" name="seite" value="kraftsetzung"> |
15 | <input type="hidden" name="seite" value="kraftsetzung"> |
16 | <input type="hidden" name="aktion" value="edit"> |
16 | <input type="hidden" name="aktion" value="edit"> |
17 | <input type="hidden" name="modul" value="'.$modul.'"> |
17 | <input type="hidden" name="modul" value="'.$modul.'"> |
18 | <input type="hidden" name="name" value="'.$row['name'].'"> |
18 | <input type="hidden" name="name" value="'.$row['name'].'"> |
19 | <input type="hidden" name="kmodul" value="'.$row['modul'].'"> |
19 | <input type="hidden" name="kmodul" value="'.$row['modul'].'"> |
20 | 20 | ||
21 | <input type="text" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="wert" id="wert" value="'.$row['wert'].'"><br><br> |
21 | <input type="text" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="wert" id="wert" value="'.$row['wert'].'"><br><br> |
22 | 22 | ||
23 | <input type="button" onclick="document.location.href=\''.$_SERVER['PHP_SELF'].'?modul='.$modul.'&seite=konfig\';" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Zurück"> |
23 | <input type="button" onclick="document.location.href=\''.$_SERVER['PHP_SELF'].'?modul='.urlencode($modul).'&seite=konfig\';" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Zurück"> |
24 | |
24 | |
25 | <input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Wert ändern"> |
25 | <input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Wert ändern"> |
26 | 26 | ||
27 | </form>'; |
27 | </form>'; |
28 | 28 |