Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
121 hknight 5
'|                 SEARCH                            |
6
'|               PACKAGES                            |
119 ghuddy 7
'|                                                   |
8
'=====================================================
9
%>
10
<%
11
Option explicit
12
' Good idea to set when using redirect
121 hknight 13
Response.Expires = 0   ' always load the page, dont store
119 ghuddy 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
121 hknight 23
   Response.Redirect("index.asp")
119 ghuddy 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 )
121 hknight 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
119 ghuddy 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 -------------------------------------->
121 hknight 76
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
119 ghuddy 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">
121 hknight 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">
111
                           <img src="images/lbox_tl_cnr_b.gif" width="13" height="13">
112
                        </td>
113
                        <td background="images/lbox_bg_blue.gif" class="lbox_ttl_w">
114
                           <!-- Heading --><img src="images/h_trsp_dot.gif" width="1" height="20"><!-- END Heading -->
115
                        </td>
116
                        <td align="right" valign="top" width="1%" background="images/lbox_bg_blue.gif">
117
                           <img src="images/lbox_tr_cnr_b.gif" width="13" height="13">
118
                        </td>
119
                     </tr>
120
                     <tr>
121
                        <td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
122
                        <td bgcolor="#FFFFFF" valign="top">
123
                           <!-- Body -->
124
                           <table width="100%" border="0" cellspacing="1" cellpadding="2">
125
                              <form name="findpkg" method="post" action="form_search_result_pkgs.asp?rtag_id=<%=parRtag_id%>&add_type=<%=parAdd_type%>">
126
                                 <tr>
127
                                    <td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
128
                                    <td width="1%" nowrap class="form_group" valign="bottom">FIND PACKAGE NAME</td>
129
                                    <td nowrap width="100%" align="right" class="form_step">&nbsp;</td>
130
                                 </tr>
131
                                 <tr>
132
                                    <td width="1%">&nbsp;</td>
133
                                    <td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">&nbsp;</td>
134
                                    <td nowrap width="100%" background="images/bg_form_lightbluedark.gif" class="body_txt">Enter
135
                                       <%If parAdd_type = Cstr(enum_ADD_DEPENDENCIES) Then%>dependency <%End If%>package name(s)<br>
136
                                       <input name="pkgfind" type="text" class="form_item" id="pkgfind" size="40"><br><br>
137
                                       <span class="body_txt">HINTS:<br>
138
                                          - Entering 'abc' results in all package names starting
139
                                          with '*abc*'<br>
140
                                          - Separate names with spaces for multiple name search.<br>
141
                                          - Leave blank results in display of all available package
142
                                          names.<br>
143
                                       </span>
144
                                    </td>
145
                                 </tr>
146
                                 <tr>
147
                                    <td width="1%">&nbsp;</td>
148
                                    <td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
149
                                    <td nowrap width="100%">
150
                                       <input type="submit" name="btn" value="Find &raquo;" class="form_btn">
151
                                       <input type="reset" name="btn" value="Cancel" class="form_btn" onClick="history.back();">
152
                                       <br><br>
153
                                    </td>
154
                                 </tr>
155
                                 <input type="hidden" name="pv_id" value="<%=parPv_id%>">
156
                                 <input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
157
                                 <input type="hidden" name="add_type" value="<%=parAdd_type%>">
158
                              </form>
159
                           </table>
160
                           <!-- END Body-->
161
                        </td>
162
                        <td width="1%" background="images/lbox_bgside_white.gif">&nbsp;</td>
163
                     </tr>
164
                     <tr>
165
                        <td width="1%" background="images/lbox_bg_blue.gif" valign="bottom">
166
                           <img src="images/lbox_bl_cnr_b.gif" width="13" height="13">
167
                        </td>
168
                        <td background="images/lbox_bg_blue.gif"></td>
169
                        <td width="1%" background="images/lbox_bg_blue.gif" valign="bottom" align="right">
170
                           <img src="images/lbox_br_cnr_b.gif" width="13" height="13">
171
                        </td>
172
                     </tr>
173
                  </table>
174
               </td>
175
            </tr>
176
         </table>
177
         <!-------------------------------------------------->
178
      </td>
179
   </tr>
180
   <tr>
181
      <td valign="bottom" background="images/bg_lght_gray.gif">
182
         <!-- FOOTER -->
183
         <!--#include file="_footer.asp"-->
184
      </td>
185
   </tr>
119 ghuddy 186
</table>
187
</body>
188
</html>
189
<%
190
Call Destroy_All_Objects
121 hknight 191
%>