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