Subversion Repositories DevTools

Rev

Rev 6874 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6874 Rev 7536
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
'=====================================================
3
'=====================================================
4
'|                                                   |
4
'|                                                   |
5
'|				     NEW VERSION                     |
5
'|                   NEW VERSION                     |
6
'|                                                   |
6
'|                                                   |
7
'=====================================================
7
'=====================================================
8
%>
8
%>
9
<%
9
<%
10
Option explicit
10
Option explicit
11
' Good idea to set when using redirect
11
' Good idea to set when using redirect
12
Response.Expires = 0	' always load the page, dont store
12
Response.Expires = 0    ' always load the page, dont store
13
Dim bInIframe : bInIframe = False
13
Dim bInIframe : bInIframe = False
14
%>
14
%>
15
<!--#include file="common/conf.asp"-->
15
<!--#include file="common/conf.asp"-->
16
<!--#include file="common/globals.asp"-->
16
<!--#include file="common/globals.asp"-->
17
<!--#include file="common/formating.asp"-->
17
<!--#include file="common/formating.asp"-->
Line 21... Line 21...
21
 
21
 
22
<%
22
<%
23
' Make sure rtag_id is always present
23
' Make sure rtag_id is always present
24
If Request("rtag_id") = "" Then
24
If Request("rtag_id") = "" Then
25
    Call Destroy_All_Objects
25
    Call Destroy_All_Objects
26
	Response.Redirect("index.asp")
26
    Response.Redirect("index.asp")
27
End If
27
End If
28
%>
28
%>
29
<%
29
<%
30
' Set rfile parameter. This is a return page after Login
30
' Set rfile parameter. This is a return page after Login
31
Call objPMod.StoreParameter ( "rfile", "form_new_version.asp" )
31
Call objPMod.StoreParameter ( "rfile", "form_new_version.asp" )
Line 37... Line 37...
37
<%
37
<%
38
'------------ Variable Definition -------------
38
'------------ Variable Definition -------------
39
'------------ Constants Declaration -----------
39
'------------ Constants Declaration -----------
40
'------------ Variable Init -------------------
40
'------------ Variable Init -------------------
41
'----------------------------------------------
41
'----------------------------------------------
42
   If NOT canAddToRelease(Request("rtag_id"),Request("pv_id") ) Then
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>" )
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
44
End If
45
 
-
 
46
%>
45
%>
47
<html>
46
<html>
48
<head>
47
<head>
49
<title>Release Manager</title>
48
<title>Release Manager</title>
50
<link rel="shortcut icon" href="<%=FavIcon%>"/>
49
<link rel="shortcut icon" href="<%=FavIcon%>"/>
Line 63... Line 62...
63
<!--#include file="_header.asp"-->
62
<!--#include file="_header.asp"-->
64
<!-- BODY ---->
63
<!-- BODY ---->
65
<table width="100%" height="80%" border="0" cellpadding="0" cellspacing="0">
64
<table width="100%" height="80%" border="0" cellpadding="0" cellspacing="0">
66
  <tr>
65
  <tr>
67
    <td align="center" valign="top" class='bg_grey'>
66
    <td align="center" valign="top" class='bg_grey'>
68
	<!-- MIDDLE -->
67
    <!-- MIDDLE -->
69
	<!--#include file="_form_new_version_page.asp"-->
68
    <!--#include file="_form_new_version_page.asp"-->
70
	</td>
69
    </td>
71
  </tr>
70
  </tr>
72
</table>
71
</table>
73
<!-- FOOTER -->
72
<!-- FOOTER -->
74
<!--#include file="_footer.asp"-->
73
<!--#include file="_footer.asp"-->
75
</body>
74
</body>