Subversion Repositories DevTools

Rev

Rev 2365 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2365 Rev 5357
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
'=====================================================
3
'=====================================================
4
'|                                                   |
4
'|                                                   |
5
'|		          Confirm Password			 		 |
5
'|		          Confirm Password			 		 |
6
'|                                                   |
6
'|                                                   |
7
'=====================================================
7
'=====================================================
8
%>
8
%>
9
<%
9
<%
10
Option explicit
10
Option explicit
11
Response.Expires = 0
11
Response.Expires = 0
12
%>
12
%>
13
<!--#include file="common/conf.asp"-->
13
<!--#include file="common/conf.asp"-->
14
<!--#include file="common/globals.asp"-->
14
<!--#include file="common/globals.asp"-->
15
<!--#include file="common/qstr.asp"-->
15
<!--#include file="common/qstr.asp"-->
16
<!--#include file="common/common_subs.asp"-->
16
<!--#include file="common/common_subs.asp"-->
17
<%
17
<%
18
'------------ VARIABLE DEFINITION -------------
18
'------------ VARIABLE DEFINITION -------------
19
'------------ CONSTANTS DECLARATION -----------
19
'------------ CONSTANTS DECLARATION -----------
20
'------------ VARIABLE INIT -------------------
20
'------------ VARIABLE INIT -------------------
21
objAccessControl.objOraSession = OraSession	' Create database link for orasession
21
objAccessControl.objOraSession = OraSession	' Create database link for orasession
22
objAccessControl.objOraDatabase = OraDatabase	' Create database link for oradatabase
22
objAccessControl.objOraDatabase = OraDatabase	' Create database link for oradatabase
23
'------------ CONDITIONS ----------------------
23
'------------ CONDITIONS ----------------------
24
'----------------------------------------------
24
'----------------------------------------------
25
%>
25
%>
26
<%
26
<%
27
'----------------------------------------------------------------------------------------------------------------------------------------------
27
'----------------------------------------------------------------------------------------------------------------------------------------------
28
Sub Logon ()
28
Sub Logon ()
29
	'On Error Resume Next
29
	'On Error Resume Next
30
	
30
	
31
	objEH.Try()
31
	objEH.Try()
32
	
32
	
33
	Call objAccessControl.LogonUser ( Request("user_name"), Session(enumUSER_TEMP_VARIABLE) )
33
	Call objAccessControl.LogonUser ( Request("user_name"), Session(enumUSER_TEMP_VARIABLE) )
34
	
34
	
35
	objEH.Catch()
35
	objEH.Catch()
36
	
36
	
37
End Sub
37
End Sub
38
'----------------------------------------------------------------------------------------------------------------------------------------------
38
'----------------------------------------------------------------------------------------------------------------------------------------------
39
Sub UpdatePassword ()
39
Sub UpdatePassword ()
40
	
40
	
41
	On Error Resume Next
41
	On Error Resume Next
42
	
42
	
43
	objEH.Try()
43
	objEH.Try()
44
	
44
	
45
	Call objAccessControl.SetPassword ( Request("user_name"), Session(enumUSER_TEMP_VARIABLE), Request("cpassword") )
45
	Call objAccessControl.SetPassword ( Request("user_name"), Session(enumUSER_TEMP_VARIABLE), Request("cpassword") )
46
	
46
	
47
	objEH.Catch()
47
	objEH.Catch()
48
	
48
	
49
End Sub
49
End Sub
50
'----------------------------------------------------------------------------------------------------------------------------------------------
50
'----------------------------------------------------------------------------------------------------------------------------------------------
51
%>
51
%>
52
<%
52
<%
53
'------------ RUN BEFORE PAGE RENDER ----------
53
'------------ RUN BEFORE PAGE RENDER ----------
54
objPMod.PersistInQryString ( aPersistList )
54
objPMod.PersistInQryString ( aPersistList )
55
 
55
 
56
' --- RUN onPostBack ---
56
' --- RUN onPostBack ---
57
If CBool(Request("action")) Then
57
If CBool(Request("action")) Then
58
	Call UpdatePassword ()
58
	Call UpdatePassword ()
59
	
59
	
60
	Call Logon ()
60
	Call Logon ()
61
	
61
	
62
	If objEH.Finally Then
62
	If objEH.Finally Then
63
		' Clean Temp Session Variable
63
		' Clean Temp Session Variable
64
		Session.Contents.Remove(enumUSER_TEMP_VARIABLE)
64
		Session.Contents.Remove(enumUSER_TEMP_VARIABLE)
65
		
65
		
66
		If Request("rfile") <> "" Then
66
		If Request("rfile") <> "" Then
67
			Call OpenInWindow ( Request("rfile") &"?LOGIN=ok"& objPMod.ComposeURLWithout("rfile") )
67
			Call OpenInWindow ( Request("rfile") &"?LOGIN=ok"& objPMod.ComposeURLWithout("rfile") )
68
		Else
68
		Else
69
			Call OpenInWindow ( "index.asp" )
69
			Call OpenInWindow ( "index.asp" )
70
		End If
70
		End If
71
		
71
		
72
	End If
72
	End If
73
End If
73
End If
74
 
74
 
75
'----------------------------------------------
75
'----------------------------------------------
76
%>
76
%>
77
<html>
77
<html>
78
<head>
78
<head>
79
<title>Release Manager</title>
79
<title>Release Manager</title>
80
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
80
<link rel="shortcut icon" href="<%=FavIcon%>"/>
81
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
81
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
82
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
82
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
83
<link rel="stylesheet" href="images/navigation.css" type="text/css">
83
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
84
<script language="JavaScript" src="images/common.js"></script>
84
<link rel="stylesheet" href="images/navigation.css" type="text/css">
85
 
85
<script language="JavaScript" src="images/common.js"></script>
86
</head>
86
 
87
<body leftmargin="0" topmargin="0" onLoad="FormName.cpassword.focus();">
87
</head>
88
<!-- HEADER ++++++++++++++++ -->
88
<body leftmargin="0" topmargin="0" onLoad="FormName.cpassword.focus();">
89
<!--#include file="_header.asp"-->
89
<!-- HEADER ++++++++++++++++ -->
90
<!-- +++++++++++++++++++++++ -->
90
<!--#include file="_header.asp"-->
91
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
91
<!-- +++++++++++++++++++++++ -->
92
<form name="FormName" method="post" action="<%=ScriptName%>" >
92
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
93
  <tr>
93
<form name="FormName" method="post" action="<%=ScriptName%>" >
94
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="42"></td>
94
  <tr>
95
  </tr>
95
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="42"></td>
96
  <tr>
96
  </tr>
97
    <td align="center" valign="middle" bgcolor="#FFFFFF">
97
  <tr>
98
	<!-- LOGIN FROM ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
98
    <td align="center" valign="middle" bgcolor="#FFFFFF">
99
    <table width="570" border="0" cellspacing="0" cellpadding="0">
99
	<!-- LOGIN FROM ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
100
      <tr>
100
    <table width="570" border="0" cellspacing="0" cellpadding="0">
101
        <td align="right"><a href="<%=ACCESS_MANAGER_URL%>" title="Access Manager Home"><img src="icons/img_auth_by_access_manager.gif" width="103" height="26" hspace="2" vspace="3" border="0"></a></td>
101
      <tr>
102
      </tr>
102
        <td align="right"><a href="<%=ACCESS_MANAGER_URL%>" title="Access Manager Home"><img src="icons/img_auth_by_access_manager.gif" width="103" height="26" hspace="2" vspace="3" border="0"></a></td>
103
    </table>
103
      </tr>
104
      <table width="570" border="0" cellspacing="0" cellpadding="1">
104
    </table>
105
        <tr>
105
      <table width="570" border="0" cellspacing="0" cellpadding="1">
106
          <td background="images/bg_bage_2.gif"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
106
        <tr>
107
            <tr>
107
          <td background="images/bg_bage_2.gif"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
108
              <td bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="10">
108
            <tr>
109
                <tr>
109
              <td bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="10">
110
                  <td class="body_txt"><span class="body_h1"><img src="icons/i_user_lrg.gif" width="13" height="17" align="absmiddle">&nbsp;Update Password </span> <br>
110
                <tr>
111
      Please confirm your password. <br>
111
                  <td class="body_txt"><span class="body_h1"><img src="icons/i_user_lrg.gif" width="13" height="17" align="absmiddle">&nbsp;Update Password </span> <br>
112
      <hr width="100%" size="1" noshade color="#ACA899">      </td>
112
      Please confirm your password. <br>
113
                </tr>
113
      <hr width="100%" size="1" noshade color="#ACA899">      </td>
114
                <tr>
114
                </tr>
115
                  <td align="center" valign="top">
115
                <tr>
116
				  <table width="100"  border="0" cellspacing="2" cellpadding="0">
116
                  <td align="center" valign="top">
117
                      <tr>
117
				  <table width="100"  border="0" cellspacing="2" cellpadding="0">
118
                        <td width="10%" nowrap class="form_iname">Confirm Password</td>
118
                      <tr>
119
                        <td width="1%"><input name="cpassword" type="password" class="form_ivalue" size="20"></td>
119
                        <td width="10%" nowrap class="form_iname">Confirm Password</td>
120
                      </tr>
120
                        <td width="1%"><input name="cpassword" type="password" class="form_ivalue" size="20"></td>
121
                      <tr>
121
                      </tr>
122
                        <td nowrap class="form_iname" valign="top">&nbsp;</td>
122
                      <tr>
123
                        <td valign="top">&nbsp;</td>
123
                        <td nowrap class="form_iname" valign="top">&nbsp;</td>
124
                      </tr>
124
                        <td valign="top">&nbsp;</td>
125
                  </table></td>
125
                      </tr>
126
                </tr>
126
                  </table></td>
127
                <tr>
127
                </tr>
128
                  <td background="images/bg_login.gif">
128
                <tr>
129
				  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
129
                  <td background="images/bg_login.gif">
130
                      <tr>
130
				  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
131
                        <td><%=ProgressBar()%></td>
131
                      <tr>
132
                        <td align="right"><input name="btn" type="submit" class="form_btn" value="Update"></td>
132
                        <td><%=ProgressBar()%></td>
133
                      </tr>
133
                        <td align="right"><input name="btn" type="submit" class="form_btn" value="Update"></td>
134
                  </table></td>
134
                      </tr>
135
                </tr>
135
                  </table></td>
136
              </table>
136
                </tr>
137
			  </td>
137
              </table>
138
            </tr>
138
			  </td>
139
          </table></td>
139
            </tr>
140
        </tr>
140
          </table></td>
141
      </table>
141
        </tr>
142
	  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
142
      </table>
143
	  </td>
143
	  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
144
  </tr>
144
	  </td>
145
  <tr>
145
  </tr>
146
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="42"></td>
146
  <tr>
147
  </tr>
147
    <td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="42"></td>
148
<%=objPMod.ComposeHiddenTags()%>
148
  </tr>
149
<input type="hidden" name="user_name" value="<%=Request("user_name")%>">
149
<%=objPMod.ComposeHiddenTags()%>
150
<input type="hidden" name="action" value="true">
150
<input type="hidden" name="user_name" value="<%=Request("user_name")%>">
151
</form>  
151
<input type="hidden" name="action" value="true">
152
</table>
152
</form>  
153
<!-- FOOTER ++++++++++++++++++++++ -->
153
</table>
154
<!--#include file="_footer.asp"-->
154
<!-- FOOTER ++++++++++++++++++++++ -->
155
<!-- +++++++++++++++++++++++++++++ -->
155
<!--#include file="_footer.asp"-->
156
</body>
156
<!-- +++++++++++++++++++++++++++++ -->
157
</html>
157
</body>
158
<%
158
</html>
159
'------------ RUN AFTER PAGE RENDER -----------
159
<%
160
Set objPMod = Nothing
160
'------------ RUN AFTER PAGE RENDER -----------
161
'----------------------------------------------
161
Set objPMod = Nothing
162
%>
162
'----------------------------------------------
163
<!--#include file="common/destructor.asp"-->
163
%>
-
 
164
<!--#include file="common/destructor.asp"-->