Subversion Repositories DevTools

Rev

Rev 6579 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@LANGUAGE="VBSCRIPT"%>
<%
'=====================================================
'|                                                   |
'|                 SEARCH                            |
'|               PACKAGES                            |
'|                                                   |
'=====================================================
%>
<%
Option explicit
' Good idea to set when using redirect
Response.Expires = 0   ' always load the page, dont store
%>
<!--#include file="common/conf.asp"-->
<!--#include file="common/globals.asp"-->
<!--#include file="common/formating.asp"-->
<!--#include file="common/qstr.asp"-->
<!--#include file="common/common_subs.asp"-->
<%
' Make sure rtag_id is always present
If Request("pv_id") = "" AND Request("rtag_id") = "" Then
   Call Destroy_All_Objects
   Response.Redirect("index.asp")
End If

objPMod.PersistInQryString ( aPersistList(enumPAR_ADD_TYPE) )
%>
<%
'------------ ACCESS CONTROL ------------------
%>
<!--#include file="_access_control_login.asp"-->
<!--#include file="_access_control_general.asp"-->
<!--#include file="_access_control_project.asp"-->
<%
'------------ Variable Definition -------------
Dim parPv_id
Dim parAdd_type
'------------ Constants Declaration -----------
'------------ Variable Init -------------------
parAdd_type = Request("add_type")
parPv_id = Request("pv_id")
'----------------------------------------------
%>
<%
Function Page_Title ( NNadd_type )
   If NNadd_type = Cstr(enum_ADD_PACKAGES) Then
      Page_Title = "ADD package"

   ElseIf NNadd_type = Cstr(enum_ADD_DEPENDENCIES) Then
      Page_Title = "ADD dependency"

   ElseIf NNadd_type = Cstr(enum_ADD_RUNTIME_DEPENDENCIES) Then
      Page_Title = "ADD Runtime Dependency"

   Else
      Page_Title = ""

   End If
End Function
%>
<html>
<head>
<title>Release Manager</title>
<link rel="shortcut icon" href="<%=FavIcon%>"/>
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
<!-- DROPDOWN MENUS -->
<!--#include file="_jquery_includes.asp"-->
<!--#include file="_menu_def.asp"-->
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>

</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onLoad="window.document.findpkg.pkgfind.focus();">
<!-- HEADER -->
<!--#include file="_header.asp"-->
<!-- BODY ---->
<table width="100%" height="80%" border="0" cellpadding="0" cellspacing="0">
   <tr>
      <td align="center" valign="top" class='bg_grey'>
         <!-- MIDDLE ---------------------------------------->
         <div>
             <div class=Panel style='width:650px;margin-top: 30px;'>
                 <div class=rounded_box_caption><%=Page_Title ( parAdd_type )%></div>
                 <form name="findpkg" method="post" action="form_search_result_pkgs.asp?rtag_id=<%=parRtag_id%>&add_type=<%=parAdd_type%>">
                 <div class=rounded_box >
                     <div style='padding:10px 0px'>
                       <table width="100%" border="0" cellspacing="1" cellpadding="2" class='embedded rounded_box_pad stdGrey'>
                             <thead>
                                <th nowrap colspan=1>FIND PACKAGE NAME</th>
                                <th></th>
                             </thead>
                             <tr>
                                <td width="1%" nowrap>&nbsp;</td>
                                <td nowrap width="100%" >Enter
                                   <%If parAdd_type = Cstr(enum_ADD_DEPENDENCIES) Then%>dependency <%End If%>package name(s)<br>
                                   <input name="pkgfind" type="text" class="form_item" id="pkgfind" size="40"><br><br>
                                   <span class="body_txt">HINTS:<br>
                                      - Entering 'abc' results in all package names starting
                                      with '*abc*'<br>
                                      - Separate names with spaces for multiple name search.<br>
                                      - Leave blank results in display of all available package
                                      names.<br>
                                   </span>
                                </td>
                             </tr>
                       </table>
                     </div>
                     <div class=buttonPanel>
                        <input type="submit" name="btn" value="Find &raquo;" class="form_btn">
                        <input type="reset" name="btn" value="Cancel" class="form_btn" onClick="history.back();">
                        <input type="hidden" name="pv_id" value="<%=parPv_id%>">
                        <input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
                        <input type="hidden" name="add_type" value="<%=parAdd_type%>">
                     </div>
                 </div>
                 </form>
             </div>
         </div>
         <!-------------------------------------------------->
      </td>
   </tr>
</table>
<!-- FOOTER -->
<!--#include file="_footer.asp"-->
</body>
</html>