Subversion Repositories personal-webbase

Rev

Rev 12 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
12 daniel-mar 1
<?php
2
 
14 daniel-mar 3
if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
12 daniel-mar 4
 
5
  echo str_replace('<body', '<body onload="self.focus();document.getElementById(\'wert\').focus();"', $header);
6
 
7
  $res = db_query("SELECT `name`, `wert`, `modul` FROM `".$mysql_zugangsdaten['praefix']."konfig` WHERE `id` = '".db_escape($id)."'");
8
  $row = db_fetch($res);
9
 
10
  echo '<h1>Konfiguration bearbeiten</h1>
11
 
12
Sie bearbeiten den Wert &quot;'.wb_dir_escape($row['modul']).'/'.wb_dir_escape($row['name']).'&quot;<br>
13
 
14
<form method="POST" action="'.$_SERVER['PHP_SELF'].'" name="mainform" id="mainform">
15
<input type="hidden" name="seite" value="kraftsetzung">
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['modul'].'">
20
 
21
<input type="text" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="wert" id="wert" value="'.$row['wert'].'"><br><br>
22
 
23
<input type="button" onclick="document.location.href=\''.$_SERVER['PHP_SELF'].'?modul='.urlencode($modul).'&amp;seite=konfig\';" 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
?>