Blame | Last modification | View Log | RSS feed
<%'=====================================================' NEW VERSION' PAGE'=====================================================%><!--#include file="_tabs.asp"--><%'------------ Variable Definition -------------Dim parPv_idDim rsLocRelDim parPage_titleDim objPkgInfo'------------ Constants Declaration -----------'------------ Variable Init -------------------parPv_id = QStrPar("pv_id")parPage_title = "NEW VERSION"Set objPkgInfo = CreateObject("Scripting.Dictionary")'----------------------------------------------%><%'-----------------------------------------------------------------------------------------------------------------------------Sub GetPackageInfo( nPvId, outPkgInfo )Dim rsTemp, Query_StringIf IsEmpty(nPvId) Then Exit SubQuery_String = _" SELECT pv.pv_id, pkg.pkg_id, pkg.pkg_name, pv.pkg_version, pv.v_ext"&_" FROM packages pkg, package_versions pv"&_" WHERE pkg.pkg_id = pv.pkg_id AND pv.pv_id ="& nPvIdSet rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))If ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF)) ThenoutPkgInfo.Item("pv_id") = rsTemp.Fields("pv_id")outPkgInfo.Item("pkg_id") = rsTemp.Fields("pkg_id")outPkgInfo.Item("pkg_name") = rsTemp.Fields("pkg_name")outPkgInfo.Item("pkg_version") = rsTemp.Fields("pkg_version")outPkgInfo.Item("v_ext") = rsTemp.Fields("v_ext")End IfrsTemp.CloseSet rsTemp = nothingEnd Sub'-----------------------------------------------------------------------------------------------------------------------------%><%'===================== MAIN LINE ============================Call GetPackageInfo( parPv_id, objPkgInfo )'============================================================%><script language="JavaScript" type="text/JavaScript"><!--function MM_openBrWindow(theURL,winName,features) { //v2.0window.open(theURL,winName,features);}//--></script><script>function Dependency(){parent.window.location.href="dependencies.asp?rtag_id=<%=parRtag_id%>&pv_id=<%=parPv_id%>";}</script><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"><%=parPage_title%></td><td align="right" valign="bottom"><!-- TABS --> </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"><!-- 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="NEWversion" method="post" action="_new_version.asp"><tr><td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="10"></td><td width="1%" nowrap class="form_group" valign="bottom"></td><td nowrap width="100%" align="right" class="form_step"></td></tr><tr><td width="1%"> </td><td colspan="2" width="1%" nowrap class="form_field"><table width="100%" border="0" cellspacing="1" cellpadding="5"><tr><td background="images/bg_form_lightbluedark.gif" nowrap width="1" class="form_field">Package Name</td><td background="images/bg_form_lightgray.gif" nowrap width="100%" class="form_field"><%=objPkgInfo.Item("pkg_name")%></td></tr><tr><td background="images/bg_form_lightbluedark.gif" nowrap class="form_field"> </td><td background="images/bg_form_lightgray.gif" class="form_txt"><input name="build_type" type="radio" value="M" checked onclick="Visible ('divVersionNumber','block','divVersionExt','none')"> Manual Build<input name="build_type" type="radio" value="A" onclick="Visible ('divVersionNumber','none','divVersionExt','block')"> Automated Build</td></tr><tr><td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Version</td><td background="images/bg_form_lightgray.gif" class="form_item"><DIV id="divVersionNumber" name="divVersionNumber"><input type="text" name="FRnewver" class="form_item" size="12" value="<%=objPkgInfo.Item("pkg_version")%>"><a href="javascript:;" onClick="MM_openBrWindow('_wform_get_version.asp?hidepatches=true&rfield=NEWversion.FRnewver&pkg_id=<%=objPkgInfo.Item("pkg_id")%>&pkg_name=<%=objPkgInfo.Item("pkg_name")%>&pv_id=<%=objPkgInfo.Item("pv_id")%>','ReleaseManager','resizable=yes,width=350,height=150')"><img src="images/i_get.gif" width="16" height="16" align="absmiddle" hspace="5" border="0" alt="Get package version" title="Get package version"></a></DIV><DIV id="divVersionExt" name="divVersionExt" style="display:none;">(auto-number)<input type="text" name="v_ext" class="form_item" size="5" value="<%=objPkgInfo.Item("v_ext")%>"><%=Quick_Help ( "v_ext" )%></DIV></td></tr><input type="hidden" name="OLDpv_id" value="<%=parPv_id%>"><input type="hidden" name="rtag_id" value="<%=parRtag_id%>"><input type="hidden" name="page_title" value="<%=parPage_title%>"><input type="hidden" name="action" value="true"><tr><td nowrap><img src="images/h_trsp_dot.gif" width="120" height="1"></td><td></td></tr></table></td></tr><tr><td width="1%"> </td><td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="1" height="1"></td><td nowrap width="100%" class="body_scol"><input type="submit" name="btn" value="Submit" class="form_btn"><input type="reset" name="btn" value="Cancel" class="form_btn" onClick="Dependency();"><SPAN id="ProgressBar" name="ProgressBar" style="visibility:hidden;"><img src="images/i_processing.gif" width="11" height="17" align="absmiddle" hspace="3">Processing...</SPAN><br><br></td></tr></form></table><!-- END Body--></td><td width="1%" background="images/lbox_bgside_white.gif"> </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>