Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|		           Run Time Dependencies             |
6
'|                                                   |
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/conf.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
<!--#include file="common/common_dbedit.asp"-->
20
<!--#include file="_tabs.asp"-->
21
<!--#include file="_action_buttons.asp"-->
22
<!--#include file="common/_package_common.asp"-->
23
<%
24
'------------ ACCESS CONTROL ------------------
25
%>
26
<!--#include file="_access_control_general.asp"-->
27
<%
28
'------------ Variable Definition -------------
29
Dim rsTemp
30
Dim	rsQry
31
'------------ Constants Declaration -----------
32
'------------ Variable Init -------------------
33
'----------------------------------------------
34
%>
35
<%
36
Function Get_Runtime_Dependencies ( NNpv_id )
37
	Get_Runtime_Dependencies = _
38
	" SELECT rtd.rtd_id, pkg.pkg_name, pv.pkg_version, rtd.rtd_comments, rtd.rtd_url, "&_
39
	"       rtd.mod_date, usr.full_name, usr.user_email"&_
40
	"  FROM packages pkg, package_versions pv, runtime_dependencies rtd, users usr"&_
41
	" WHERE pv.pkg_id = pkg.pkg_id"&_
42
	"   AND rtd.rtd_id = pv.pv_id"&_
43
	"   AND rtd.mod_user = usr.user_id"&_
44
	"   AND rtd.pv_id = "& NNpv_id &_
45
	" ORDER BY UPPER(pkg.pkg_name) "
46
End Function
47
%>
48
 
49
<html>
50
<head>
51
<title><%=Title(Request("rtag_id"))%></title>
52
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
53
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
54
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
55
<link rel="stylesheet" href="images/navigation.css" type="text/css">
56
<script language="JavaScript" src="images/common.js"></script>
57
<script language="JavaScript" src="scripts/remote_scripting.js"></script>
58
 
59
<!-- DROPDOWN MENUS -->
60
<!--#include file="_menu_def.asp"-->
61
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
62
</head>
63
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
64
<!-- MENU LAYERS -------------------------------------->
65
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
66
  <!----------------------------------------------------->
67
</div>
68
<!-- HEADER -->
69
<!--#include file="_header.asp"-->
70
<!-- BODY ---->
71
<table width="100%" border="0" cellspacing="0" cellpadding="0">
72
	<tr> 
73
		<td valign="top" width="1" background="images/bg_bage.gif">
74
		<!-- LEFT -->
75
		<!--#include file="_environment.asp"-->
76
		</td>
77
		<td width="1" bgcolor="#999999"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
78
		<td valign="top" width="100%">
79
		<!-- MIDDLE -->
80
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
81
		  <tr>
82
		    <td width="1%" background="images/bg_action_norm.gif"><IMG height=35 src="images/spacer.gif" width=15></td>
83
		    <td width="100%" background="images/bg_action_norm.gif"><!--#include file="_pkg_action_buttons.asp"--></td>
84
		    <td width="1%" background="images/bg_action_norm.gif"><IMG height=1 src="images/spacer.gif" width=15></td>
85
		  </tr>
86
		  <!-- PACKAGE PROPERTIES ----------------------------  -->
87
  		  <%Call RenderPackageProperties ()%>
88
		  <tr>
89
		    <td background="images/bg_lght_gray.gif">&nbsp;</td>
90
		    <td valign="bottom" background="images/bg_lght_gray.gif">
91
		      <table width="100" border="0" cellspacing="0" cellpadding="0">
92
		        <tr>
93
		          <td><IMG height=1 src="images/spacer.gif" width=50></td>
94
		          <td>
95
				  <!-- TABS ------------------------------------->
96
				  <%Call Generate_Tab_Menu ( TABarray1, "Runtime", "orange" )%>
97
				  </td>
98
		        </tr>
99
		      </table>
100
		    </td>
101
		    <td background="images/bg_lght_gray.gif">&nbsp;</td>
102
		  </tr>
103
		  <tr>
104
		    <td background="images/lbox_bg_orange.gif"><IMG height=35 src="images/spacer.gif" width=1></td>
105
		    <td background="images/lbox_bg_orange.gif">
106
			<!-- TAB ACTION BUTTONS ------------------------------------->
107
			<%Call Action_Buttons ( "Runtime Dependencies" )%> 
108
			</td>
109
		    <td background="images/lbox_bg_orange.gif">&nbsp;</td>
110
		  </tr>
111
		  <tr>
112
		    <td></td>
113
		    <td valign="top">
114
			<!-- DETAILS ------------------------------------------------->
115
			<br> 					  
116
                        <span class="body_colb">Runtime Dependencies</span><br>
117
                        <table width="100%" border="0" cellspacing="1" cellpadding="3">
118
                          <tr> 
119
                            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field"></td>
120
                            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">Product&nbsp;&nbsp;</td>
121
                            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">Version&nbsp;&nbsp;</td>
122
                            <td background="images/bg_form_lightbluedark.gif" nowrap width="100%" class="form_field">Comments</td>
123
							<td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">URL</td>
124
							<td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field" align="center">Added</td>
125
                            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field"></td>
126
                          </tr>
127
                          <%Set rsTemp = OraDatabase.DbCreateDynaset( Get_Runtime_Dependencies ( parPv_id ), cint(0))%>
128
                          <%If rsTemp.RecordCount < 1 Then%>
129
                          <tr> 
130
                            <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
131
                            <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
132
                            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
133
                            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
134
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
135
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
136
                            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
137
                          </tr>
138
                          <%End If%>
139
                          <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
140
                          <tr>
141
						    <%If (pkgInfoHash.Item("dlocked") = "N") OR (pkgInfoHash.Item("dlocked") = "R") Then%>
142
                            	<td align="center" nowrap background="images/bg_form_lightgray.gif"><a href="javascript:;" onClick="MM_openBrWindow('_wform_update_runtime_dependency.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&rtd_id=<%=rsTemp("rtd_id")%>','UpdateRTD','resizable=yes,width=500,height=350')"><img src="images/i_edit.gif" alt="Edit" width="12" height="12" hspace="3" vspace="3" border="0"></a></td>
143
							<%Else%>
144
								<td align="center" nowrap background="images/bg_form_lightgray.gif"><img src="images/i_edit_disable.gif" alt="Edit disabled." width="12" height="12" hspace="3" vspace="3" border="0"></td>
145
							<%End If%>
146
                            <td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("pkg_name")%></td>
147
                            <td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("pkg_version")%></td>
148
                            <td background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("rtd_comments")%></td>
149
							<td background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%If NOT IsNull(rsTemp("rtd_url")) Then Response.write "<a href='http://"& rsTemp("rtd_url") &"' target='_blank'><img src='images/i_url.gif' width='15' height='15' hspace='3' vspace='3' border='0' alt='"& rsTemp("rtd_url") &"'></a>"%></td>
150
							<td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=EuroDate(rsTemp("mod_date")) &" by <a href='mailto:"& rsTemp("user_email") &"' class='txt_linked'>"& rsTemp("full_name") &"</a>"%></td>
151
							<%If pkgInfoHash.Item("dlocked") = "N" OR (pkgInfoHash.Item("dlocked") = "R")  Then%>
152
                            	<td align="center" background="images/bg_form_lightgray.gif" class="form_item" valign="top"><a href="_remove_runtime_dependency.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&rtd_id=<%=rsTemp("rtd_id")%>" onClick="return confirmDelete('this Runtime Dependency');"><img src="images/i_delete.gif" alt="Remove from list." width="13" height="12" hspace="3" border="0"></a></td>
153
							<%Else%>
154
								<td align="center" background="images/bg_form_lightgray.gif" class="form_item" valign="top"><img src="images/i_delete_disable.gif" alt="Remove disabled." width="13" height="12" hspace="3" border="0"></td>
155
							<%End If%>
156
                          </tr>
157
                          <%rsTemp.MoveNext
158
						  WEnd
159
						  rsTemp.Close
160
						  Set rsTemp = nothing%>
161
                        </table>
162
                        <!------------------------------------------------------------>
163
           <br><br>
164
			<!-- END DETAILS ------------------------------------------------->
165
			</td>
166
		    <td>&nbsp;</td>
167
		  </tr>
168
		</table>
169
		<!-- END MIDDLE -------->
170
		</td>
171
	</tr>
172
</table>
173
<!-- FOOTER -->
174
<!--#include file="_footer.asp"-->
175
</body>
176
</html>			
177
<%
178
Call Destroy_All_Objects
179
%>