Subversion Repositories DevTools

Rev

Rev 121 | 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
   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>
<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" type="text/css">
<link rel="stylesheet" href="images/navigation.css" type="text/css">
<script language="JavaScript" src="images/common.js"></script>
<!-- DROPDOWN MENUS -->
<!--#include file="_menu_def.asp"-->
<script language="JavaScript1.2" src="images/popup_menu.js"></script>

</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onLoad="window.document.findpkg.pkgfind.focus();">
<!-- MENU LAYERS -------------------------------------->
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
</div>
<!-- TIPS LAYERS -------------------------------------->
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
<!----------------------------------------------------->
<!-- HEADER -->
<!--#include file="_header.asp"-->
<!-- BODY ---->
<table width="100%" height="80%" border="0" cellpadding="0" cellspacing="0">
   <tr>
      <td align="center" valign="top" background="images/bg_lght_gray.gif">
         <!-- MIDDLE ---------------------------------------->
         <table width="650" border="0" cellspacing="0" cellpadding="0">
            <tr>
               <td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                     <tr>
                        <td width="1%"></td>
                        <td align="right"><img src="images/h_trsp_dot.gif" width="30" height="30"></td>
                        <td width="1%"></td>
                     </tr>
                     <tr>
                        <td width="1%"></td>
                        <td>
                           <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                 <td nowrap class="form_ttl"><%=Page_Title ( parAdd_type )%></td>
                                 <td align="right" valign="bottom"></td>
                              </tr>
                           </table>
                        </td>
                        <td width="1%"></td>
                     </tr>
                     <tr>
                        <td align="left" valign="top" width="1%" background="images/lbox_bg_blue.gif">
                           <img src="images/lbox_tl_cnr_b.gif" width="13" height="13">
                        </td>
                        <td background="images/lbox_bg_blue.gif" class="lbox_ttl_w">
                           <!-- Heading --><img src="images/h_trsp_dot.gif" width="1" height="20"><!-- END Heading -->
                        </td>
                        <td align="right" valign="top" width="1%" background="images/lbox_bg_blue.gif">
                           <img src="images/lbox_tr_cnr_b.gif" width="13" height="13">
                        </td>
                     </tr>
                     <tr>
                        <td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
                        <td bgcolor="#FFFFFF" valign="top">
                           <!-- Body -->
                           <table width="100%" border="0" cellspacing="1" cellpadding="2">
                              <form name="findpkg" method="post" action="form_search_result_pkgs.asp?rtag_id=<%=parRtag_id%>&add_type=<%=parAdd_type%>">
                                 <tr>
                                    <td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
                                    <td width="1%" nowrap class="form_group" valign="bottom">FIND PACKAGE NAME</td>
                                    <td nowrap width="100%" align="right" class="form_step">&nbsp;</td>
                                 </tr>
                                 <tr>
                                    <td width="1%">&nbsp;</td>
                                    <td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">&nbsp;</td>
                                    <td nowrap width="100%" background="images/bg_form_lightbluedark.gif" class="body_txt">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>
                                 <tr>
                                    <td width="1%">&nbsp;</td>
                                    <td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
                                    <td nowrap width="100%">
                                       <input type="submit" name="btn" value="Find &raquo;" class="form_btn">
                                       <input type="reset" name="btn" value="Cancel" class="form_btn" onClick="history.back();">
                                       <br><br>
                                    </td>
                                 </tr>
                                 <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%>">
                              </form>
                           </table>
                           <!-- END Body-->
                        </td>
                        <td width="1%" background="images/lbox_bgside_white.gif">&nbsp;</td>
                     </tr>
                     <tr>
                        <td width="1%" background="images/lbox_bg_blue.gif" valign="bottom">
                           <img src="images/lbox_bl_cnr_b.gif" width="13" height="13">
                        </td>
                        <td background="images/lbox_bg_blue.gif"></td>
                        <td width="1%" background="images/lbox_bg_blue.gif" valign="bottom" align="right">
                           <img src="images/lbox_br_cnr_b.gif" width="13" height="13">
                        </td>
                     </tr>
                  </table>
               </td>
            </tr>
         </table>
         <!-------------------------------------------------->
      </td>
   </tr>
   <tr>
      <td valign="bottom" background="images/bg_lght_gray.gif">
         <!-- FOOTER -->
         <!--#include file="_footer.asp"-->
      </td>
   </tr>
</table>
</body>
</html>
<%
Call Destroy_All_Objects
%>