Subversion Repositories DevTools

Rev

Rev 6579 | 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">
6579 dpurdie 68
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
69
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
70
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
6874 dpurdie 71
<!-- DROPDOWN MENUS -->
5983 dpurdie 72
<!--#include file="_jquery_includes.asp"-->
5357 dpurdie 73
<!--#include file="_menu_def.asp"-->
6579 dpurdie 74
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
5357 dpurdie 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>
6874 dpurdie 83
      <td align="center" valign="top" class='bg_grey'>
5357 dpurdie 84
         <!-- MIDDLE ---------------------------------------->
6874 dpurdie 85
         <div>
86
             <div class=Panel style='width:650px;margin-top: 30px;'>
87
                 <div class=rounded_box_caption><%=Page_Title ( parAdd_type )%></div>
88
                 <form name="findpkg" method="post" action="form_search_result_pkgs.asp?rtag_id=<%=parRtag_id%>&add_type=<%=parAdd_type%>">
89
                 <div class=rounded_box >
90
                     <div style='padding:10px 0px'>
91
                       <table width="100%" border="0" cellspacing="1" cellpadding="2" class='embedded rounded_box_pad stdGrey'>
92
                             <thead>
93
                                <th nowrap colspan=1>FIND PACKAGE NAME</th>
94
                                <th></th>
95
                             </thead>
96
                             <tr>
97
                                <td width="1%" nowrap>&nbsp;</td>
98
                                <td nowrap width="100%" >Enter
99
                                   <%If parAdd_type = Cstr(enum_ADD_DEPENDENCIES) Then%>dependency <%End If%>package name(s)<br>
100
                                   <input name="pkgfind" type="text" class="form_item" id="pkgfind" size="40"><br><br>
101
                                   <span class="body_txt">HINTS:<br>
102
                                      - Entering 'abc' results in all package names starting
103
                                      with '*abc*'<br>
104
                                      - Separate names with spaces for multiple name search.<br>
105
                                      - Leave blank results in display of all available package
106
                                      names.<br>
107
                                   </span>
108
                                </td>
109
                             </tr>
110
                       </table>
111
                     </div>
112
                     <div class=buttonPanel>
113
                        <input type="submit" name="btn" value="Find &raquo;" class="form_btn">
114
                        <input type="reset" name="btn" value="Cancel" class="form_btn" onClick="history.back();">
115
                        <input type="hidden" name="pv_id" value="<%=parPv_id%>">
116
                        <input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
117
                        <input type="hidden" name="add_type" value="<%=parAdd_type%>">
118
                     </div>
119
                 </div>
120
                 </form>
121
             </div>
122
         </div>
5357 dpurdie 123
         <!-------------------------------------------------->
124
      </td>
125
   </tr>
126
</table>
5957 dpurdie 127
<!-- FOOTER -->
128
<!--#include file="_footer.asp"-->
5357 dpurdie 129
</body>
130
</html>