Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 rsolanki 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|			          Control List					 |
6
'|                                                   |
7
'=====================================================
8
%>
9
<%
10
Option explicit
11
Response.Expires = 0
12
%>
13
<!--#include file="common/globals.asp"-->
14
<!--#include file="common/config.asp"-->
15
<!--#include file="common/common_subs.asp"-->
16
<!--#include file="common/_control_common.asp"-->
17
<%
18
'------------ ACCESS CONTROL ------------------
19
%>
20
<!--#include file="_access_control_general.asp"-->
21
<%
22
'------------ VARIABLE DEFINITION -------------
23
Dim sNode
24
Dim rsQry
25
Dim objAppCollector
26
'------------ CONSTANTS DECLARATION -----------
27
'------------ VARIABLE INIT -------------------
28
Set objAppCollector = CreateObject("Scripting.Dictionary")
29
'------------ CONDITIONS ----------------------
30
'----------------------------------------------
31
%>
32
<%
33
'------------ RUN BEFORE PAGE RENDER ----------
34
Call GetApplicationDetails ( parApp_id, objAppCollector )
35
 
36
If (Request("action") <> "") Then
37
	'-- Select Action
38
 
39
	Select Case Request("action")
40
		Case "btnRemoveControl"
41
			Call OpenInWindow ( "_RemoveControl.asp?obj_id_list="& Request("obj_id_list") &"&rfile="& SCRIPT_NAME &"&"& objPMod.ComposeURL() )
42
 
43
	End Select
44
 
45
End If
46
'----------------------------------------------
47
%>
48
<html>
49
<head>
50
<title>Access Manager</title>
51
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
52
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
53
<link href="scripts/access_manager.css" rel="stylesheet" type="text/css">
54
<script language="JavaScript" src="scripts/common.js"></script>
55
 
56
</head>
57
 
58
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
59
<!-- HEADER ++++++++++++++++++++++ -->
60
<!--#include file="_header.asp"-->
61
<!-- +++++++++++++++++++++++++++++ -->
62
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
63
  <tr>
64
    <td width="1%" valign="top" background="images/bg_bage_pane.gif">
65
	<!-- TREE NAVIGATOR ++++++++++++++++++++++++++++++++++++++++++++ -->
66
	<!--#include file="_treeNavigator.asp"-->  
67
	<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
68
	</td>
69
    <td width="1" background="images/bg_drk_gray_border.gif"><img src="images/spacer.gif" width="1" height="600"></td>
70
    <td width="100%" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="9">
71
	<form name="FormName" method="post" action="<%=SCRIPT_NAME%>">
72
      <tr>
73
        <td background="images/bg_drk_bage_pane.gif">
74
		  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
75
            <tr>
76
              <td nowrap class="body_txt">
77
			    <!-- BUTTONS CONTROL +++++++++++++++++++ -->
78
				<%
79
				'-- Define Action buttons on this tab
80
				aTabBtnsDef = Array("btnNewControl", "btnRemoveControl")
81
 
82
				Call LoadTabActionButtons ( aTabBtnsDef, objBtnControl )
83
 
84
				objBtnControl.Render( aTabBtnsDef )
85
				%>
86
				<!-- +++++++++++++++++++++++++++++++++++ -->
87
			  </td>
88
              <td align="right" nowrap class="section_ttl"><%=objAppCollector.Item ("application_name")%></td>
89
            </tr>
90
          </table>
91
		</td>
92
      </tr>
93
	  <tr>
94
        <td class="menu_crumbttl"><img src="images/i_folder_lrg.gif" width="18" height="15" border="0" align="absmiddle" hspace="4"><strong>Actions</strong></td>
95
      </tr>
96
      <tr>
97
        <td>
98
		 <!-- DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
99
		 <table width="100%"  border="0" cellspacing="3" cellpadding="0">
100
          <tr>
101
		  	<td width="1%" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="16" height="16" hspace="2"></td>
102
            <td width="30%" background="images/bg_table_border.gif"><table width="100%"  border="0" cellspacing="1" cellpadding="2">
103
              <tr>
104
                <td align="right" nowrap background="images/bg_table_col.gif" class="body_col">Action Name</td>
105
              </tr>
106
            </table></td>
107
            <td width="70%" nowrap align="right" background="images/bg_table_col.gif" class="body_col">Description</td>
108
          </tr>
109
		  <%
110
		  OraDatabase.Parameters.Add "APP_ID", parApp_id,	ORAPARM_INPUT, ORATYPE_NUMBER 
111
 
112
		  Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("GetControlList.sql"), ORADYN_DEFAULT )
113
		  While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
114
		  %>
115
          <tr>
116
		  	<td align="center"><input type="checkbox" name="obj_id_list" value="<%=rsQry("obj_id")%>"></td>
117
            <td nowrap class="body_row"><a href="Control_General.asp?obj_id=<%=rsQry("obj_id")%>&<%=objPMod.ComposeURL%>" class="body_link" title="See Control General Info"><%=LIMG_CONTROL &  rsQry("obj_name")%></a></td>
118
            <td class="body_row"><%=rsQry("obj_description")%></td>
119
          </tr>
120
		  <%rsQry.MoveNext%>
121
 
122
		  <%If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%>
123
          <tr>
124
            <td colspan="3" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
125
          </tr>
126
		  <%End If%>
127
 
128
		  <%
129
		  WEnd
130
 
131
		  OraDatabase.Parameters.Remove "APP_ID"
132
		  %>
133
          <tr>
134
            <td colspan="3" background="images/bg_table_border.gif">
135
			 <table width="100%"  border="0" cellspacing="1" cellpadding="2">
136
              <tr>
137
                <td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
138
              </tr>
139
             </table>
140
			</td>
141
          </tr>
142
         </table>	 
143
		 <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
144
         <br></td>
145
      </tr>
146
	  <%=objPMod.ComposeHiddenTags()%>
147
	  <input type="hidden" name="action" value="true">
148
	</form>
149
    </table></td>
150
  </tr>
151
</table>
152
<!-- FOOTER ++++++++++++++++++++++ -->
153
<!--#include file="_footer.asp"-->
154
<!-- +++++++++++++++++++++++++++++ -->
155
</body>
156
</html>
157
<%
158
'------------ RUN AFTER PAGE RENDER -----------
159
'----------------------------------------------
160
%>
161
<!--#include file="common/globals_destructor.asp"-->