Subversion Repositories DevTools

Rev

Go to most recent revision | 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>
5149 dpurdie 108
            <td width="1%" nowrap align="right" background="images/bg_table_col.gif" class="body_col">Edit</td>
2 rsolanki 109
          </tr>
110
		  <%
111
		  OraDatabase.Parameters.Add "APP_ID", parApp_id,	ORAPARM_INPUT, ORATYPE_NUMBER 
112
 
113
		  Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("GetControlList.sql"), ORADYN_DEFAULT )
114
		  While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
115
		  %>
116
          <tr>
117
		  	<td align="center"><input type="checkbox" name="obj_id_list" value="<%=rsQry("obj_id")%>"></td>
118
            <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>
119
            <td class="body_row"><%=rsQry("obj_description")%></td>
5149 dpurdie 120
			<td align="center"><a href="javascript:;" onClick="MM_openBrWindow('wEditControl.asp?obj_id=<%=rsQry("obj_id")%>&rfile=<%=SCRIPT_NAME%>&<%=objPMod.ComposeURL%>','Edit Action','scrollbars=yes,resizable=yes,width=600,height=350')" title='Edit Action'><%=LIMG_EDIT%></a></td>
2 rsolanki 121
          </tr>
122
		  <%rsQry.MoveNext%>
123
 
124
		  <%If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%>
125
          <tr>
5150 dpurdie 126
            <td colspan="4" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
2 rsolanki 127
          </tr>
128
		  <%End If%>
129
 
130
		  <%
131
		  WEnd
132
 
133
		  OraDatabase.Parameters.Remove "APP_ID"
134
		  %>
135
          <tr>
136
            <td colspan="3" background="images/bg_table_border.gif">
137
			 <table width="100%"  border="0" cellspacing="1" cellpadding="2">
138
              <tr>
139
                <td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
140
              </tr>
141
             </table>
142
			</td>
143
          </tr>
144
         </table>	 
145
		 <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
146
         <br></td>
147
      </tr>
148
	  <%=objPMod.ComposeHiddenTags()%>
149
	  <input type="hidden" name="action" value="true">
150
	</form>
151
    </table></td>
152
  </tr>
153
</table>
154
<!-- FOOTER ++++++++++++++++++++++ -->
155
<!--#include file="_footer.asp"-->
156
<!-- +++++++++++++++++++++++++++++ -->
157
</body>
158
</html>
159
<%
160
'------------ RUN AFTER PAGE RENDER -----------
161
'----------------------------------------------
162
%>
163
<!--#include file="common/globals_destructor.asp"-->