Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
' 			 	    MAKE APPROVED FOR AUTOMATED BUILD
5
'               --- PROCESS FORM ---
6
'=====================================================
7
%>
8
<%
9
Option explicit
10
' Good idea to set when using redirect
11
Response.Expires = 0	' always load the page, dont store
12
%>
13
 
14
<!--#include file="common/conf.asp"-->
15
<!--#include file="common/globals.asp"-->
16
<!--#include file="common/formating.asp"-->
17
<!--#include file="common/qstr.asp"-->
18
<!--#include file="common/common_subs.asp"-->
19
<!--#include file="common/common_dbedit.asp"-->
123 ghuddy 20
<!--#include file="common/common_make_release_subs.asp"-->
119 ghuddy 21
<%
22
'------------ ACCESS CONTROL ------------------
23
%>
24
<!--#include file="_access_control_login.asp"-->
25
<!--#include file="_access_control_general.asp"-->
26
<!--#include file="_access_control_project.asp"-->
27
<%
28
'------------ Variable Definition -------------
29
Dim parPv_id
30
Dim parRfile
31
Dim retParameters
32
'------------ Constants Declaration -----------
33
'------------ Variable Init -------------------
34
parPv_id = Request("pv_id")
35
parRfile = Request("rfile")
36
'----------------------------------------------
37
%>
38
<%
39
'-----------------------  MAIN LINE  ---------------------------
40
 
41
'--- Process submission ---
123 ghuddy 42
If ( parRtag_id <> "") AND (parPv_id <> "") Then
129 ghuddy 43
   If PUBLIC_ApproveRelease (parRtag_id, parPv_id, retParameters, FALSE) = TRUE Then
123 ghuddy 44
      If parRfile <> "" Then
45
         Response.Redirect ( parRfile &"?pv_id="& parPv_id &"&rtag_id="& parRtag_id )
119 ghuddy 46
		Else
123 ghuddy 47
         Response.Redirect ( "dependencies.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id )
119 ghuddy 48
		End If
49
	Else
123 ghuddy 50
      'This is currently done inside Make_This_PVID_Approved()
51
      'Call RaiseMsg ( Eval(retERRmsg), parRtag_id &"|"& parPv_id  &"|"& retParameters &"|"& "N" )
119 ghuddy 52
	End If
53
Else
1376 dpurdie 54
	Response.write "Some mandatory parameters are missing!" & "<br>" 'TODO
4955 dpurdie 55
	Response.write QSTR_FullQuery
119 ghuddy 56
End If
57
%>
58
 
59
<!-- DESTRUCTOR ------->
123 ghuddy 60
<!--#include file="common/destructor.asp"-->