Subversion Repositories personal-webbase

Rev

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 6... Line 6...
6
 
6
 
7
  if ($aktion == 'changepwd')
7
  if ($aktion == 'changepwd')
8
  {
8
  {
9
    if ($konfiguration[$modul]['admin_pwd'] != md5($oldpwd))
9
    if ($konfiguration[$modul]['admin_pwd'] != md5($oldpwd))
10
    {
10
    {
11
      die($header.'<h1>'.my_htmlentities($modulueberschrift).'</h1>Das eingegebene aktuelle Passwort ist nicht korrekt!<br><br><a href="'.$_SERVER['PHP_SELF'].'?seite=konfig&amp;modul='.$modul.'">Zur&uuml;ck zur Eingabe</a>'.$footer);
11
      die($header.'<h1>'.my_htmlentities($modulueberschrift).'</h1>Das eingegebene aktuelle Passwort ist nicht korrekt!<br><br><a href="'.$_SERVER['PHP_SELF'].'?seite=konfig&amp;modul='.urlencode($modul).'">Zur&uuml;ck zur Eingabe</a>'.$footer);
12
    }
12
    }
13
 
13
 
14
    if ($newpwd != $newpwd2)
14
    if ($newpwd != $newpwd2)
15
    {
15
    {
16
      die($header.'<h1>'.my_htmlentities($modulueberschrift).'</h1>Die beiden neuen Passw&ouml;rter sind nicht gleich!<br><br><a href="'.$_SERVER['PHP_SELF'].'?seite=konfig&amp;modul='.$modul.'">Zur&uuml;ck zur Eingabe</a>'.$footer);
16
      die($header.'<h1>'.my_htmlentities($modulueberschrift).'</h1>Die beiden neuen Passw&ouml;rter sind nicht gleich!<br><br><a href="'.$_SERVER['PHP_SELF'].'?seite=konfig&amp;modul='.urlencode($modul).'">Zur&uuml;ck zur Eingabe</a>'.$footer);
17
    }
17
    }
18
 
18
 
19
    ib_change_config('admin_pwd', md5($newpwd), $modul);
19
    ib_change_config('admin_pwd', md5($newpwd), $modul);
20
    $_SESSION['ib_user_passwort'] = $newpwd;
20
    $_SESSION['ib_user_passwort'] = $newpwd;
21
 
21
 
22
    // die($header.'<h1>'.my_htmlentities($modulueberschrift).'</h1>Das &Auml;ndern des Passwortes war erfolgreich!<br><br><a href="'.$_SERVER['PHP_SELF'].'?seite=konfig&amp;modul='.$modul.'">Zur&uuml;ck zur Eingabe</a>'.$footer);
22
    // die($header.'<h1>'.my_htmlentities($modulueberschrift).'</h1>Das &Auml;ndern des Passwortes war erfolgreich!<br><br><a href="'.$_SERVER['PHP_SELF'].'?seite=konfig&amp;modul='.urlencode($modul).'">Zur&uuml;ck zur Eingabe</a>'.$footer);
23
 
23
 
24
    echo '<script language="JavaScript" type="text/javascript">
24
    echo '<script language="JavaScript" type="text/javascript">
25
                  <!--
25
                  <!--
26
 
26
 
27
                  parent.location.href = \'index.php\';
27
                  parent.location.href = \'index.php\';