0,0 → 1,31 |
<?php |
|
if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
|
echo str_replace('<body', '<body onload="self.focus();document.getElementById(\'wert\').focus();"', $header); |
|
$res = db_query("SELECT `name`, `wert`, `modul` FROM `".$mysql_zugangsdaten['praefix']."konfig` WHERE `id` = '".db_escape($id)."'"); |
$row = db_fetch($res); |
|
echo '<h1>Konfiguration bearbeiten</h1> |
|
Sie bearbeiten den Wert "'.wb_dir_escape($row['modul']).'/'.wb_dir_escape($row['name']).'"<br> |
|
<form method="POST" action="'.$_SERVER['PHP_SELF'].'" name="mainform" id="mainform"> |
<input type="hidden" name="seite" value="kraftsetzung"> |
<input type="hidden" name="aktion" value="edit"> |
<input type="hidden" name="modul" value="'.$modul.'"> |
<input type="hidden" name="name" value="'.$row['name'].'"> |
<input type="hidden" name="kmodul" value="'.$row['modul'].'"> |
|
<input type="text" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="wert" id="wert" value="'.$row['wert'].'"><br><br> |
|
<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"> |
|
<input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Wert ändern"> |
|
</form>'; |
|
echo $footer; |
|
?> |