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
 
14 daniel-mar 5
if ($wb_user_type < 2) die('Keine Zugriffsberechtigung');
12 daniel-mar 6
 
7
echo str_replace('<body', '<body onload="self.focus();document.getElementById(\'oldpwd\').focus();"', $header);
8
 
9
  if (!isset($vonmodul)) $vonmodul = $modul;
10
  if (!isset($vonseite)) $vonseite = 'inhalt';
11
 
12
if ($modulueberschrift == '') $modulueberschrift = $modul;
13
echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>';
14
    echo 'Hier k&ouml;nnen Sie das Passwort f&uuml;r den Administrationsbereich &auml;ndern.<br><br>';
15
 
16
  echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform">
17
<input type="hidden" name="seite" value="kraftsetzung">
18
<input type="hidden" name="action" value="changepwd">
19
<input type="hidden" name="modul" value="'.$modul.'">
20
<input type="hidden" name="vonseite" value="'.$vonseite.'">
21
<input type="hidden" name="vonmodul" value="'.$vonmodul.'">'; ?>
22
 
23
<table cellpadding="0" cellspacing="0" border="0">
24
  <tr>
25
    <td>Aktuelles Passwort:</td>
26
    <td><img src="design/spacer.gif" width="15" height="1" alt=""></td>
27
    <td><input type="password" name="oldpwd" id="oldpwd" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';"></td>
28
  </tr>
29
  <tr>
30
    <td>Neues Passwort:</td>
31
    <td><img src="design/spacer.gif" width="15" height="1" alt=""></td>
32
    <td><input type="password" name="newpwd" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';"></td>
33
  </tr>
34
  <tr>
35
    <td>Wiederholung:</td>
36
    <td><img src="design/spacer.gif" width="15" height="1" alt=""></td>
37
    <td><input type="password" name="newpwd2" class="normal" onmouseover="this.className='highlight';" onmouseout="this.className='normal';"></td>
38
  </tr>
39
</table><br>
40
 
41
  <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">
42
  &nbsp;&nbsp;&nbsp;
43
  <input type="submit" value="&Auml;ndern" class="button" onmouseover="this.className='button_act';" onmouseout="this.className='button';">
44
 
45
  </form>
46
 
47
  <?php
48
 
49
echo $footer;
50
 
51
?>