| 5354 |
dpurdie |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| |
|
|
|
5 |
'| Application 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="class/classActionButtonControl.asp"-->
|
|
|
17 |
<%
|
|
|
18 |
'------------ ACCESS CONTROL ------------------
|
|
|
19 |
%>
|
|
|
20 |
<!--#include file="_access_control_general.asp"-->
|
|
|
21 |
<%
|
|
|
22 |
'------------ VARIABLE DEFINITION -------------
|
|
|
23 |
Dim rsQry
|
|
|
24 |
Dim objBtnControl
|
|
|
25 |
Dim aTabBtnsDef
|
|
|
26 |
'------------ CONSTANTS DECLARATION -----------
|
|
|
27 |
'------------ VARIABLE INIT -------------------
|
|
|
28 |
Set objBtnControl = New ActionButtonControl
|
|
|
29 |
'------------ CONDITIONS ----------------------
|
|
|
30 |
'----------------------------------------------
|
|
|
31 |
%>
|
|
|
32 |
<%
|
|
|
33 |
'------------ RUN BEFORE PAGE RENDER ----------
|
|
|
34 |
objPMod.PersistInQryString ("tree")
|
|
|
35 |
|
|
|
36 |
If (Request("action") <> "") Then
|
|
|
37 |
'-- Select Action
|
|
|
38 |
|
|
|
39 |
Select Case Request("action")
|
|
|
40 |
Case "btnRemoveApplication"
|
|
|
41 |
Call OpenInWindow ( "_RemoveApplication.asp?app_id="& Request("app_id") &"&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 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
|
|
52 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
53 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
54 |
<link href="scripts/access_manager.css" rel="stylesheet" type="text/css">
|
|
|
55 |
<script language="JavaScript" src="scripts/common.js"></script>
|
| 6658 |
dpurdie |
56 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
| 5354 |
dpurdie |
57 |
</head>
|
|
|
58 |
|
|
|
59 |
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
|
|
|
60 |
<!-- HEADER ++++++++++++++++++++++ -->
|
|
|
61 |
<!--#include file="_header.asp"-->
|
|
|
62 |
<!-- +++++++++++++++++++++++++++++ -->
|
|
|
63 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
64 |
<tr>
|
|
|
65 |
<td width="1%" valign="top" background="images/bg_bage_pane.gif">
|
|
|
66 |
<!-- TREE NAVIGATOR ++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
67 |
<!--#include file="_treeNavigator.asp"-->
|
|
|
68 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
69 |
</td>
|
|
|
70 |
<td width="1" background="images/bg_drk_gray_border.gif"><img src="images/spacer.gif" width="1" height="600"></td>
|
|
|
71 |
<td width="100%" valign="top">
|
|
|
72 |
<table width="100%" border="0" cellspacing="0" cellpadding="9">
|
|
|
73 |
<form name="FormName" method="post" action="<%=SCRIPT_NAME%>">
|
|
|
74 |
<tr>
|
|
|
75 |
<td background="images/bg_drk_bage_pane.gif">
|
|
|
76 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
77 |
<tr>
|
|
|
78 |
<td nowrap class="body_txt">
|
|
|
79 |
<!-- BUTTONS CONTROL +++++++++++++++++++ -->
|
|
|
80 |
<%
|
|
|
81 |
'-- Define Action buttons on this tab
|
|
|
82 |
aTabBtnsDef = Array("btnNewApplication", "btnRemoveApplication" )
|
|
|
83 |
If NOT canActionControl("canCreateApplication") Then objBtnControl.AllActive = "N"
|
|
|
84 |
|
|
|
85 |
Call LoadTabActionButtons ( aTabBtnsDef, objBtnControl )
|
|
|
86 |
|
|
|
87 |
Call objBtnControl.Render( aTabBtnsDef )
|
|
|
88 |
%>
|
|
|
89 |
<!-- +++++++++++++++++++++++++++++++++++ -->
|
|
|
90 |
</td>
|
|
|
91 |
<td align="right" nowrap class="section_ttl">Applications</td>
|
|
|
92 |
</tr>
|
|
|
93 |
</table>
|
|
|
94 |
</td>
|
|
|
95 |
</tr>
|
|
|
96 |
<tr>
|
|
|
97 |
<td><br>
|
|
|
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">Application</td>
|
|
|
105 |
</tr>
|
|
|
106 |
</table></td>
|
|
|
107 |
<td width="70%" align="right" nowrap background="images/bg_table_col.gif" class="body_col"></td>
|
|
|
108 |
</tr>
|
|
|
109 |
<%
|
|
|
110 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("GetApplicationList.sql") , ORADYN_DEFAULT )
|
|
|
111 |
While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
|
|
112 |
%>
|
|
|
113 |
<tr>
|
|
|
114 |
<td align="center"><input type="checkbox" name="app_id" value="<%=rsQry("app_id")%>"></td>
|
|
|
115 |
<td nowrap class="body_row"><a href="Application_Default.asp?tree=1_<%=rsQry("app_id")%>&app_id=<%=rsQry("app_id")%>" class="body_link"><%=LIMG_DISK & rsQry("application_name")%></a></td>
|
|
|
116 |
<td></td>
|
|
|
117 |
</tr>
|
|
|
118 |
<%rsQry.MoveNext%>
|
|
|
119 |
|
|
|
120 |
<%If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%>
|
|
|
121 |
<tr>
|
|
|
122 |
<td colspan="3" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
123 |
</tr>
|
|
|
124 |
<%End If%>
|
|
|
125 |
|
|
|
126 |
<%
|
|
|
127 |
WEnd
|
|
|
128 |
%>
|
|
|
129 |
<tr>
|
|
|
130 |
<td colspan="3" background="images/bg_table_border.gif">
|
|
|
131 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
132 |
<tr>
|
|
|
133 |
<td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
134 |
</tr>
|
|
|
135 |
</table>
|
|
|
136 |
</td>
|
|
|
137 |
</tr>
|
|
|
138 |
</table>
|
|
|
139 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
140 |
<br></td>
|
|
|
141 |
</tr>
|
|
|
142 |
<%=objPMod.ComposeHiddenTags()%>
|
|
|
143 |
<input type="hidden" name="action" value="true">
|
|
|
144 |
</form>
|
|
|
145 |
</table></td>
|
|
|
146 |
</tr>
|
|
|
147 |
</table>
|
|
|
148 |
<!-- FOOTER ++++++++++++++++++++++ -->
|
|
|
149 |
<!--#include file="_footer.asp"-->
|
|
|
150 |
<!-- +++++++++++++++++++++++++++++ -->
|
|
|
151 |
</body>
|
|
|
152 |
</html>
|
|
|
153 |
<%
|
|
|
154 |
'------------ RUN AFTER PAGE RENDER -----------
|
|
|
155 |
'----------------------------------------------
|
|
|
156 |
%>
|
| 2 |
rsolanki |
157 |
<!--#include file="common/globals_destructor.asp"-->
|