Revert "Änderungen back to Login Linkbutton eingebaut"
This reverts commit 00c5edffd6.
This commit is contained in:
@@ -307,11 +307,6 @@
|
|||||||
<asp:Label ID="lbl_messagetext" runat="server" Text=""></asp:Label>
|
<asp:Label ID="lbl_messagetext" runat="server" Text=""></asp:Label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<asp:LinkButton ID="btn_toLogin" ClientIDMode="AutoID" runat="server" style="color:#fff;background-color:#043381" OnClick="btn_toLogin_Click" CssClass="btn btn-primary"><center><label for="<%=btn_toLogin.ClientID %>" style="color:#fff">Back to Login</label></center></asp:LinkButton>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
</center>
|
</center>
|
||||||
</div>
|
</div>
|
||||||
@@ -391,11 +386,6 @@
|
|||||||
<asp:Label ID="lbl_messagetext_M" runat="server" Text=""></asp:Label>
|
<asp:Label ID="lbl_messagetext_M" runat="server" Text=""></asp:Label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<asp:LinkButton ID="btn_toLogin_M" style="color:#043381" Font-Size="1em" CssClass="btn btn-primary" runat="server" OnClick="btn_toLogin_M_Click"><center><label for="<%=btn_toLogin_M.ClientID %>" style="color:#fff">Back to Login</label></center></asp:LinkButton>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</center>
|
</center>
|
||||||
|
|||||||
@@ -8,8 +8,7 @@ Partial Class login_Change_PW
|
|||||||
Dim url = Request.ServerVariables("URL")
|
Dim url = Request.ServerVariables("URL")
|
||||||
Session.Add("urltochangepw", url)
|
Session.Add("urltochangepw", url)
|
||||||
Dim ConnectionString = ""
|
Dim ConnectionString = ""
|
||||||
btn_toLogin.Visible = False
|
|
||||||
btn_toLogin_M.Visible = False
|
|
||||||
If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then
|
If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then
|
||||||
VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM = True
|
VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM = True
|
||||||
'ConnectionString = "Server=DEVELOPER\DEVSQL;Database=VERAG_HOMEPAGE;Uid=sa;Pwd=BmWr501956"
|
'ConnectionString = "Server=DEVELOPER\DEVSQL;Database=VERAG_HOMEPAGE;Uid=sa;Pwd=BmWr501956"
|
||||||
@@ -71,7 +70,6 @@ Partial Class login_Change_PW
|
|||||||
VERAG_VARIABLES.seterrorcount(1)
|
VERAG_VARIABLES.seterrorcount(1)
|
||||||
lbl_messagetext.Text = VERAG_VARIABLES.geterrornumb + "Link ist abgelaufen. Bitte neue E-Mail senden."
|
lbl_messagetext.Text = VERAG_VARIABLES.geterrornumb + "Link ist abgelaufen. Bitte neue E-Mail senden."
|
||||||
'Response.Redirect("ForgotPW.aspx")
|
'Response.Redirect("ForgotPW.aspx")
|
||||||
btn_toLogin.Visible = True
|
|
||||||
End If
|
End If
|
||||||
dr.Close()
|
dr.Close()
|
||||||
End If
|
End If
|
||||||
@@ -174,8 +172,7 @@ Partial Class login_Change_PW
|
|||||||
End Using
|
End Using
|
||||||
Else
|
Else
|
||||||
VERAG_VARIABLES.seterrorcount(22)
|
VERAG_VARIABLES.seterrorcount(22)
|
||||||
'lbl_messagetext.Text = VERAG_VARIABLES.geterrornumb + "Error bei der Passwort-Validation."
|
lbl_messagetext.Text = VERAG_VARIABLES.geterrornumb + "Error bei der Passwort-Validation."
|
||||||
btn_toLogin.Visible = True
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Else
|
Else
|
||||||
@@ -233,8 +230,6 @@ Partial Class login_Change_PW
|
|||||||
VERAG_VARIABLES.seterrorcount(22)
|
VERAG_VARIABLES.seterrorcount(22)
|
||||||
'lbl_messagetext_M.ForeColor = Drawing.Color.Red
|
'lbl_messagetext_M.ForeColor = Drawing.Color.Red
|
||||||
'lbl_messagetext_M.Text = VERAG_VARIABLES.geterrornumb() + "Error bei der Validierung des Kennwortes."
|
'lbl_messagetext_M.Text = VERAG_VARIABLES.geterrornumb() + "Error bei der Validierung des Kennwortes."
|
||||||
btn_toLogin_M.Visible = True
|
|
||||||
btn_toLogin.Visible = False
|
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
lbl_messagetext.Text = ex.Message
|
lbl_messagetext.Text = ex.Message
|
||||||
@@ -421,12 +416,4 @@ Partial Class login_Change_PW
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub btn_toLogin_Click(sender As Object, e As EventArgs)
|
|
||||||
Response.Redirect("login_FLEX.aspx")
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Protected Sub btn_toLogin_M_Click(sender As Object, e As EventArgs)
|
|
||||||
Response.Redirect("login_FLEX.aspx")
|
|
||||||
End Sub
|
|
||||||
End Class
|
End Class
|
||||||
Reference in New Issue
Block a user