This repository has been archived by the owner on Dec 2, 2022. It is now read-only.
forked from jankul/studip-marketplace
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrequest_password.php
45 lines (45 loc) · 2.37 KB
/
request_password.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<script type="text/javascript">
var checkInput = function() {
if ($('username').value == '' || $('captcha_code').value == '') {
alert("Bitte alle Felder korrekt ausfüllen!");
return false;
} else {
return true;
}
}
</script>
<CENTER>
<DIV STYLE="padding:10px; margin:50px; text-align:left; width:500px; min-width:500px; max-width:500px; border:1px solid gray;">
<FORM NAME="request" METHOD="POST" ACTION="?dispatch=reset_password" onSubmit="return checkInput();">
<TABLE BORDER=0>
<TR>
<TD COLSPAN=2 STYLE="font-size:14px; font-weight:bold;">Fordern Sie ein neues Passwort an:</TD>
</TR>
<TR>
<TD STYLE="width:200px; vertical-align:top; font-weight:bold;">Benutzername: </TD>
<TD><INPUT TYPE="text" STYLE="width:250px;" MAXLENGTH=255 NAME="username" ID="username" VALUE=""> <SPAN STYLE="color:red; font-weight:bold;">*</SPAN></TD>
</TR>
<TR>
<TD STYLE="width:200px; vertical-align:top;">Geben Sie bitte die nebenstehende Zeichenfolge zur Verifikation ein: </TD>
<TD><IMG ID="captcha" STYLE="border:1px solid black;" alt="CAPTCHA Image" SRC="<?=$GLOBALS['BASE_URI']?>lib/captcha/securimage_show.php">
<object type="application/x-shockwave-flash" data="lib/captcha/securimage_play.swf?audio=lib/captcha/securimage_play.php&bgColor1=#fff&bgColor2=#fff&iconColor=#777&borderWidth=1&borderColor=#000" height="19" width="19">
<param name="movie" value="lib/captcha/securimage_play.swf?audio=lib/captcha/securimage_play.php&bgColor1=#fff&bgColor2=#fff&iconColor=#777&borderWidth=1&borderColor=#000" />
</object>
<BR><BR><a href="#" onclick="document.getElementById('captcha').src = '<?=$GLOBALS['BASE_URI']?>lib/captcha/securimage_show.php?' + Math.random(); return false">Bild unleserlich? Neues generieren</a><BR><INPUT TYPE="text" SIZE=20 MAXLENGTH=255 NAME="captcha_code" ID="captcha_code" VALUE=""> <SPAN STYLE="color:red; font-weight:bold;">*</SPAN></TD>
</TR>
<TR>
<TD COLSPAN=2> </TD>
</TR>
<TR>
<TD COLSPAN=2 STYLE="text-align:center;"><INPUT TYPE="submit" VALUE="absenden" NAME="absenden"> <INPUT TYPE="button" VALUE="abbrechen" NAME="cancel" onClick="location.href='?';"></TD>
</TR>
</TABLE>
<SPAN STYLE="color:red; font-weight:bold;">*</SPAN> = Pflichtfeld
</FORM>
</DIV>
</CENTER>
<script>
$j(window).load(function () {
$j('#username').focus();
});
</script>