| 17 |
rsolanki |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| |
|
|
|
5 |
'| MEMBERS |
|
|
|
6 |
'| MY ROLES |
|
|
|
7 |
'=====================================================
|
|
|
8 |
%>
|
|
|
9 |
<%
|
|
|
10 |
Option explicit
|
|
|
11 |
' Good idea to set when using redirect
|
|
|
12 |
Response.Expires = 0 ' always load the page, dont store
|
|
|
13 |
%>
|
|
|
14 |
<!--#include file="common/config.asp"-->
|
|
|
15 |
<!--#include file="common/globals.asp"-->
|
|
|
16 |
<!--#include file="common/formating.asp"-->
|
|
|
17 |
<!--#include file="common/qstr.asp"-->
|
|
|
18 |
<!--#include file="common/common_subs.asp"-->
|
|
|
19 |
<%
|
|
|
20 |
'------------ ACCESS CONTROL ------------------
|
|
|
21 |
%>
|
|
|
22 |
<!--#include file="_access_control_general.asp"-->
|
|
|
23 |
<%
|
|
|
24 |
'------------ Variable Definition -------------
|
|
|
25 |
Dim rsTemp
|
|
|
26 |
'------------ Constants Declaration -----------
|
|
|
27 |
'------------ Variable Init -------------------
|
|
|
28 |
'----------------------------------------------
|
|
|
29 |
%>
|
|
|
30 |
|
|
|
31 |
<html>
|
|
|
32 |
<head>
|
|
|
33 |
<title>Deployment Manager - My Roles</title>
|
|
|
34 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
35 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 29 |
jtweddle |
36 |
<link rel="stylesheet" href="scripts/deployment_manager.css" type="text/css">
|
| 17 |
rsolanki |
37 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
|
|
38 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
| 29 |
jtweddle |
39 |
<script language="JavaScript" src="scripts/common.js"></script>
|
| 17 |
rsolanki |
40 |
</head>
|
|
|
41 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
|
|
|
42 |
<!-- TIPS LAYERS -------------------------------------->
|
|
|
43 |
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10"> </div>
|
|
|
44 |
<!----------------------------------------------------->
|
| 3938 |
dpurdie |
45 |
<!-- HEADER ++++++++++++++++ -->
|
|
|
46 |
<!--#include file="_header.asp"-->
|
|
|
47 |
<!-- +++++++++++++++++++++++ -->
|
| 17 |
rsolanki |
48 |
<!-- BODY ---->
|
|
|
49 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
50 |
<tr>
|
|
|
51 |
<td width="1%" background="images/bg_member_dark.gif" valign="top">
|
|
|
52 |
<!-- MEMBERS MENU ---------------------------------------------->
|
|
|
53 |
<!--#include file="members_menu_def.asp"-->
|
|
|
54 |
<%Call Member_Menu( "my_roles" )%>
|
|
|
55 |
<!-- MEMBERS MENU END ------------------------------------------>
|
|
|
56 |
</td>
|
|
|
57 |
<td width="1%" valign="top" background="images/bg_member_light.gif"><a href="default.asp" class="form_txt_link"><img src="images/i_home.gif" width="13" height="12" border="0" align="absmiddle">Exit</a></td>
|
| 3938 |
dpurdie |
58 |
<td rowspan="2" valign="top" width="70%" background="images/bg_member_light.gif" nowrap>
|
| 17 |
rsolanki |
59 |
<!------------------------------------------->
|
|
|
60 |
<br>
|
|
|
61 |
<span class="mmb_ttl">My Roles</span><br>
|
|
|
62 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 3938 |
dpurdie |
63 |
<form>
|
| 17 |
rsolanki |
64 |
<tr>
|
|
|
65 |
<td width="1%"> </td>
|
|
|
66 |
<td align="right"><img src="images/h_trsp_dot.gif" width="500" height="30"></td>
|
|
|
67 |
<td width="1%"> </td>
|
|
|
68 |
</tr>
|
|
|
69 |
<tr>
|
|
|
70 |
<td align="left" valign="top" width="1%" background="images/bg_member_dark.gif"><img src="images/h_trsp_dot.gif" width="13" height="13"></td>
|
|
|
71 |
<td background="images/bg_member_dark.gif" align="left" class="wform_ttl"> </td>
|
|
|
72 |
<td align="right" valign="top" width="1%" background="images/bg_member_dark.gif"> </td>
|
|
|
73 |
</tr>
|
|
|
74 |
<tr>
|
|
|
75 |
<td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
|
|
|
76 |
<td bgcolor="#FFFFFF" valign="top" class="form_item"> <br>
|
| 3938 |
dpurdie |
77 |
You own the following roles:<br>
|
| 17 |
rsolanki |
78 |
<br>
|
|
|
79 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
80 |
<tr>
|
|
|
81 |
<td width="1%" nowrap background="images/bg_form_lightbluedark.gif" class="form_field"><b>Role Name </b></td>
|
|
|
82 |
<td width="100%" background="images/bg_form_lightbluedark.gif" class="form_field"><b>Description</b></td>
|
|
|
83 |
</tr>
|
|
|
84 |
<%
|
|
|
85 |
OraDatabase.Parameters.Add "USER_ID", objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
86 |
OraDatabase.Parameters.Add "APP_ID", APPLICATION_ID, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
87 |
|
|
|
88 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UserRoles.sql"), cint(0))
|
|
|
89 |
|
|
|
90 |
OraDatabase.Parameters.Remove "USER_ID"
|
|
|
91 |
OraDatabase.Parameters.Remove "APP_ID"
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
95 |
%>
|
|
|
96 |
<tr>
|
|
|
97 |
<td background="images/bg_form_lightgray.gif" class="form_item" nowrap><%=rsTemp("role_name")%></td>
|
|
|
98 |
<td background="images/bg_form_lightgray.gif" class="form_item"><%=rsTemp("comments")%></td>
|
|
|
99 |
</tr>
|
|
|
100 |
<%rsTemp.MoveNext
|
|
|
101 |
WEnd
|
|
|
102 |
|
|
|
103 |
rsTemp.Close()
|
|
|
104 |
Set rsTemp = nothing
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
%>
|
|
|
108 |
</table>
|
|
|
109 |
<br><br>
|
|
|
110 |
</td>
|
|
|
111 |
<td width="1%" background="images/lbox_bgside_white.gif"> </td>
|
|
|
112 |
</tr>
|
|
|
113 |
<tr>
|
|
|
114 |
<td width="1%" background="images/bg_member_dark.gif" valign="bottom"><img src="images/h_trsp_dot.gif" width="13" height="13"></td>
|
|
|
115 |
<td background="images/bg_member_dark.gif"></td>
|
|
|
116 |
<td width="1%" background="images/bg_member_dark.gif" valign="bottom" align="right"><img src="images/h_trsp_dot.gif" width="13" height="13"></td>
|
|
|
117 |
</tr>
|
|
|
118 |
</form>
|
|
|
119 |
</table>
|
|
|
120 |
<!-------------------------------------------------------->
|
|
|
121 |
</td>
|
|
|
122 |
<td rowspan="2" valign="bottom" width="100%" background="images/bg_member_light.gif" align="right"></td>
|
|
|
123 |
</tr>
|
|
|
124 |
<tr>
|
|
|
125 |
<td valign="bottom" align="center" background="images/bg_member_dark.gif"><img src="images/img_members.gif" width="81" height="57" vspace="20" hspace="30"></td>
|
|
|
126 |
<td background="images/bg_member_light.gif" valign="top"><img src="images/h_trsp_dot.gif" width="100" height="400"></td>
|
|
|
127 |
</tr>
|
|
|
128 |
</table>
|
|
|
129 |
<!-- FOOTER -->
|
|
|
130 |
<!--#include file="_footer.asp"-->
|
|
|
131 |
</body>
|
|
|
132 |
</html>
|
|
|
133 |
<%
|
|
|
134 |
Call Destroy_All_Objects
|
|
|
135 |
%>
|