| 5357 |
dpurdie |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| |
|
|
|
5 |
'| NEW VERSION |
|
|
|
6 |
'| |
|
|
|
7 |
'=====================================================
|
|
|
8 |
%>
|
|
|
9 |
<%
|
|
|
10 |
Option explicit
|
|
|
11 |
' Good idea to set when using redirect
|
|
|
12 |
Response.Expires = 0 ' always load the page, dont store
|
| 5590 |
dpurdie |
13 |
Dim bInIframe : bInIframe = False
|
| 5357 |
dpurdie |
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 |
<!--#include file="common/common_dbedit.asp"-->
|
|
|
21 |
|
|
|
22 |
<%
|
|
|
23 |
' Make sure rtag_id is always present
|
|
|
24 |
If Request("rtag_id") = "" Then
|
| 5957 |
dpurdie |
25 |
Call Destroy_All_Objects
|
| 5357 |
dpurdie |
26 |
Response.Redirect("index.asp")
|
|
|
27 |
End If
|
|
|
28 |
%>
|
|
|
29 |
<%
|
|
|
30 |
' Set rfile parameter. This is a return page after Login
|
|
|
31 |
Call objPMod.StoreParameter ( "rfile", "form_new_version.asp" )
|
|
|
32 |
'------------ ACCESS CONTROL ------------------
|
|
|
33 |
%>
|
|
|
34 |
<!--#include file="_access_control_login.asp"-->
|
|
|
35 |
<!--#include file="_access_control_general.asp"-->
|
|
|
36 |
<!--#include file="_access_control_project.asp"-->
|
|
|
37 |
<%
|
|
|
38 |
'------------ Variable Definition -------------
|
|
|
39 |
'------------ Constants Declaration -----------
|
|
|
40 |
'------------ Variable Init -------------------
|
|
|
41 |
'----------------------------------------------
|
|
|
42 |
If NOT canAddToRelease(Request("rtag_id"),Request("pv_id") ) Then
|
|
|
43 |
Call RaiseMsg ( enum_MSG_ERROR, "<h3>Cannot create a new version of a package that is a part of an SDK.</h3>" )
|
|
|
44 |
End If
|
|
|
45 |
|
|
|
46 |
%>
|
|
|
47 |
<html>
|
|
|
48 |
<head>
|
|
|
49 |
<title>Release Manager</title>
|
|
|
50 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
|
|
51 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
52 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
53 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
|
|
54 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
|
|
55 |
<script language="JavaScript" src="images/common.js"></script>
|
| 5983 |
dpurdie |
56 |
<!--#include file="_jquery_includes.asp"-->
|
| 5357 |
dpurdie |
57 |
<!-- DROPDOWN MENUS -->
|
|
|
58 |
<!--#include file="_menu_def.asp"-->
|
|
|
59 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
|
|
60 |
</head>
|
|
|
61 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
|
|
|
62 |
<!-- MENU LAYERS -------------------------------------->
|
|
|
63 |
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
|
|
|
64 |
</div>
|
|
|
65 |
<!-- TIPS LAYERS -------------------------------------->
|
|
|
66 |
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10"> </div>
|
|
|
67 |
<!----------------------------------------------------->
|
|
|
68 |
<!-- HEADER -->
|
|
|
69 |
<!--#include file="_header.asp"-->
|
|
|
70 |
<!-- BODY ---->
|
|
|
71 |
<table width="100%" height="80%" border="0" cellpadding="0" cellspacing="0">
|
|
|
72 |
<tr>
|
|
|
73 |
<td align="center" valign="top" background="images/bg_lght_gray.gif">
|
|
|
74 |
<!-- MIDDLE -->
|
|
|
75 |
<!--#include file="_form_new_version_page.asp"-->
|
|
|
76 |
</td>
|
|
|
77 |
</tr>
|
|
|
78 |
</table>
|
| 5957 |
dpurdie |
79 |
<!-- FOOTER -->
|
|
|
80 |
<!--#include file="_footer.asp"-->
|
| 5357 |
dpurdie |
81 |
</body>
|
|
|
82 |
</html>
|