Subversion Repositories DevTools

Rev

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

Rev 6579 Rev 6584
Line 2... Line 2...
2
<%
2
<%
3
'=====================================================
3
'=====================================================
4
'|
4
'|
5
'|  _wform_new_group.asp
5
'|  _wform_new_group.asp
6
'|      Create a new base-view (group)
6
'|      Create a new base-view (group)
7
'|      This page is designed to operation within an iframe
7
'|      This page is designed to operation within an iframe as well as without an iframe
8
'|
8
'|
9
'=====================================================
9
'=====================================================
10
%>
10
%>
11
<%
11
<%
12
Option explicit
12
Option explicit
Line 37... Line 37...
37
Dim parPPv_id
37
Dim parPPv_id
38
Dim parAdd_type
38
Dim parAdd_type
39
Dim parPkg_list
39
Dim parPkg_list
40
Dim parRFile
40
Dim parRFile
41
Dim parMovePkg
41
Dim parMovePkg
-
 
42
Dim parNoFrame
42
'------------ Constants Declaration -----------
43
'------------ Constants Declaration -----------
43
'------------ Variable Init -------------------
44
'------------ Variable Init -------------------
44
parPv_id = Request("pv_id")
45
parPv_id = Request("pv_id")
45
parPPv_id = Request("ppv_id")
46
parPPv_id = Request("ppv_id")
46
parAdd_type = Request("add_type")
47
parAdd_type = Request("add_type")
47
parPkg_list = Request("pkg_list")
48
parPkg_list = Request("pkg_list")
48
parRFile = Request("rfile")
49
parRFile = Request("rfile")
49
parMovePkg = Request("movepkg")
50
parMovePkg = Request("movepkg")
-
 
51
parNoFrame = Request("noFrame")
-
 
52
 
50
'----------------------------------------------
53
'----------------------------------------------
51
%>
54
%>
52
<%
55
<%
53
Function Create_New_Base_View( SSvname )
56
Function Create_New_Base_View( SSvname )
54
   ' Return new Base View
57
   ' Return new Base View
Line 93... Line 96...
93
   If NEWBase_view_id = -1 Then
96
   If NEWBase_view_id = -1 Then
94
      'Group not found i.e. create it
97
      'Group not found i.e. create it
95
      NEWBase_view_id = Create_New_Base_View( Request("base_view_name") )
98
      NEWBase_view_id = Create_New_Base_View( Request("base_view_name") )
96
   End If
99
   End If
97
 
100
 
-
 
101
   If parNoFrame = 1 Then
-
 
102
      ReloadParentWindow()
-
 
103
      Call Destroy_All_Objects
-
 
104
      Response.End
-
 
105
   End If
-
 
106
 
98
   If parMovePkg = "true" Then
107
   If parMovePkg = "true" Then
99
      ' Call is comming from dependencies page to move package to other base view
108
      ' Call is comming from dependencies page to move package to other base view
100
      Call Update_Pkg_Category ( parRtag_id, parPv_id, NEWBase_view_id )
109
      Call Update_Pkg_Category ( parRtag_id, parPv_id, NEWBase_view_id )
101
      Call OpenInParentWindow ("fixed_issues.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id)
110
      Call OpenInParentWindow ("fixed_issues.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id)
102
      Call CloseWindow
111
      Call CloseWindow
Line 148... Line 157...
148
   <input type="hidden" name="add_type" value="<%=parAdd_type%>">
157
   <input type="hidden" name="add_type" value="<%=parAdd_type%>">
149
   <input type="hidden" name="pv_id" value="<%=parPv_id%>">
158
   <input type="hidden" name="pv_id" value="<%=parPv_id%>">
150
   <input type="hidden" name="ppv_id" value="<%=parPPv_id%>">
159
   <input type="hidden" name="ppv_id" value="<%=parPPv_id%>">
151
   <input type="hidden" name="pkg_list" value="<%=parPkg_list%>">
160
   <input type="hidden" name="pkg_list" value="<%=parPkg_list%>">
152
   <input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
161
   <input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
-
 
162
   <input type="hidden" name="noFrame" value="<%=parNoFrame%>">
153
   <input type="hidden" name="action" value="true">
163
   <input type="hidden" name="action" value="true">
154
</form>
164
</form>
155
</body>
165
</body>
156
</html>
166
</html>
157
<!-- DESTRUCTOR ------->
167
<!-- DESTRUCTOR ------->