Subversion Repositories DevTools

Rev

Rev 5957 | Rev 6070 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
<!-- MENU LAYERS -------------------------------------->
79
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
80
</div>
81
<!-- TIPS LAYERS -------------------------------------->
82
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
83
<!----------------------------------------------------->
84
<!-- HEADER -->
85
<!--#include file="_header.asp"-->
86
<!-- BODY ---->
87
<table width="100%" height="80%" border="0" cellpadding="0" cellspacing="0">
88
   <tr>
89
      <td align="center" valign="top" background="images/bg_lght_gray.gif">
90
         <!-- MIDDLE ---------------------------------------->
91
         <table width="650" border="0" cellspacing="0" cellpadding="0">
92
            <tr>
93
               <td>
94
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
95
                     <tr>
96
                        <td width="1%"></td>
97
                        <td align="right"><img src="images/h_trsp_dot.gif" width="30" height="30"></td>
98
                        <td width="1%"></td>
99
                     </tr>
100
                     <tr>
101
                        <td width="1%"></td>
102
                        <td>
103
                           <table width="100%" border="0" cellspacing="0" cellpadding="0">
104
                              <tr>
105
                                 <td nowrap class="form_ttl"><%=Page_Title ( parAdd_type )%></td>
106
                                 <td align="right" valign="bottom"></td>
107
                              </tr>
108
                           </table>
109
                        </td>
110
                        <td width="1%"></td>
111
                     </tr>
112
                     <tr>
113
                        <td align="left" valign="top" width="1%" background="images/lbox_bg_blue.gif">
114
                           <img src="images/lbox_tl_cnr_b.gif" width="13" height="13">
115
                        </td>
116
                        <td background="images/lbox_bg_blue.gif" class="lbox_ttl_w">
117
                           <!-- Heading --><img src="images/h_trsp_dot.gif" width="1" height="20"><!-- END Heading -->
118
                        </td>
119
                        <td align="right" valign="top" width="1%" background="images/lbox_bg_blue.gif">
120
                           <img src="images/lbox_tr_cnr_b.gif" width="13" height="13">
121
                        </td>
122
                     </tr>
123
                     <tr>
124
                        <td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
125
                        <td bgcolor="#FFFFFF" valign="top">
126
                           <!-- Body -->
127
                           <table width="100%" border="0" cellspacing="1" cellpadding="2">
128
                              <form name="findpkg" method="post" action="form_search_result_pkgs.asp?rtag_id=<%=parRtag_id%>&add_type=<%=parAdd_type%>">
129
                                 <tr>
130
                                    <td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
131
                                    <td width="1%" nowrap class="form_group" valign="bottom">FIND PACKAGE NAME</td>
132
                                    <td nowrap width="100%" align="right" class="form_step">&nbsp;</td>
133
                                 </tr>
134
                                 <tr>
135
                                    <td width="1%">&nbsp;</td>
136
                                    <td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">&nbsp;</td>
137
                                    <td nowrap width="100%" background="images/bg_form_lightbluedark.gif" class="body_txt">Enter
138
                                       <%If parAdd_type = Cstr(enum_ADD_DEPENDENCIES) Then%>dependency <%End If%>package name(s)<br>
139
                                       <input name="pkgfind" type="text" class="form_item" id="pkgfind" size="40"><br><br>
140
                                       <span class="body_txt">HINTS:<br>
141
                                          - Entering 'abc' results in all package names starting
142
                                          with '*abc*'<br>
143
                                          - Separate names with spaces for multiple name search.<br>
144
                                          - Leave blank results in display of all available package
145
                                          names.<br>
146
                                       </span>
147
                                    </td>
148
                                 </tr>
149
                                 <tr>
150
                                    <td width="1%">&nbsp;</td>
151
                                    <td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
152
                                    <td nowrap width="100%">
153
                                       <input type="submit" name="btn" value="Find &raquo;" class="form_btn">
154
                                       <input type="reset" name="btn" value="Cancel" class="form_btn" onClick="history.back();">
155
                                       <br><br>
156
                                    </td>
157
                                 </tr>
158
                                 <input type="hidden" name="pv_id" value="<%=parPv_id%>">
159
                                 <input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
160
                                 <input type="hidden" name="add_type" value="<%=parAdd_type%>">
161
                              </form>
162
                           </table>
163
                           <!-- END Body-->
164
                        </td>
165
                        <td width="1%" background="images/lbox_bgside_white.gif">&nbsp;</td>
166
                     </tr>
167
                     <tr>
168
                        <td width="1%" background="images/lbox_bg_blue.gif" valign="bottom">
169
                           <img src="images/lbox_bl_cnr_b.gif" width="13" height="13">
170
                        </td>
171
                        <td background="images/lbox_bg_blue.gif"></td>
172
                        <td width="1%" background="images/lbox_bg_blue.gif" valign="bottom" align="right">
173
                           <img src="images/lbox_br_cnr_b.gif" width="13" height="13">
174
                        </td>
175
                     </tr>
176
                  </table>
177
               </td>
178
            </tr>
179
         </table>
180
         <!-------------------------------------------------->
181
      </td>
182
   </tr>
183
</table>
5957 dpurdie 184
<!-- FOOTER -->
185
<!--#include file="_footer.asp"-->
5357 dpurdie 186
</body>
187
</html>