Subversion Repositories DevTools

Rev

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