Subversion Repositories DevTools

Rev

Rev 5957 | Rev 6052 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5957 Rev 6048
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
'=====================================================
3
'=====================================================
4
'|                                                   |
-
 
5
'|				          Login						 |
4
'   Login Screen
6
'|                                                   |
5
'   Log the user into the system
7
'=====================================================
6
'=====================================================
8
%>
7
%>
9
<%
8
<%
10
Option explicit
9
Option explicit
11
Response.Expires = 0
10
Response.Expires = 0
Line 16... Line 15...
16
<!--#include file="common/common_subs.asp"-->
15
<!--#include file="common/common_subs.asp"-->
17
<%
16
<%
18
'------------ VARIABLE DEFINITION -------------
17
'------------ VARIABLE DEFINITION -------------
19
'------------ CONSTANTS DECLARATION -----------
18
'------------ CONSTANTS DECLARATION -----------
20
'------------ VARIABLE INIT -------------------
19
'------------ VARIABLE INIT -------------------
21
objAccessControl.objOraSession = OraSession	' Create database link for orasession
20
objAccessControl.objOraSession = OraSession	    ' Create database link for orasession
22
objAccessControl.objOraDatabase = OraDatabase	' Create database link for oradatabase
21
objAccessControl.objOraDatabase = OraDatabase	' Create database link for oradatabase
23
'------------ CONDITIONS ----------------------
22
'------------ CONDITIONS ----------------------
24
'----------------------------------------------
23
'----------------------------------------------
25
%>
24
%>
26
<%
25
<%
Line 34... Line 33...
34
	
33
	
35
	objEH.Catch()
34
	objEH.Catch()
36
	
35
	
37
End Sub
36
End Sub
38
'----------------------------------------------------------------------------------------------------------------------------------------------
37
'----------------------------------------------------------------------------------------------------------------------------------------------
39
Sub CheckPasswordUpdate ()
-
 
40
	
-
 
41
	If objAccessControl.RequiresPasswordUpdate ( Request("user_name") ) Then
-
 
42
		Session(enumUSER_TEMP_VARIABLE) = Request("user_password")
-
 
43
		Call OpenInWindow ( "UpdatePassword.asp?user_name="& Request("user_name") &"&"& objPMod.ComposeURL() )
-
 
44
	End If
-
 
45
	
-
 
46
End Sub
-
 
47
'----------------------------------------------------------------------------------------------------------------------------------------------
-
 
48
Sub AccessManagerMessage ( nMessage )
38
Sub AccessManagerMessage ( nMessage )
49
	Dim sMessage
39
	Dim sMessage
50
	On Error Resume Next
40
	On Error Resume Next
51
	
41
	
52
	objEH.Try()
42
	objEH.Try()
Line 76... Line 66...
76
objPMod.PersistInQryString ( aPersistList )
66
objPMod.PersistInQryString ( aPersistList )
77
 
67
 
78
' --- RUN onPostBack ---
68
' --- RUN onPostBack ---
79
If CBool(Request("action")) Then
69
If CBool(Request("action")) Then
80
	
70
	
81
	' Try to check for password update
-
 
82
	If Request("cpassword") = "" Then
-
 
83
		Call CheckPasswordUpdate ()
-
 
84
	End If
-
 
85
	
-
 
86
	Call Logon ()
71
	Call Logon ()
87
	
72
	
88
	If objEH.Finally Then
73
	If objEH.Finally Then
89
		If Request("rfile") <> "" Then
74
		If Request("rfile") <> "" Then
90
			Call OpenInWindow ( Request("rfile") &"?LOGIN=ok"& objPMod.ComposeURLWithout("rfile") )
75
			Call OpenInWindow ( Request("rfile") &"?LOGIN=ok"& objPMod.ComposeURLWithout("rfile") )
91
		Else
76
		Else
92
			Call OpenInWindow ( "index.asp" )
77
			Call OpenInWindow ( "index.asp" )
93
		End If
78
		End If
94
		
79
		
95
		
-
 
96
	End If
80
	End If
97
End If
81
End If
98
 
82
 
99
' Display Access Manager messages - before we kill the session
83
' Display Access Manager messages - before we kill the session
100
' cookies that identify the message
84
' cookies that identify the message
Line 127... Line 111...
127
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
111
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
128
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
112
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
129
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
113
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
130
<link rel="stylesheet" href="images/navigation.css" type="text/css">
114
<link rel="stylesheet" href="images/navigation.css" type="text/css">
131
<script language="JavaScript" src="images/common.js"></script>
115
<script language="JavaScript" src="images/common.js"></script>
132
 
-
 
-
 
116
<!--#include file="_jquery_includes.asp"-->
133
</head>
117
</head>
134
<body leftmargin="0" topmargin="0" onLoad="FormName.user_name.focus();">
118
<body leftmargin="0" topmargin="0" onLoad="FormName.user_name.focus();">
135
<!-- HEADER ++++++++++++++++ -->
119
<!-- HEADER ++++++++++++++++ -->
136
<!--#include file="_header.asp"-->
120
<!--#include file="_header.asp"-->
137
<!-- +++++++++++++++++++++++ -->
121
<!-- +++++++++++++++++++++++ -->
Line 152... Line 136...
152
        <tr>
136
        <tr>
153
          <td background="images/bg_bage_2.gif"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
137
          <td background="images/bg_bage_2.gif"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
154
            <tr>
138
            <tr>
155
              <td bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="10">
139
              <td bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="10">
156
                <tr>
140
                <tr>
-
 
141
                  <td class="body_txt"><span class="body_h1">
157
                  <td class="body_txt"><span class="body_h1"><img src="icons/i_user_lrg.gif" width="13" height="17" align="absmiddle">&nbsp;Log In</span> <br>
142
                    <img src="icons/i_user_lrg.gif" width="13" height="17" align="absmiddle">
-
 
143
                    &nbsp;Log In</span> <br>
158
      Please enter your Username and Password. <br>
144
                    Please enter your Username and Password. <br>
159
      <hr width="100%" size="1" noshade color="#ACA899">
145
                    <hr width="100%" size="1" noshade color="#ACA899">
160
      Forgot your <a href="mailto:<%=ADMIN_EMAIL%>?subject=Request for Password Reset" class="body_link">password</a> ? <br>
146
                    Forgot your <a href="javascript:;" onclick="MM_openVixIFrame('_wform_lost_password.asp', 'Lost Password');" class="body_link">password</a> ? <br>
161
      New Members please <a href="mailto:<%=ADMIN_EMAIL%>?subject=Request for Release Manager Account" class="body_link">Register</a></td>
147
                    <a href="javascript:;" onclick="MM_openVixIFrame('_wform_new_members.asp', 'New Members');" class="body_link">New Members</a></td>
162
                </tr>
148
                </tr>
163
                <tr>
149
                <tr>
164
                  <td align="center" valign="top">
150
                  <td align="center" valign="top">
165
				  <table width="100"  border="0" cellspacing="2" cellpadding="0">
151
				  <table width="100"  border="0" cellspacing="2" cellpadding="0">
166
                      <tr>
152
                      <tr>