Subversion Repositories personal-webbase

Rev

Rev 12 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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