| 5357 |
dpurdie |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| |
|
|
|
5 |
'| SEARCH |
|
|
|
6 |
'| PACKAGES |
|
|
|
7 |
'| |
|
|
|
8 |
'=====================================================
|
|
|
9 |
%>
|
|
|
10 |
<%
|
|
|
11 |
Option explicit
|
|
|
12 |
' Good idea to set when using redirect
|
|
|
13 |
Response.Expires = 0 ' always load the page, dont store
|
|
|
14 |
%>
|
|
|
15 |
<!--#include file="common/conf.asp"-->
|
|
|
16 |
<!--#include file="common/globals.asp"-->
|
|
|
17 |
<!--#include file="common/formating.asp"-->
|
|
|
18 |
<!--#include file="common/qstr.asp"-->
|
|
|
19 |
<!--#include file="common/common_subs.asp"-->
|
|
|
20 |
<%
|
|
|
21 |
' Make sure rtag_id is always present
|
|
|
22 |
If Request("pv_id") = "" AND Request("rtag_id") = "" Then
|
| 5957 |
dpurdie |
23 |
Call Destroy_All_Objects
|
| 5357 |
dpurdie |
24 |
Response.Redirect("index.asp")
|
|
|
25 |
End If
|
|
|
26 |
|
|
|
27 |
objPMod.PersistInQryString ( aPersistList(enumPAR_ADD_TYPE) )
|
|
|
28 |
%>
|
|
|
29 |
<%
|
|
|
30 |
'------------ ACCESS CONTROL ------------------
|
|
|
31 |
%>
|
|
|
32 |
<!--#include file="_access_control_login.asp"-->
|
|
|
33 |
<!--#include file="_access_control_general.asp"-->
|
|
|
34 |
<!--#include file="_access_control_project.asp"-->
|
|
|
35 |
<%
|
|
|
36 |
'------------ Variable Definition -------------
|
|
|
37 |
Dim parPv_id
|
|
|
38 |
Dim parAdd_type
|
|
|
39 |
'------------ Constants Declaration -----------
|
|
|
40 |
'------------ Variable Init -------------------
|
|
|
41 |
parAdd_type = Request("add_type")
|
|
|
42 |
parPv_id = Request("pv_id")
|
|
|
43 |
'----------------------------------------------
|
|
|
44 |
%>
|
|
|
45 |
<%
|
|
|
46 |
Function Page_Title ( NNadd_type )
|
|
|
47 |
If NNadd_type = Cstr(enum_ADD_PACKAGES) Then
|
|
|
48 |
Page_Title = "ADD package"
|
|
|
49 |
|
|
|
50 |
ElseIf NNadd_type = Cstr(enum_ADD_DEPENDENCIES) Then
|
|
|
51 |
Page_Title = "ADD dependency"
|
|
|
52 |
|
|
|
53 |
ElseIf NNadd_type = Cstr(enum_ADD_RUNTIME_DEPENDENCIES) Then
|
|
|
54 |
Page_Title = "ADD Runtime Dependency"
|
|
|
55 |
|
|
|
56 |
Else
|
|
|
57 |
Page_Title = ""
|
|
|
58 |
|
|
|
59 |
End If
|
|
|
60 |
End Function
|
|
|
61 |
%>
|
|
|
62 |
<html>
|
|
|
63 |
<head>
|
|
|
64 |
<title>Release Manager</title>
|
|
|
65 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
|
|
66 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
67 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
68 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
|
|
69 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
|
|
70 |
<script language="JavaScript" src="images/common.js"></script>
|
| 5983 |
dpurdie |
71 |
<!--#include file="_jquery_includes.asp"-->
|
| 5357 |
dpurdie |
72 |
<!-- DROPDOWN MENUS -->
|
|
|
73 |
<!--#include file="_menu_def.asp"-->
|
|
|
74 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
|
|
75 |
|
|
|
76 |
</head>
|
|
|
77 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onLoad="window.document.findpkg.pkgfind.focus();">
|
|
|
78 |
<!-- HEADER -->
|
|
|
79 |
<!--#include file="_header.asp"-->
|
|
|
80 |
<!-- BODY ---->
|
|
|
81 |
<table width="100%" height="80%" border="0" cellpadding="0" cellspacing="0">
|
|
|
82 |
<tr>
|
|
|
83 |
<td align="center" valign="top" background="images/bg_lght_gray.gif">
|
|
|
84 |
<!-- MIDDLE ---------------------------------------->
|
|
|
85 |
<table width="650" border="0" cellspacing="0" cellpadding="0">
|
|
|
86 |
<tr>
|
|
|
87 |
<td>
|
|
|
88 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
89 |
<tr>
|
|
|
90 |
<td width="1%"></td>
|
|
|
91 |
<td align="right"><img src="images/h_trsp_dot.gif" width="30" height="30"></td>
|
|
|
92 |
<td width="1%"></td>
|
|
|
93 |
</tr>
|
|
|
94 |
<tr>
|
|
|
95 |
<td width="1%"></td>
|
|
|
96 |
<td>
|
|
|
97 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
98 |
<tr>
|
|
|
99 |
<td nowrap class="form_ttl"><%=Page_Title ( parAdd_type )%></td>
|
|
|
100 |
<td align="right" valign="bottom"></td>
|
|
|
101 |
</tr>
|
|
|
102 |
</table>
|
|
|
103 |
</td>
|
|
|
104 |
<td width="1%"></td>
|
|
|
105 |
</tr>
|
|
|
106 |
<tr>
|
|
|
107 |
<td align="left" valign="top" width="1%" background="images/lbox_bg_blue.gif">
|
|
|
108 |
<img src="images/lbox_tl_cnr_b.gif" width="13" height="13">
|
|
|
109 |
</td>
|
|
|
110 |
<td background="images/lbox_bg_blue.gif" class="lbox_ttl_w">
|
|
|
111 |
<!-- Heading --><img src="images/h_trsp_dot.gif" width="1" height="20"><!-- END Heading -->
|
|
|
112 |
</td>
|
|
|
113 |
<td align="right" valign="top" width="1%" background="images/lbox_bg_blue.gif">
|
|
|
114 |
<img src="images/lbox_tr_cnr_b.gif" width="13" height="13">
|
|
|
115 |
</td>
|
|
|
116 |
</tr>
|
|
|
117 |
<tr>
|
|
|
118 |
<td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
|
|
|
119 |
<td bgcolor="#FFFFFF" valign="top">
|
|
|
120 |
<!-- Body -->
|
|
|
121 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
122 |
<form name="findpkg" method="post" action="form_search_result_pkgs.asp?rtag_id=<%=parRtag_id%>&add_type=<%=parAdd_type%>">
|
|
|
123 |
<tr>
|
|
|
124 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
125 |
<td width="1%" nowrap class="form_group" valign="bottom">FIND PACKAGE NAME</td>
|
|
|
126 |
<td nowrap width="100%" align="right" class="form_step"> </td>
|
|
|
127 |
</tr>
|
|
|
128 |
<tr>
|
|
|
129 |
<td width="1%"> </td>
|
|
|
130 |
<td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif"> </td>
|
|
|
131 |
<td nowrap width="100%" background="images/bg_form_lightbluedark.gif" class="body_txt">Enter
|
|
|
132 |
<%If parAdd_type = Cstr(enum_ADD_DEPENDENCIES) Then%>dependency <%End If%>package name(s)<br>
|
|
|
133 |
<input name="pkgfind" type="text" class="form_item" id="pkgfind" size="40"><br><br>
|
|
|
134 |
<span class="body_txt">HINTS:<br>
|
|
|
135 |
- Entering 'abc' results in all package names starting
|
|
|
136 |
with '*abc*'<br>
|
|
|
137 |
- Separate names with spaces for multiple name search.<br>
|
|
|
138 |
- Leave blank results in display of all available package
|
|
|
139 |
names.<br>
|
|
|
140 |
</span>
|
|
|
141 |
</td>
|
|
|
142 |
</tr>
|
|
|
143 |
<tr>
|
|
|
144 |
<td width="1%"> </td>
|
|
|
145 |
<td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
146 |
<td nowrap width="100%">
|
|
|
147 |
<input type="submit" name="btn" value="Find »" class="form_btn">
|
|
|
148 |
<input type="reset" name="btn" value="Cancel" class="form_btn" onClick="history.back();">
|
|
|
149 |
<br><br>
|
|
|
150 |
</td>
|
|
|
151 |
</tr>
|
|
|
152 |
<input type="hidden" name="pv_id" value="<%=parPv_id%>">
|
|
|
153 |
<input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
|
|
|
154 |
<input type="hidden" name="add_type" value="<%=parAdd_type%>">
|
|
|
155 |
</form>
|
|
|
156 |
</table>
|
|
|
157 |
<!-- END Body-->
|
|
|
158 |
</td>
|
|
|
159 |
<td width="1%" background="images/lbox_bgside_white.gif"> </td>
|
|
|
160 |
</tr>
|
|
|
161 |
<tr>
|
|
|
162 |
<td width="1%" background="images/lbox_bg_blue.gif" valign="bottom">
|
|
|
163 |
<img src="images/lbox_bl_cnr_b.gif" width="13" height="13">
|
|
|
164 |
</td>
|
|
|
165 |
<td background="images/lbox_bg_blue.gif"></td>
|
|
|
166 |
<td width="1%" background="images/lbox_bg_blue.gif" valign="bottom" align="right">
|
|
|
167 |
<img src="images/lbox_br_cnr_b.gif" width="13" height="13">
|
|
|
168 |
</td>
|
|
|
169 |
</tr>
|
|
|
170 |
</table>
|
|
|
171 |
</td>
|
|
|
172 |
</tr>
|
|
|
173 |
</table>
|
|
|
174 |
<!-------------------------------------------------->
|
|
|
175 |
</td>
|
|
|
176 |
</tr>
|
|
|
177 |
</table>
|
| 5957 |
dpurdie |
178 |
<!-- FOOTER -->
|
|
|
179 |
<!--#include file="_footer.asp"-->
|
| 5357 |
dpurdie |
180 |
</body>
|
|
|
181 |
</html>
|