| 119 |
ghuddy |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
' IGNORE WARNINGS
|
|
|
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/qstr.asp"-->
|
|
|
17 |
<!--#include file="common/formating.asp"-->
|
|
|
18 |
<!--#include file="common/common_subs.asp"-->
|
|
|
19 |
<!--#include file="common/common_dbedit.asp"-->
|
|
|
20 |
<%
|
|
|
21 |
' Set rfile parameter. This is a return page after Login
|
|
|
22 |
Call objPMod.StoreParameter ( "rfile", "dependencies.asp" )
|
|
|
23 |
'------------ ACCESS CONTROL ------------------
|
|
|
24 |
%>
|
|
|
25 |
<!--#include file="_access_control_login.asp"-->
|
|
|
26 |
<!--#include file="_access_control_general.asp"-->
|
|
|
27 |
<!--#include file="_access_control_project.asp"-->
|
|
|
28 |
<%
|
|
|
29 |
'------------ Variable Definition -------------
|
|
|
30 |
Dim FRrtag_id
|
|
|
31 |
Dim FRpv_id
|
|
|
32 |
Dim FRforced
|
|
|
33 |
'------------ Constants Declaration -----------
|
|
|
34 |
'------------ Variable Init -------------------
|
|
|
35 |
FRrtag_id = Request("rtag_id")
|
|
|
36 |
FRpv_id = Request("pv_id")
|
|
|
37 |
FRforced = Request("forced")
|
|
|
38 |
'----------------------------------------------
|
|
|
39 |
%>
|
|
|
40 |
<%
|
|
|
41 |
'---------------------------------------------------------------------------------------------------------------------
|
|
|
42 |
%>
|
|
|
43 |
<%
|
|
|
44 |
'----------------------- MAIN LINE ---------------------------
|
|
|
45 |
|
|
|
46 |
'--- Process submition ---
|
|
|
47 |
If (FRrtag_id <> "") AND (FRpv_id <> "") Then
|
| 129 |
ghuddy |
48 |
Call SetIgnoreWarnings (FRforced, FRpv_id, FRrtag_id)
|
| 119 |
ghuddy |
49 |
|
|
|
50 |
'Call Notify ( FRrtag_id )
|
|
|
51 |
|
|
|
52 |
Response.Redirect("dependencies.asp?rtag_id="& FRrtag_id &"&pv_id="& FRpv_id)
|
|
|
53 |
Else
|
|
|
54 |
Response.write "Some mendatory parameters are missing!" & "<br>" 'TODO
|
|
|
55 |
Response.write QSTR_All
|
|
|
56 |
End If
|
|
|
57 |
%>
|
|
|
58 |
|
|
|
59 |
<!-- DESTRUCTOR ------->
|
|
|
60 |
<!--#include file="common/destructor.asp"-->
|