Subversion Repositories DevTools

Rev

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

Rev 121 Rev 157
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
'=====================================================
3
'=====================================================
4
'|                                                   |
4
'|                                                   |
5
'|				    	RTREE					     |
5
'|                        RTREE                      |
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
%>
13
%>
14
<!--#include file="common/conf.asp"-->
14
<!--#include file="common/conf.asp"-->
15
<!--#include file="common/globals.asp"-->
15
<!--#include file="common/globals.asp"-->
16
<!--#include file="common/formating.asp"-->
16
<!--#include file="common/formating.asp"-->
17
<!--#include file="common/qstr.asp"-->
17
<!--#include file="common/qstr.asp"-->
18
<!--#include file="common/common_subs.asp"-->
18
<!--#include file="common/common_subs.asp"-->
19
<!--#include file="common/_rtree_common.asp"-->
19
<!--#include file="common/_rtree_common.asp"-->
20
<%
20
<%
21
' Make sure rtag_id is always present
21
' Make sure rtag_id is always present
22
If Request("proj_id") = "" Then
22
If Request("proj_id") = "" Then
23
	Response.Redirect("index.asp")
23
   Response.Redirect("index.asp")
24
End If
24
End If
25
'------------ ACCESS CONTROL ------------------
25
'------------ ACCESS CONTROL ------------------
26
%>
26
%>
27
<!--#include file="_access_control_general.asp"-->
27
<!--#include file="_access_control_general.asp"-->
28
<%
28
<%
29
'------------ Variable Definition -------------
29
'------------ Variable Definition -------------
30
Dim objSortHelper
30
Dim objSortHelper
31
Dim ViewType
31
Dim ViewType
-
 
32
Dim rsQryStr
32
Dim rsQry
33
Dim rsQry
33
Dim parProjId
34
Dim parProjId
-
 
35
Dim parShowFilter
34
Dim nProjTreeVersion
36
Dim nProjTreeVersion
35
Dim objBtnControl
37
Dim objBtnControl
36
Dim currLevel, lastLevel, lastRow, aVersions, i
38
Dim currLevel, lastLevel, lastRow, aVersions, i
-
 
39
Dim dListFilter
-
 
40
 
37
'------------ Constants Declaration -----------
41
'------------ Constants Declaration -----------
38
'Const LIMG_TREE_I_HALF = "<img src='images/spacer.gif' width='5' height='1'><img src='icons/tree_i_half.gif' align='absmiddle'>"
42
'Const LIMG_TREE_I_HALF = "<img src='images/spacer.gif' width='5' height='1'><img src='icons/tree_i_half.gif' align='absmiddle'>"
39
'Const LIMG_TREE_I_FULL = "<img src='images/spacer.gif' width='5' height='1'><img src='icons/tree_i.gif' align='absmiddle'>"
43
'Const LIMG_TREE_I_FULL = "<img src='images/spacer.gif' width='5' height='1'><img src='icons/tree_i.gif' align='absmiddle'>"
40
'Const LIMG_TREE_T = "<img src='images/spacer.gif' width='5' height='1'><img src='icons/tree_t.gif' align='absmiddle'>"
44
'Const LIMG_TREE_T = "<img src='images/spacer.gif' width='5' height='1'><img src='icons/tree_t.gif' align='absmiddle'>"
41
Const LIMG_TREE_I_HALF = "<img src='images/spacer.gif' width='20' height='1'>"
45
Const LIMG_TREE_I_HALF = "<img src='images/spacer.gif' width='20' height='1'>"
42
Const LIMG_TREE_I_FULL = "<img src='images/dot1.gif' width='30' height='15'>"
46
Const LIMG_TREE_I_FULL = "<img src='images/dot1.gif' width='30' height='15'>"
43
Const LIMG_TREE_T = "<img src='images/dot1.gif' width='30' height='15'>"
47
Const LIMG_TREE_T      = "<img src='images/dot1.gif' width='30' height='15'>"
44
Const LIMG_LIST_VIEW = "<img src='images/abtn_list_view.gif' border='0' align=absmiddle' name='imgviewtype' usemap='#mapviewtype' id='imgviewtype'>"
48
Const LIMG_LIST_VIEW   = "<img src='images/abtn_list_view.gif' border='0' align=absmiddle' name='imgviewtype' usemap='#mapviewtype' id='imgviewtype'>"
45
Const LIMG_TREE_VIEW = "<img src='images/abtn_tree_view.gif' border='0' align=absmiddle' name='imgviewtype' usemap='#mapviewtype' id='imgviewtype'>"
49
Const LIMG_TREE_VIEW   = "<img src='images/abtn_tree_view.gif' border='0' align=absmiddle' name='imgviewtype' usemap='#mapviewtype' id='imgviewtype'>"
46
Const LCONST_LIST_VIEW = 1
50
Const LCONST_LIST_VIEW = 1
47
Const LCONST_TREE_VIEW = 2
51
Const LCONST_TREE_VIEW = 2
-
 
52
Const DEFAULT_SHOW_FILTER = "'N','R','C'"
-
 
53
Const LIMG_FILTER_ON  = "<img src='images/i_data_table.gif' border='0' align='absmiddle' hspace='0' title='Filter in use.'>"
-
 
54
Const LIMG_FILTER_OFF = "<img src='images/i_data_table_off.gif' border='0' align='absmiddle' hspace='0' title='Filter not in use.'>"
-
 
55
Const LIMG_DROP_DOWN_ARROW = "<img src='images/i_drop_down_arrow.gif' width='5' height='15' hspace='1' border='0' align='absmiddle'>"
-
 
56
 
48
'------------ Variable Init -------------------
57
'------------ Variable Init -------------------
49
parProjId = Request("proj_id")
58
parProjId = Request("proj_id")
-
 
59
 
-
 
60
' Get show_filter from query string or failing that, from the cookie.
-
 
61
' Make sure that if neither supplies it, use the default
-
 
62
parShowFilter = Request("show_filter")
-
 
63
If NOT IsNull(parShowFilter) AND parShowFilter <> "" Then
-
 
64
   Response.Cookies (COOKIE_RELEASE_MANAGER_MEMORY)("show_filter") = parShowFilter
-
 
65
Else
-
 
66
   parShowFilter = Request.Cookies (COOKIE_RELEASE_MANAGER_MEMORY)("show_filter")
-
 
67
   If IsNull(parShowFilter) OR parShowFilter = "" Then
-
 
68
      parShowFilter = DEFAULT_SHOW_FILTER
-
 
69
      Response.Cookies (COOKIE_RELEASE_MANAGER_MEMORY)("show_filter") = parShowFilter
-
 
70
   End If
-
 
71
End If
-
 
72
 
-
 
73
Set dListFilter = CreateObject("Scripting.Dictionary")
-
 
74
 
50
nProjTreeVersion = GetProjTreeVersion( parProjId )
75
nProjTreeVersion = GetProjTreeVersion( parProjId )
51
Set objBtnControl = New ActionButtonControl
76
Set objBtnControl = New ActionButtonControl
52
objPMod.PersistInQryString("proj_id")
77
objPMod.PersistInQryString("proj_id")
53
'----------------------------------------------
78
'----------------------------------------------
54
%>
79
%>
55
<%
80
<%
-
 
81
'--------------------------------------------------------------------------------------------------------------------------
-
 
82
' Determines icon that precedes the drop down arrow in the filter box
-
 
83
Function GetIsListFilterInUseIcon()
-
 
84
   GetIsListFilterInUseIcon = LIMG_FILTER_ON & LIMG_DROP_DOWN_ARROW
-
 
85
 
-
 
86
   If dListFilter.Count > 0 Then
-
 
87
      GetIsListFilterInUseIcon = LIMG_FILTER_OFF & LIMG_DROP_DOWN_ARROW
-
 
88
   End If
-
 
89
End Function
-
 
90
'--------------------------------------------------------------------------------------------------------------------------
-
 
91
' Determines if the specified filter is on/off and returns a string to use to check the associated checkbox accordingly
-
 
92
Function GetIsListFilterChecked( nFilterId )
-
 
93
   GetIsListFilterChecked = ""
-
 
94
   If dListFilter.Exists ( "'" & CStr(nFilterId) & "'"  ) Then
-
 
95
      GetIsListFilterChecked = "checked"
-
 
96
   End If
-
 
97
End Function
-
 
98
'--------------------------------------------------------------------------------------------------------------------------
-
 
99
' Reads the cookie for the filter and creats a dictionary element for each item therein. the dictionary
-
 
100
' is used by the GetIsListFilterChecked function to determine checkbox state in the filter options
-
 
101
Sub GetListFilterValues ( outDepFilter )
-
 
102
   Dim FilterVal, aFilterValues
-
 
103
 
-
 
104
   If Request.Cookies(COOKIE_RELEASE_MANAGER_MEMORY)("show_filter") <> "" Then
-
 
105
      aFilterValues = Split( Replace( Request.Cookies(COOKIE_RELEASE_MANAGER_MEMORY)("show_filter"), " ", ""), ",")
-
 
106
 
-
 
107
      For Each FilterVal In aFilterValues
-
 
108
         outDepFilter.Item (CStr( FilterVal )) = ""
-
 
109
      Next
-
 
110
   End If
-
 
111
End Sub
-
 
112
 
56
'----------------------------------------------------------------------------------------------------------------------------------------------
113
'----------------------------------------------------------------------------------------------------------------------------------------------
57
Function GetProjTreeVersion ( nProjId )
114
Function GetProjTreeVersion ( nProjId )
58
	Dim rsTemp, QueryString
115
   Dim rsTemp, QueryString
59
	
116
 
60
	QueryString = _
117
   QueryString = _
61
	" SELECT rt.RTAG_VERSION "&_
118
   " SELECT rt.RTAG_VERSION "&_
62
	"   FROM RELEASE_TAGS rt "&_
119
   "   FROM RELEASE_TAGS rt "&_
63
	"  WHERE rt.PROJ_ID = :PROJ_ID "&_
120
   "  WHERE rt.PROJ_ID = :PROJ_ID "&_
64
	"    AND rt.RTAG_ID = rt.PARENT_RTAG_ID"
121
   "    AND rt.RTAG_ID = rt.PARENT_RTAG_ID"
65
	
122
 
66
	OraDatabase.Parameters.Add "PROJ_ID", 	nProjId, 	ORAPARM_INPUT, ORATYPE_NUMBER
123
   OraDatabase.Parameters.Add "PROJ_ID",  nProjId,    ORAPARM_INPUT, ORATYPE_NUMBER
67
	
124
 
68
	Set rsTemp = OraDatabase.DbCreateDynaset( QueryString, cint(0))
125
   Set rsTemp = OraDatabase.DbCreateDynaset( QueryString, cint(0))
69
	
126
 
70
	OraDatabase.Parameters.Remove "PROJ_ID"
127
   OraDatabase.Parameters.Remove "PROJ_ID"
71
	
128
 
72
	
129
 
73
	
130
 
74
	If ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF)) Then
131
   If ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF)) Then
75
		GetProjTreeVersion = rsTemp("rtag_version")
132
      GetProjTreeVersion = rsTemp("rtag_version")
76
	Else
133
   Else
77
		GetProjTreeVersion = NULL
134
      GetProjTreeVersion = NULL
78
	End If
135
   End If
79
	
136
 
80
	rsTemp.Close
137
   rsTemp.Close
81
	Set rsTemp = nothing
138
   Set rsTemp = nothing
82
End Function
139
End Function
83
'----------------------------------------------------------------------------------------------------------------------------------------------
140
'----------------------------------------------------------------------------------------------------------------------------------------------
84
Sub RenderRowConnectors ( nLastLevel, nCurrLevel )
141
Sub RenderRowConnectors ( nLastLevel, nCurrLevel )
85
	Dim i, LastLine
142
   Dim i, LastLine
86
	
143
 
87
	'-- Initial Draw --
144
   '-- Initial Draw --
88
	If nLastLevel = 0 Then
145
   If nLastLevel = 0 Then
89
		nLastLevel = nCurrLevel
146
      nLastLevel = nCurrLevel
90
		Exit Sub
147
      Exit Sub
91
	End If
148
   End If
92
	
149
 
93
	'-- Calculate number of half lines rendered
150
   '-- Calculate number of half lines rendered
94
	If nLastLevel < nCurrLevel Then
151
   If nLastLevel < nCurrLevel Then
95
		LastLine = nLastLevel
152
      LastLine = nLastLevel
96
	Else
153
   Else
97
		LastLine = nCurrLevel
154
      LastLine = nCurrLevel
98
	End If
155
   End If
99
	
156
 
100
	
157
 
101
	'-- Render half lines
158
   '-- Render half lines
102
	For i = 1 To LastLine
159
   For i = 1 To LastLine
103
		Response.write LIMG_TREE_I_HALF
160
      Response.write LIMG_TREE_I_HALF
104
	Next
161
   Next
105
	
162
 
106
End Sub
163
End Sub
107
'----------------------------------------------------------------------------------------------------------------------------------------------
164
'----------------------------------------------------------------------------------------------------------------------------------------------
108
Sub RenderIndent ( nLastLevel, nCurrLevel )
165
Sub RenderIndent ( nLastLevel, nCurrLevel )
109
	Dim i
166
   Dim i
110
	
167
 
111
	If nCurrLevel <= 1 Then Exit Sub
168
   If nCurrLevel <= 1 Then Exit Sub
112
	
169
 
113
	
170
 
114
	'-- Render half lines
171
   '-- Render half lines
115
	If nCurrLevel > 2 Then
172
   If nCurrLevel > 2 Then
116
		For i = 1 To nCurrLevel - 2
173
      For i = 1 To nCurrLevel - 2
117
			Response.write LIMG_TREE_I_FULL
174
         Response.write LIMG_TREE_I_FULL
118
		Next
175
      Next
119
	End If
176
   End If
120
	
177
 
121
	
178
 
122
	'-- Render branch or line
179
   '-- Render branch or line
123
	If nLastLevel < nCurrLevel Then
180
   If nLastLevel < nCurrLevel Then
124
		Response.write LIMG_TREE_T
181
      Response.write LIMG_TREE_T
125
	Else
182
   Else
126
		Response.write LIMG_TREE_I_FULL
183
      Response.write LIMG_TREE_I_FULL
127
	End If
184
   End If
128
	
185
 
129
	
186
 
130
	
187
 
131
	
188
 
132
End Sub
189
End Sub
133
'----------------------------------------------------------------------------------------------------------------------------------------------
190
'----------------------------------------------------------------------------------------------------------------------------------------------
134
Function GetLevel ( sRtagVersion )
191
Function GetLevel ( sRtagVersion )
135
	Dim tempArr
192
   Dim tempArr
136
	
193
 
137
	If InStr( sRtagVersion, "." ) > 0 Then
194
   If InStr( sRtagVersion, "." ) > 0 Then
138
		'-- Dot separator found --
195
      '-- Dot separator found --
139
		
196
 
140
		'-- Split version --
197
      '-- Split version --
141
		tempArr = Split( sRtagVersion, "." )
198
      tempArr = Split( sRtagVersion, "." )
142
		
199
 
143
		GetLevel = UBound( tempArr ) + 1
200
      GetLevel = UBound( tempArr ) + 1
144
		
201
 
145
	Else
202
   Else
146
		GetLevel = 1
203
      GetLevel = 1
147
		
204
 
148
	End If
205
   End If
149
	
206
 
150
End Function
207
End Function
151
'----------------------------------------------------------------------------------------------------------------------------------------------
208
'----------------------------------------------------------------------------------------------------------------------------------------------
152
Sub NewRelease ()
209
Sub NewRelease ()
153
	On Error Resume Next
210
   On Error Resume Next
154
	
211
 
155
	objEH.Try
212
   objEH.Try
156
		If NOT IsNumeric(Request("rtag_id_list")) Then
213
      If NOT IsNumeric(Request("rtag_id_list")) Then
157
			Err.Raise 8, "Please select one release only.", "No further details available."
214
         Err.Raise 8, "Please select one release only.", "No further details available."
158
			
215
 
159
		Else
216
      Else
160
			Call OpenInWindow ( "new_release.asp?rtag_id_list="& Replace( Request("rtag_id_list"), " ","" ) &"&"& objPMod.ComposeURL() )
217
         Call OpenInWindow ( "new_release.asp?rtag_id_list="& Replace( Request("rtag_id_list"), " ","" ) &"&"& objPMod.ComposeURL() )
161
			
218
 
162
		End If
219
      End If
163
		
220
 
164
	objEH.Catch
221
   objEH.Catch
165
	
222
 
166
End Sub
223
End Sub
167
'----------------------------------------------------------------------------------------------------------------------------------------------
224
'----------------------------------------------------------------------------------------------------------------------------------------------
168
Sub DestroyRelease ()
225
Sub DestroyRelease ()
169
	On Error Resume Next
226
   On Error Resume Next
170
	
227
 
171
	objEH.Try
228
   objEH.Try
172
		If NOT IsNumeric(Request("rtag_id_list")) Then
229
      If NOT IsNumeric(Request("rtag_id_list")) Then
173
			Err.Raise 8, "Please select one release only.", "No further details available."
230
         Err.Raise 8, "Please select one release only.", "No further details available."
174
			
231
 
175
		Else
232
      Else
176
			If Request("rtag_id_list") = "" Then
233
         If Request("rtag_id_list") = "" Then
177
				Err.Raise 8, "Please select one release.", "No further details available."
234
            Err.Raise 8, "Please select one release.", "No further details available."
178
			Else
235
         Else
179
				Call OpenInWindow ( "_destroy_release.asp?rtag_id_list="& Replace( Request("rtag_id_list"), " ","" ) &"&"& objPMod.ComposeURL() )
236
            Call OpenInWindow ( "_destroy_release.asp?rtag_id_list="& Replace( Request("rtag_id_list"), " ","" ) &"&"& objPMod.ComposeURL() )
180
			End If
237
         End If
181
			
238
 
182
		End If
239
      End If
183
		
240
 
184
	objEH.Catch
241
   objEH.Catch
185
	
242
 
186
End Sub
243
End Sub
187
'----------------------------------------------------------------------------------------------------------------------------------------------
244
'----------------------------------------------------------------------------------------------------------------------------------------------
188
Sub EditRelease ()
245
Sub EditRelease ()
189
	On Error Resume Next
246
   On Error Resume Next
190
	
247
 
191
	objEH.Try
248
   objEH.Try
192
		If NOT IsNumeric(Request("rtag_id_list")) Then
249
      If NOT IsNumeric(Request("rtag_id_list")) Then
193
			Err.Raise 8, "Please select one release only.", "No further details available."
250
         Err.Raise 8, "Please select one release only.", "No further details available."
194
			
251
 
195
		Else
252
      Else
196
			If Request("rtag_id_list") = "" Then
253
         If Request("rtag_id_list") = "" Then
197
				Err.Raise 8, "Please select one release.", "No further details available."
254
            Err.Raise 8, "Please select one release.", "No further details available."
198
			Else
255
         Else
199
				Call OpenInWindow ( "form_edit_release.asp?rtag_id_list="& Replace( Request("rtag_id_list"), " ","" ) &"&"& objPMod.ComposeURL() )
256
            Call OpenInWindow ( "form_edit_release.asp?rtag_id_list="& Replace( Request("rtag_id_list"), " ","" ) &"&"& objPMod.ComposeURL() )
200
			End If
257
         End If
201
			
258
 
202
		End If
259
      End If
203
		
260
 
204
	objEH.Catch
261
   objEH.Catch
205
	
262
 
206
End Sub
263
End Sub
207
'----------------------------------------------------------------------------------------------------------------------------------------------
264
'----------------------------------------------------------------------------------------------------------------------------------------------
208
Sub MoveRelease ()
265
Sub MoveRelease ()
209
	On Error Resume Next
266
   On Error Resume Next
210
	
267
 
211
	objEH.Try
268
   objEH.Try
212
		If NOT IsNumeric(Request("rtag_id_list")) Then
269
      If NOT IsNumeric(Request("rtag_id_list")) Then
213
			Err.Raise 8, "Please select one release only.", "No further details available."
270
         Err.Raise 8, "Please select one release only.", "No further details available."
214
			
271
 
215
		Else
272
      Else
216
			If Request("rtag_id_list") = "" Then
273
         If Request("rtag_id_list") = "" Then
217
				Err.Raise 8, "Please select one release.", "No further details available."
274
            Err.Raise 8, "Please select one release.", "No further details available."
218
			Else
275
         Else
219
				Call OpenInWindow ( "form_move_release.asp?rtag_id_list="& Replace( Request("rtag_id_list"), " ","" ) &"&"& objPMod.ComposeURL() )
276
            Call OpenInWindow ( "form_move_release.asp?rtag_id_list="& Replace( Request("rtag_id_list"), " ","" ) &"&"& objPMod.ComposeURL() )
220
			End If
277
         End If
221
			
278
 
222
		End If
279
      End If
223
		
280
 
224
	objEH.Catch
281
   objEH.Catch
225
	
282
 
226
End Sub
283
End Sub
227
'----------------------------------------------------------------------------------------------------------------------------------------------
284
'----------------------------------------------------------------------------------------------------------------------------------------------
228
Sub MergeManager ()
285
Sub MergeManager ()
229
	Dim aReleases
286
   Dim aReleases
230
	On Error Resume Next
287
   On Error Resume Next
231
	
288
 
232
	objEH.Try
289
   objEH.Try
233
		
290
 
234
		If Request("rtag_id_list") <> "" Then
291
      If Request("rtag_id_list") <> "" Then
235
			aReleases = Split ( Replace( Request("rtag_id_list"), " ", ""), "," )
292
         aReleases = Split ( Replace( Request("rtag_id_list"), " ", ""), "," )
236
			
293
 
237
			If UBound(aReleases) = 0 Then
294
         If UBound(aReleases) = 0 Then
238
				' Open Merge Manager
295
            ' Open Merge Manager
239
				Call OpenInWindow ( "diff.asp?rtagA="& aReleases(0)  )
296
            Call OpenInWindow ( "diff.asp?rtagA="& aReleases(0)  )
240
				
297
 
241
				
298
 
242
			ElseIf UBound(aReleases) = 1 Then
299
         ElseIf UBound(aReleases) = 1 Then
243
				' Open Merge Manager
300
            ' Open Merge Manager
244
				Call OpenInWindow ( "diff.asp?rtagA="& aReleases(0) &"&rtagB="& aReleases(1) )
301
            Call OpenInWindow ( "diff.asp?rtagA="& aReleases(0) &"&rtagB="& aReleases(1) )
245
				
302
 
246
				
303
 
247
			Else
304
         Else
248
				Err.Raise 8, "Please select maximum two release.", "No further details available."
305
            Err.Raise 8, "Please select maximum two release.", "No further details available."
249
				
306
 
250
			End If
307
         End If
251
			
308
 
252
		Else
309
      Else
253
			' Open Merge Manager without parameters
310
         ' Open Merge Manager without parameters
254
			Call OpenInWindow ( "diff.asp" )
311
         Call OpenInWindow ( "diff.asp" )
255
			
312
 
256
		End If
313
      End If
257
		
314
 
258
	objEH.Catch
315
   objEH.Catch
259
	
316
 
260
End Sub
317
End Sub
261
'----------------------------------------------------------------------------------------------------------------------------------------------
318
'----------------------------------------------------------------------------------------------------------------------------------------------
262
Function GetViewType ()
319
Function GetViewType ()
263
	Dim CookieViewType
320
   Dim CookieViewType
264
	
321
 
265
	CookieViewType = Request.Cookies (COOKIE_RELEASE_MANAGER_MEMORY)("RELEASE_VIEW") 
322
   CookieViewType = Request.Cookies (COOKIE_RELEASE_MANAGER_MEMORY)("RELEASE_VIEW")
266
	
323
 
267
	If CookieViewType <> "" Then
324
   If CookieViewType <> "" Then
268
		' Get current view type from cookie
325
      ' Get current view type from cookie
269
		GetViewType = CInt(CookieViewType)
326
      GetViewType = CInt(CookieViewType)
270
		
-
 
271
	Else
327
   Else
272
		' Set current view to list view
328
      ' Set current view to list view
273
		Response.Cookies (COOKIE_RELEASE_MANAGER_MEMORY)("RELEASE_VIEW") = LCONST_LIST_VIEW
329
      Response.Cookies (COOKIE_RELEASE_MANAGER_MEMORY)("RELEASE_VIEW") = LCONST_LIST_VIEW
274
		GetViewType = LCONST_LIST_VIEW
330
      GetViewType = LCONST_LIST_VIEW
275
		
-
 
276
	End If
331
   End If
277
	
332
 
278
End Function
333
End Function
279
'----------------------------------------------------------------------------------------------------------------------------------------------
334
'----------------------------------------------------------------------------------------------------------------------------------------------
280
Sub SetViewType ()
335
Sub SetViewType ()
281
	
-
 
282
	If Request("viewtype") = "" Then Exit Sub 	' Nothing to do
336
   If Request("viewtype") = "" Then Exit Sub    ' Nothing to do
283
	
337
 
284
	Response.Cookies (COOKIE_RELEASE_MANAGER_MEMORY)("RELEASE_VIEW") = Request("viewtype")	
338
   Response.Cookies (COOKIE_RELEASE_MANAGER_MEMORY)("RELEASE_VIEW") = Request("viewtype")
285
	
-
 
286
End Sub
339
End Sub
287
'----------------------------------------------------------------------------------------------------------------------------------------------
340
'----------------------------------------------------------------------------------------------------------------------------------------------
288
%>
341
%>
289
<%
342
<%
290
'------------ RUN BEFORE PAGE RENDER ----------
343
'------------ RUN BEFORE PAGE RENDER ----------
291
If (Request("action") <> "") Then
344
If (Request("action") <> "") Then
292
	'-- Select Action
-
 
293
	
-
 
294
	Select Case Request("action")
-
 
295
		Case "btnNewRelease"
-
 
296
			Call NewRelease()
-
 
297
		
-
 
298
		Case "btnDestroyRelease"
-
 
299
			Call DestroyRelease()
-
 
300
		
-
 
301
		Case "btnEditRelease"
-
 
302
			Call EditRelease()
-
 
303
		
-
 
304
		Case "btnMoveRelease"
-
 
305
			Call MoveRelease()
-
 
306
		
-
 
307
		Case "btnMergeManager"
-
 
308
			Call MergeManager()
-
 
309
		
-
 
310
		Case "btnAdminView"	
-
 
311
      Dim Query_String
-
 
312
      Query_String = _
-
 
313
      "	SELECT DISTINCT vi.view_id, vi.view_name"&_
-
 
314
      "	FROM VIEWS vi"&_
-
 
315
      "	WHERE vi.view_name = 'PROJECT WIDE'"
-
 
316
      Set rsQry = OraDatabase.DbCreateDynaset( Query_String , cint(0) )
-
 
317
	    		  
-
 
318
      Dim viewRecordCount
-
 
319
      Dim id
-
 
320
      viewRecordCount=0
-
 
321
      viewRecordCount = rsQry.RecordCount
-
 
322
  
-
 
323
      While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
-
 
324
        id=rsQry.Fields("view_id")
-
 
325
        rsQry.MoveNext
-
 
326
      WEnd
-
 
327
	
-
 
328
	    rsQry.Close()
-
 
329
      Set rsQry = nothing
-
 
330
 
-
 
331
      If viewRecordCount = 0 Then
-
 
332
        OraDatabase.Parameters.Add "PROJ_ID", parProjId, 	ORAPARM_INPUT, ORATYPE_NUMBER
-
 
333
        Query_String = _
-
 
334
        " SELECT DISTINCT vi.view_id, vi.view_name"&_
-
 
335
        " FROM VIEWS vi, RELEASE_CONTENT rc, RELEASE_TAGS rt"&_
-
 
336
        " WHERE rc.BASE_VIEW_ID = vi.VIEW_ID AND rt.proj_id = "& parProjId &"AND rc.rtag_id = rt.rtag_id"&_
-
 
337
        " ORDER BY ( vi.view_name )"
-
 
338
 
-
 
339
      	Set rsQry = OraDatabase.DbCreateDynaset( Query_String , cint(0) )
-
 
340
      			  
-
 
341
        OraDatabase.Parameters.Remove "PROJ_ID"
-
 
342
        viewRecordCount = rsQry.RecordCount
-
 
343
 
-
 
344
        While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
-
 
345
          id=rsQry.Fields("view_id")
-
 
346
          rsQry.MoveNext
-
 
347
        WEnd
-
 
348
      				
-
 
349
        rsQry.Close()
-
 
350
        Set rsQry = nothing
-
 
351
      End If
-
 
352
      If viewRecordCount = 0 Then
-
 
353
        Call OpenInWindow ( "form_edit_project_view.asp?proj_id="&Request("proj_id"))
-
 
354
      Else
-
 
355
	    	Call OpenInWindow ( "form_edit_project_view.asp?proj_id="&Request("proj_id")&"&FRview_id="&id)
-
 
356
	    End If
-
 
357
 
345
 
-
 
346
   If Request("btn") = "Show" Then
-
 
347
      ' Store filter in cookie
-
 
348
      Response.Cookies (COOKIE_RELEASE_MANAGER_MEMORY)("show_filter") = Request("listFilter")
-
 
349
      parShowFilter = Request("listFilter")
-
 
350
   Else
-
 
351
      '-- Select Action
-
 
352
      Select Case Request("action")
-
 
353
      Case "btnNewRelease"
-
 
354
         Call NewRelease()
-
 
355
 
-
 
356
      Case "btnDestroyRelease"
-
 
357
         Call DestroyRelease()
-
 
358
 
-
 
359
      Case "btnEditRelease"
-
 
360
         Call EditRelease()
-
 
361
 
-
 
362
      Case "btnMoveRelease"
-
 
363
         Call MoveRelease()
-
 
364
 
-
 
365
      Case "btnMergeManager"
-
 
366
         Call MergeManager()
-
 
367
 
-
 
368
      Case "btnAdminView"
-
 
369
         Dim Query_String
-
 
370
         Query_String = _
-
 
371
         "   SELECT DISTINCT vi.view_id, vi.view_name"&_
-
 
372
         "   FROM VIEWS vi"&_
-
 
373
         "   WHERE vi.view_name = 'PROJECT WIDE'"
-
 
374
         Set rsQry = OraDatabase.DbCreateDynaset( Query_String , cint(0) )
-
 
375
 
-
 
376
         Dim viewRecordCount
-
 
377
         Dim id
-
 
378
         viewRecordCount=0
-
 
379
         viewRecordCount = rsQry.RecordCount
-
 
380
 
-
 
381
         While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
-
 
382
            id=rsQry.Fields("view_id")
-
 
383
            rsQry.MoveNext
-
 
384
         WEnd
-
 
385
 
-
 
386
          rsQry.Close()
-
 
387
         Set rsQry = nothing
-
 
388
 
-
 
389
         If viewRecordCount = 0 Then
-
 
390
            OraDatabase.Parameters.Add "PROJ_ID", parProjId,    ORAPARM_INPUT, ORATYPE_NUMBER
-
 
391
            Query_String = _
-
 
392
            " SELECT DISTINCT vi.view_id, vi.view_name"&_
-
 
393
            " FROM VIEWS vi, RELEASE_CONTENT rc, RELEASE_TAGS rt"&_
-
 
394
            " WHERE rc.BASE_VIEW_ID = vi.VIEW_ID AND rt.proj_id = "& parProjId &"AND rc.rtag_id = rt.rtag_id"&_
-
 
395
            " ORDER BY ( vi.view_name )"
-
 
396
 
-
 
397
            Set rsQry = OraDatabase.DbCreateDynaset( Query_String , cint(0) )
-
 
398
 
-
 
399
            OraDatabase.Parameters.Remove "PROJ_ID"
-
 
400
            viewRecordCount = rsQry.RecordCount
-
 
401
 
-
 
402
            While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
-
 
403
               id=rsQry.Fields("view_id")
-
 
404
               rsQry.MoveNext
-
 
405
            WEnd
-
 
406
 
-
 
407
            rsQry.Close()
-
 
408
            Set rsQry = nothing
-
 
409
         End If
-
 
410
         If viewRecordCount = 0 Then
-
 
411
            Call OpenInWindow ( "form_edit_project_view.asp?proj_id="&Request("proj_id"))
-
 
412
         Else
-
 
413
            Call OpenInWindow ( "form_edit_project_view.asp?proj_id="&Request("proj_id")&"&FRview_id="&id)
-
 
414
         End If
358
	End Select
415
      End Select
-
 
416
   End If
359
	
417
 
360
End If
418
End If
361
 
419
 
362
' Set view type if required
420
' Set view type if required
363
Call SetViewType ()
421
Call SetViewType ()
364
 
422
 
365
' Get current view type
423
' Get current view type
366
ViewType = GetViewType()
424
ViewType = GetViewType()
-
 
425
 
-
 
426
 
367
'----------------------------------------------
427
'----------------------------------------------
368
%>
428
%>
369
 
429
 
370
<html>
430
<html>
371
<head>
431
<head>
372
<%
432
<%
373
	Set rsQry = OraDatabase.DbCreateDynaset( "SELECT PROJ_NAME FROM PROJECTS WHERE PROJ_ID="& Request("proj_id"), ORADYN_DEFAULT )
433
   Set rsQry = OraDatabase.DbCreateDynaset( "SELECT PROJ_NAME FROM PROJECTS WHERE PROJ_ID="& Request("proj_id"), ORADYN_DEFAULT )
374
%>
434
%>
375
<title><%=rsQry("proj_name")%></title>
435
<title><%=rsQry("proj_name")%></title>
376
<%
436
<%
377
	rsQry.Close
437
   rsQry.Close
378
	Set rsQry = Nothing
438
   Set rsQry = Nothing
379
%>
439
%>
380
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
440
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
381
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
441
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
382
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
442
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
383
<link rel="stylesheet" href="images/navigation.css" type="text/css">
443
<link rel="stylesheet" href="images/navigation.css" type="text/css">
Line 388... Line 448...
388
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
448
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
389
 
449
 
390
</head>
450
</head>
391
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
451
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
392
<!-- MENU LAYERS -------------------------------------->
452
<!-- MENU LAYERS -------------------------------------->
393
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
453
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
394
</div>
454
</div>
395
<!-- TIPS LAYERS -------------------------------------->
455
<!-- TIPS LAYERS -------------------------------------->
396
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
456
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
397
<!----------------------------------------------------->
457
<!----------------------------------------------------->
398
<!-- HEADER -->
458
<!-- HEADER -->
399
<!--#include file="_header.asp"-->
459
<!--#include file="_header.asp"-->
400
<!-- BODY ---->
460
<!-- BODY ---->
401
 
461
 
402
<table width="100%" border="0" cellspacing="0" cellpadding="0">
462
<table width="100%" border="0" cellspacing="0" cellpadding="0">
403
  <tr> 
463
   <tr>
404
    <td width="1" background="images/bg_home_orange.gif" valign="top">
464
      <td width="1" background="images/bg_home_orange.gif" valign="top"></td>
405
	</td>
465
      <td rowspan="2" valign="top" width="100%">
406
	<td rowspan="2" valign="top" width="100%">
466
 
407
	
467
         <!-- ACTION BUTTONS ---------------------------------------------->
408
	<!-- ACTION BUTTONS ---------------------------------------------->
468
         <table width="100%"  border="0" cellspacing="0" cellpadding="7">
409
	<table width="100%"  border="0" cellspacing="0" cellpadding="7">
469
            <tr>
410
	  <tr>
470
               <td width="1" bgcolor="#DAD7C8">
411
	    <td width="1" bgcolor="#DAD7C8">
471
                  <%
412
		<%
472
                  If ViewType = LCONST_TREE_VIEW Then
413
		If ViewType = LCONST_TREE_VIEW Then
473
                     Response.write LIMG_TREE_VIEW
414
			Response.write LIMG_TREE_VIEW
474
                  Else
415
		Else
475
                     Response.write LIMG_LIST_VIEW
416
			Response.write LIMG_LIST_VIEW
476
                  End If
417
		End If
477
                  %>
418
		
478
               </td>
419
		%>
479
               <td width="100%" bgcolor="#DAD7C8">
420
	    </td>
480
                  <%
421
        <td width="100%" bgcolor="#DAD7C8">
481
                  Dim aBtnsDef
422
		<%
482
                  ' Define action buttons
423
		Dim aBtnsDef
483
                  aBtnsDef = Array("btnNewRelease", "btnEditRelease", "btnMoveRelease", "width=20", "btnDestroyRelease", "width=20", "btnMergeManager", "width=20", "btnAdminView")
424
			' Define action buttons
484
 
425
			aBtnsDef = Array("btnNewRelease", "btnEditRelease", "btnMoveRelease", "width=20", "btnDestroyRelease", "width=20", "btnMergeManager", "width=20", "btnAdminView")
485
                  ' Load action buttons from database
426
 
486
                  Call objBtnControl.LoadActionButtons ( aBtnsDef, OraDatabase )
427
		' Load action buttons from database
487
 
428
		Call objBtnControl.LoadActionButtons ( aBtnsDef, OraDatabase )
488
                  ' Set spacing to minimum between buttons
429
		
489
                  objBtnControl.ButtonSpacer = 0
430
		' Set spacing to minimum between buttons
490
                  objBtnControl.ImageHspace = 2
431
		objBtnControl.ButtonSpacer = 0
491
 
432
		objBtnControl.ImageHspace = 2
492
                  ' Access Control
433
		
493
                  If NOT objAccessControl.IsActive("CreateNewRelease") Then Call objBtnControl.Active ( "btnNewRelease", "N" )
434
		' Access Control
494
                  If NOT objAccessControl.IsActive("DestroyRelease") Then Call objBtnControl.Active ( "btnDestroyRelease", "N" )
435
		If NOT objAccessControl.IsActive("CreateNewRelease") Then Call objBtnControl.Active ( "btnNewRelease", "N" )
495
                  If NOT objAccessControl.IsActive("CreateNewRelease") Then Call objBtnControl.Active ( "btnMoveRelease", "N" )
436
		If NOT objAccessControl.IsActive("CreateNewRelease") Then Call objBtnControl.Active ( "btnEditRelease", "N" )
496
 
437
		If NOT objAccessControl.IsActive("DestroyRelease") Then Call objBtnControl.Active ( "btnDestroyRelease", "N" )
497
                  ' -- Render Buttons
438
		If NOT objAccessControl.IsActive("CreateNewRelease") Then Call objBtnControl.Active ( "btnMoveRelease", "N" )
498
                  Call objBtnControl.Render  ( aBtnsDef, objAccessControl )
439
		
499
                  %>
440
		' -- Render Buttons
500
               </td>
441
		Call objBtnControl.Render  ( aBtnsDef, objAccessControl )
501
            </tr>
442
		%>
502
         </table>
443
		</td>
503
         <!-- ACTION BUTTONS END  ------------------------------------------>
444
      </tr>
504
 
445
    </table>
505
         <table width="100%"  border="0" cellspacing="10" cellpadding="0">
446
	<!-- ACTION BUTTONS END  ------------------------------------------>
506
            <form name="FormName" method="post" action="<%=ScriptName%>">
447
	
507
               <tr>
448
	<table width="100%"  border="0" cellspacing="10" cellpadding="0">
508
                  <td>
449
	<form name="FormName" method="post" action="<%=ScriptName%>">
509
 
450
	  <tr>
510
                     <!-- TREE VIEW ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
451
	    <td>
511
                     <%If ViewType = LCONST_TREE_VIEW Then%>
452
		
512
 
453
<!-- TREE VIEW ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
513
                        <table width="100%"  border="0" cellspacing="1" cellpadding="1">
454
<%If ViewType = LCONST_TREE_VIEW Then%>
514
                           <tr>
455
		  
515
                              <td width="40%" bgcolor="#E4E9EC" class="body_txt">Release Name </td>
456
		<table width="100%"  border="0" cellspacing="1" cellpadding="1">		  
516
 
457
		  <tr>
517
                              <%If parProjId <> 2 Then %>
458
            
518
                                 <td width="15%" bgcolor="#E4E9EC" class="body_txt">Associated MASS_REF </td>
459
 
519
                                 <td width="45%" bgcolor="#E4E9EC" class="body_txt">Comments</td>
460
			<td width="40%" bgcolor="#E4E9EC" class="body_txt">Release Name </td>
520
                              <%Else%>
461
 
521
                                 <td width="30%" bgcolor="#E4E9EC" class="body_txt">Used By </td>
462
            <%If parProjId <> 2 Then %>
522
                                 <td width="30%" bgcolor="#E4E9EC" class="body_txt">Comments</td>
463
			<td width="15%" bgcolor="#E4E9EC" class="body_txt">Associated MASS_REF </td>
523
                              <%End If%>
464
            <td width="45%" bgcolor="#E4E9EC" class="body_txt">Comments</td>			
524
                           </tr>
465
			<%Else%>
525
                           <%
466
			<td width="30%" bgcolor="#E4E9EC" class="body_txt">Used By </td>
526
                           'OraDatabase.Parameters.Add "TREE_VERSION",  nProjTreeVersion,    ORAPARM_INPUT, ORATYPE_NUMBER
467
            <td width="30%" bgcolor="#E4E9EC" class="body_txt">Comments</td>						
527
                           OraDatabase.Parameters.Add "PROJ_ID",  parProjId,  ORAPARM_INPUT, ORATYPE_NUMBER
468
			<%End If%>
528
 
469
 
529
                           Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("ReleaseVersionTree.sql") , ORADYN_DEFAULT )
470
          </tr>
530
                           lastLevel = 0
471
		
531
 
472
		
532
                           'OraDatabase.Parameters.Remove "TREE_VERSION"
473
 
533
                           OraDatabase.Parameters.Remove "PROJ_ID"
474
		<%
534
 
475
		'OraDatabase.Parameters.Add "TREE_VERSION", 	nProjTreeVersion, 	ORAPARM_INPUT, ORATYPE_NUMBER
535
                           Dim lastRtagId, parentRtag_id
476
		OraDatabase.Parameters.Add "PROJ_ID", 	parProjId, 	ORAPARM_INPUT, ORATYPE_NUMBER
536
 
477
		
537
                           If rsQry.RecordCount > 0 Then
478
		Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("ReleaseVersionTree.sql") , ORADYN_DEFAULT )
538
 
479
		lastLevel = 0
539
                              'aVersions = rsQry.GetRows()
480
		
540
                              'lastRow = UBound( aVersions, 2 )
481
		'OraDatabase.Parameters.Remove "TREE_VERSION"
541
 
482
		OraDatabase.Parameters.Remove "PROJ_ID"
542
                              'Set objSortHelper = New SortHelper
483
		
543
 
484
		Dim lastRtagId, parentRtag_id
544
                              ' Sort versions
485
		
545
                              'Call objSortHelper.VersionSort( aVersions, 0, lastRow, rsQry.FieldIndex("version") )
486
		If rsQry.RecordCount > 0 Then
546
 
487
			
547
                              'For i = 0 To lastRow   ' Ascending order
488
			'aVersions = rsQry.GetRows()
548
                              While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
489
			'lastRow = UBound( aVersions, 2 )
549
 
490
			
550
                                 'currLevel = GetLevel (  aVersions( rsQry.FieldIndex("rtag_version"), i )  )
491
			'Set objSortHelper = New SortHelper
551
                                 currLevel = CInt(rsQry("hierarchy"))
492
			
552
                                 'lastLevel = currLevel - 1
493
			' Sort versions
553
                                 %>
494
			'Call objSortHelper.VersionSort( aVersions, 0, lastRow, rsQry.FieldIndex("version") )
554
                                 <tr>
495
			
555
                                    <td bgcolor="#F5F5F5" class="body_rowg">
496
			
556
                                       <%Call RenderIndent( lastLevel, currLevel )%>
497
			
557
                                       <input type="checkbox" name="rtag_id_list" value="<%=rsQry("rtag_id")%>" style="vertical-align:middle;">
498
			'For i = 0 To lastRow	' Ascending order
558
                                       <%If rsQry("official") <> "A" Then%>
499
			While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
559
                                          <a href="dependencies.asp?rtag_id=<%=rsQry("rtag_id")%>" class="body_link" title="<%=HTMLEncode( rsQry("description") ) %>" >
500
				
560
                                       <%End If%>
501
				'currLevel = GetLevel (  aVersions( rsQry.FieldIndex("rtag_version"), i )  )
561
                                       <%=ReleaseIcon( rsQry("official") )%>&nbsp;<%=rsQry("rtag_name")%></a>
502
				currLevel = CInt(rsQry("hierarchy"))
562
 
503
				'lastLevel = currLevel - 1
563
                                       <%
504
			%>
564
                                       If parProjId <> 2 Then
505
			
565
                                          Dim assocMASSREF, rsQryAssoc, assocMASSREFName, link
506
 
566
                                          assocMASSREF =  rsQry("assoc_mass_ref")
507
				<tr> 
567
                                          If assocMASSREF <> "" Then
508
				  <td bgcolor="#F5F5F5" class="body_rowg"><%Call RenderIndent( lastLevel, currLevel )%><input type="checkbox" name="rtag_id_list" value="<%=rsQry("rtag_id")%>" style="vertical-align:middle;">
568
                                             Set rsQryAssoc = OraDatabase.DbCreateDynaset("SELECT RTAG_NAME, RTAG_ID FROM RELEASE_TAGS WHERE RTAG_ID="&assocMASSREF , ORADYN_DEFAULT)
509
				  <%If rsQry("official") <> "A" Then%><a href="dependencies.asp?rtag_id=<%=rsQry("rtag_id")%>" class="body_link" title="<%=HTMLEncode( rsQry("description") ) %>" ><%End If%><%=ReleaseIcon( rsQry("official") )%>&nbsp;<%=rsQry("rtag_name")%></a>
569
                                             assocMASSREFName = rsQryAssoc("RTAG_NAME")
510
				  
570
                                             link = "dependencies.asp?rtag_id="&rsQryAssoc("rtag_id")
511
			<%
571
                                             rsQryAssoc.Close
512
			If parProjId <> 2 Then
572
                                             Set rsQryAssoc = Nothing
513
				Dim assocMASSREF, rsQryAssoc, assocMASSREFName, link 
573
                                          Else
514
				assocMASSREF =  rsQry("assoc_mass_ref")
574
                                             assocMASSREFName = "None."
515
				If assocMASSREF <> "" Then
575
                                          End If
516
				Set rsQryAssoc = OraDatabase.DbCreateDynaset("SELECT RTAG_NAME, RTAG_ID FROM RELEASE_TAGS WHERE RTAG_ID="&assocMASSREF , ORADYN_DEFAULT) 				
576
                                       End If%>
517
				assocMASSREFName = rsQryAssoc("RTAG_NAME")
577
 
518
				link = "dependencies.asp?rtag_id="&rsQryAssoc("rtag_id") 
578
                                       <%If parProjId <> 2 Then%>
519
				rsQryAssoc.Close
579
                                          <%If assocMASSREFName <> "None." Then%>
520
				Set rsQryAssoc = Nothing
580
                                          <td bgcolor="#F5F5F5" class="body_rowg"><a href=<%=link%>><%=assocMASSREFName%></a></td>
521
				Else
581
                                          <%Else%>
522
				assocMASSREFName = "None."
582
                                          <td bgcolor="#F5F5F5" class="body_rowg"><%=assocMASSREFName%></td>
523
				End If
583
                                          <%End If%>
524
			End If%> 
584
                                       <%Else
525
			<%If parProjId <> 2 Then%>
585
                                          Dim UsedBy, rsQryUse, comment, linkB
526
				<%If assocMASSREFName <> "None." Then%>
586
                                          UsedBy =  rsQry("rtag_id")
527
				<td bgcolor="#F5F5F5" class="body_rowg"><a href=<%=link%>><%=assocMASSREFName%></a></td>
587
                                          If UsedBy <> "" Then
528
				<%Else%>
588
                                             Set rsQryUse = OraDatabase.DbCreateDynaset("SELECT * FROM RELEASE_TAGS RT, PROJECTS P WHERE RT.ASSOC_MASS_REF="&rsQry("rtag_id")&" AND RT.PROJ_ID=P.PROJ_ID", ORADYN_DEFAULT)
529
				<td bgcolor="#F5F5F5" class="body_rowg"><%=assocMASSREFName%></td>
589
 
530
				<%End If%>
590
                                             While ((NOT rsQryUse.BOF) AND (NOT rsQryUse.EOF))
531
			<%Else
591
                                                If rsQryUse("assoc_mass_ref") = UsedBy Then
532
			Dim UsedBy, rsQryUse, comment, linkB
592
                                                   linkB = "dependencies.asp?rtag_id="&rsQryUse("rtag_id")
533
			UsedBy =  rsQry("rtag_id")
593
                                                   If comment = "" Then
534
			If UsedBy <> "" Then
594
                                                      comment = rsQryUse("proj_name") & " -> <a href="&linkB&">"& rsQryUse("rtag_name") &"</a>"
535
			Set rsQryUse = OraDatabase.DbCreateDynaset("SELECT * FROM RELEASE_TAGS RT, PROJECTS P WHERE RT.ASSOC_MASS_REF="&rsQry("rtag_id")&" AND RT.PROJ_ID=P.PROJ_ID", ORADYN_DEFAULT) 				
595
                                                   Else
536
 
596
                                                   comment = comment &" <br> " & rsQryUse("proj_name") & " -> <a href="&linkB&">"& rsQryUse("rtag_name") &"</a>"
537
	
597
                                                   End If
538
				While ((NOT rsQryUse.BOF) AND (NOT rsQryUse.EOF))			
598
                                                   rsQryUse.MoveNext
539
					If rsQryUse("assoc_mass_ref") = UsedBy Then		
599
                                                End If
540
					linkB = "dependencies.asp?rtag_id="&rsQryUse("rtag_id")
600
                                             WEnd
541
						If comment = "" Then
601
                                          End If
542
							comment = rsQryUse("proj_name") & " -> <a href="&linkB&">"& rsQryUse("rtag_name") &"</a>"
602
                                          %>
543
						Else
603
                                          <%If comment <> "" Then %>
544
						comment = comment &" <br> " & rsQryUse("proj_name") & " -> <a href="&linkB&">"& rsQryUse("rtag_name") &"</a>"	
604
                                             <td bgcolor="#F5F5F5" class="body_rowg"><%=comment%></td>
545
						End If
605
                                          <%Else%>
546
						rsQryUse.MoveNext
606
                                             <td bgcolor="#F5F5F5" class="body_rowg">None.</td>
547
					End If
607
                                          <%End If%>
548
				WEnd			
608
                                       <%End If%>
549
			End If
609
                                       <td bgcolor="#F5F5F5" class="body_rowg"><%=NewLine_To_BR(rsQry("description"))%></td>
550
			%>
610
 
551
				<%If comment <> "" Then %> 
611
                                 </tr>
552
					<td bgcolor="#F5F5F5" class="body_rowg"><%=comment%></td>
612
                                 <%
553
				<%Else%>
613
                                 lastLevel = currLevel
554
					<td bgcolor="#F5F5F5" class="body_rowg">None.</td>
614
                                 rsQry.MoveNext
555
				<%End If%>
615
                                 comment = ""
556
			<%End If%>
616
                              WEnd
557
            <td bgcolor="#F5F5F5" class="body_rowg"><%=NewLine_To_BR(rsQry("description"))%></td>				  
617
                              'Next
558
				  
618
                           End If
559
				  
619
                           rsQry.Close
560
				
620
                           Set rsQry = Nothing
561
				
621
                           %>
562
				</tr>
622
                        </table>
563
			    
623
 
564
			  		  
624
                     <!-- LIST VIEW ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
565
			<%
625
                     <%Else%>
566
				lastLevel = currLevel
626
                        <%
567
				rsQry.MoveNext
627
                        Call GetListFilterValues ( dListFilter )
568
				comment = ""
628
                        %>
569
			WEnd
629
 
570
			'Next
630
                        <!-- RELEASE LIST FILTER +++++++++++++++++++++++++++++++++++++++++++ -->
571
			
631
                        <fieldset style="width:200px;">
572
		End If
632
                           <legend><a href="javascript:;" class="body_scol" onClick="ToggleDisplay('divListFilter');" ><%=GetIsListFilterInUseIcon() %>&nbsp;Show&nbsp;Release Types...</a></legend>
573
		
633
                           <div name="divListFilter" id="divListFilter" class="body_txt" style="display:none;">
574
		
634
                              <br>
575
		rsQry.Close
635
                              <table width="100%"  border="0" cellspacing="1" cellpadding="3">
576
		Set rsQry = Nothing
636
                                 <tr>
577
		%>
637
                                    <td width="10" background="images/bg_action_norm.gif">
578
		</table>
638
                                       <input name="listFilter" type="checkbox" value="'<%=enumDB_RELEASE_IN_OPEN_MODE%>'" <%=GetIsListFilterChecked(enumDB_RELEASE_IN_OPEN_MODE)%>>
579
		
639
                                    </td>
580
<!-- LIST VIEW ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
640
                                    <td width="1" nowrap background="images/bg_action_norm.gif" class="form_field">
581
<%Else%>
641
                                       <img src="images/i_rtag_open_mode.gif" width="15" height="13">&nbsp;Open&nbsp;Mode
582
		
642
                                    </td>
583
	
643
                                 </tr>
584
		<table width="100%"  border="0" cellspacing="1" cellpadding="3">
644
                                 <tr>
585
		  <tr>
645
                                    <td width="10" background="images/bg_action_norm.gif">
586
            <td width="1" bgcolor="#E4E9EC">&nbsp;</td>
646
                                       <input name="listFilter" type="checkbox" value="'<%=enumDB_RELEASE_IN_RESTRICTIVE_MODE%>'" <%=GetIsListFilterChecked(enumDB_RELEASE_IN_RESTRICTIVE_MODE)%>>
587
			<td width="30%" bgcolor="#E4E9EC" class="body_txt">Release Name </td>
647
                                    </td>
588
 
648
                                    <td width="1" nowrap background="images/bg_action_norm.gif" class="form_field">
589
            <%If parProjId <> 2 Then %>
649
                                       <img src="images/i_rtag_restrictive_mode.gif" width="15" height="13">&nbsp;Restrictive&nbsp;Mode
590
			<td width="1" bgcolor="#E4E9EC">&nbsp;</td>
650
                                    </td>
591
			<td width="15%" bgcolor="#E4E9EC" class="body_txt">Associated MASS_REF </td>
651
                                 </tr>
592
			<td width="55%" bgcolor="#E4E9EC" class="body_txt">Comments</td>
652
                                 <tr>
593
			<%Else%>
653
                                    <td width="10" background="images/bg_action_norm.gif">
594
			<td width="1" bgcolor="#E4E9EC">&nbsp;</td>
654
                                       <input name="listFilter" type="checkbox" value="'<%=enumDB_RELEASE_IN_CCB_MODE%>'" <%=GetIsListFilterChecked(enumDB_RELEASE_IN_CCB_MODE)%>>
595
			<td width="30%" bgcolor="#E4E9EC" class="body_txt">Used By </td>			
655
                                    </td>
596
			<td width="40%" bgcolor="#E4E9EC" class="body_txt">Comments</td>
656
                                    <td width="1" nowrap background="images/bg_action_norm.gif" class="form_field">
597
			<%End If%>
657
                                       <img src="images/i_rtag_ccb_mode.gif" width="15" height="13">&nbsp;CCB&nbsp;Mode
598
            
658
                                    </td>
599
          </tr>
659
                                 </tr>
600
		<%
660
                                 <tr>
601
		OraDatabase.Parameters.Add "PROJ_ID", 	parProjId, 	ORAPARM_INPUT, ORATYPE_NUMBER
661
                                    <td width="10" background="images/bg_action_norm.gif">
602
		
662
                                       <input name="listFilter" type="checkbox" value="'<%=enumDB_RELEASE_IN_CLOSED_MODE%>'" <%=GetIsListFilterChecked(enumDB_RELEASE_IN_CLOSED_MODE)%>>
603
		Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("ReleaseVersionList.sql") , ORADYN_DEFAULT )
663
                                    </td>
604
		lastLevel = 0
664
                                    <td width="1" nowrap background="images/bg_action_norm.gif" class="form_field">
605
		
665
                                       <img src="images/i_rtag_closed_mode.gif" width="15" height="13">&nbsp;Closed&nbsp;Mode
606
		OraDatabase.Parameters.Remove "PROJ_ID"
666
                                    </td>
607
		
667
                                 </tr>
608
		
668
                                 <tr>
609
		If rsQry.RecordCount > 0 Then
669
                                    <td width="10" background="images/bg_action_norm.gif">
610
			
670
                                       <input name="listFilter" type="checkbox" value="'<%=enumDB_RELEASE_IN_ARCHIVE_MODE%>'" <%=GetIsListFilterChecked(enumDB_RELEASE_IN_ARCHIVE_MODE)%>>
611
			aVersions = rsQry.GetRows()
671
                                    </td>
612
			lastRow = UBound( aVersions, 2 )
672
                                    <td width="1" nowrap background="images/bg_action_norm.gif" class="form_field">
613
			
673
                                       <img src="images/i_rtag_archive_mode.gif" width="15" height="13">&nbsp;Archive&nbsp;Mode
614
			'Set objSortHelper = New SortHelper
674
                                    </td>
615
			
675
                                 </tr>
616
			' Sort versions
676
                                 <tr>
617
			'Call objSortHelper.VersionSort( aVersions, 0, lastRow, rsQry.FieldIndex("version") )
677
                                    <td background="images/bg_action_norm.gif">&nbsp;</td>
618
			
678
                                    <td background="images/bg_action_norm.gif"><input name="btn" type="submit" class="form_btn" value="Show"></td>
619
			
679
                                 </tr>
620
			
680
                              </table>
621
			For i = 0 To lastRow	' Ascending order
681
                           </div>
622
				
682
                        </fieldset>
623
				'currLevel = GetLevel (  aVersions( rsQry.FieldIndex("rtag_version"), i )  )
683
 
624
			%>
684
                        <table width="100%"  border="0" cellspacing="1" cellpadding="3">
625
          <tr>
685
                           <tr>
626
            <td bgcolor="#F5F5F5" class="body_txt" valign="top">
686
                              <td width="1" bgcolor="#E4E9EC">&nbsp;</td>
627
              <input type="checkbox" name="rtag_id_list" value="<%=aVersions( rsQry.FieldIndex("rtag_id"), i )%>">
687
                              <td width="30%" bgcolor="#E4E9EC" class="body_txt">Release Name </td>
628
            </td>
688
 
629
            <td bgcolor="#F5F5F5" valign="top"><a href="dependencies.asp?rtag_id=<%=aVersions( rsQry.FieldIndex("rtag_id"), i )%>" class="body_link" title="Open Release..."><%=ReleaseIcon( aVersions( rsQry.FieldIndex("official"), i ) )%>&nbsp;<%=aVersions( rsQry.FieldIndex("rtag_name"), i )%></a></td>
689
                              <%If parProjId <> 2 Then %>
630
			
690
                                 <td width="1" bgcolor="#E4E9EC">&nbsp;</td>
631
			<%
691
                                 <td width="15%" bgcolor="#E4E9EC" class="body_txt">Associated MASS_REF </td>
632
			If parProjId <> 2 Then
692
                                 <td width="55%" bgcolor="#E4E9EC" class="body_txt">Comments</td>
633
				assocMASSREF = aVersions( rsQry.FieldIndex("assoc_mass_ref"), i )
693
                              <%Else%>
634
				If assocMASSREF <> "" Then
694
                                 <td width="1" bgcolor="#E4E9EC">&nbsp;</td>
635
				Set rsQryAssoc = OraDatabase.DbCreateDynaset("SELECT RTAG_NAME, RTAG_ID FROM RELEASE_TAGS WHERE RTAG_ID="&assocMASSREF , ORADYN_DEFAULT) 				
695
                                 <td width="30%" bgcolor="#E4E9EC" class="body_txt">Used By </td>
636
				assocMASSREFName = rsQryAssoc("RTAG_NAME")
696
                                 <td width="40%" bgcolor="#E4E9EC" class="body_txt">Comments</td>
637
				link = rsQryAssoc("rtag_id") 
697
                              <%End If%>
638
				rsQryAssoc.Close
698
 
639
				Set rsQryAssoc = Nothing
699
                           </tr>
640
				Else
700
                           <%
641
				assocMASSREFName = "None."
701
                           If NOT IsEmpty(parShowFilter) Then
642
				End If
702
                              OraDatabase.Parameters.Add "PROJ_ID",  parProjId,  ORAPARM_INPUT, ORATYPE_NUMBER
643
			End If%> 
703
 
644
			<%If parProjId <> 2 Then%>
704
                              rsQryStr = GetQuery ("ReleaseVersionList.sql")
645
				<%If assocMASSREFName <> "None." Then%>
705
                              rsQryStr = Replace(rsQryStr, "/*SHOW_FILTER*/", parShowFilter)
646
					<td bgcolor="#F5F5F5" class="body_txt" valign="top">
706
 
647
              		<input type="checkbox" name="rtag_id_list" value="<%=link%>">
707
                              Set rsQry = OraDatabase.DbCreateDynaset( rsQryStr, ORADYN_DEFAULT )
648
            		</td>
708
                              lastLevel = 0
649
					<td bgcolor="#F5F5F5" class="body_rowg"><a href=dependencies.asp?rtag_id=<%=link%>><%=assocMASSREFName%></a></td>
709
 
650
				<%Else%>
710
                              OraDatabase.Parameters.Remove "PROJ_ID"
651
					<td width="1" bgcolor="#E4E9EC">&nbsp;</td>
711
 
652
					<td bgcolor="#F5F5F5" class="body_rowg"><%=assocMASSREFName%></td>
712
 
653
				<%End If%>
713
                              If rsQry.RecordCount > 0 Then
654
			<%Else
714
 
655
 
715
                                 aVersions = rsQry.GetRows()
656
			UsedBy = aVersions( rsQry.FieldIndex("rtag_id"), i )
716
                                 lastRow = UBound( aVersions, 2 )
657
			If UsedBy <> "" Then
717
 
658
			Set rsQryUse = OraDatabase.DbCreateDynaset("SELECT * FROM RELEASE_TAGS RT, PROJECTS P WHERE RT.ASSOC_MASS_REF="&aVersions( rsQry.FieldIndex("rtag_id"), i )&" AND RT.PROJ_ID=P.PROJ_ID", ORADYN_DEFAULT) 				
718
                                 'Set objSortHelper = New SortHelper
659
	
719
 
660
				While ((NOT rsQryUse.BOF) AND (NOT rsQryUse.EOF))			
720
                                 ' Sort versions
661
					If rsQryUse("assoc_mass_ref") = UsedBy Then		
721
                                 'Call objSortHelper.VersionSort( aVersions, 0, lastRow, rsQry.FieldIndex("version") )
662
					linkB = rsQryUse("rtag_id")
722
 
663
						If comment = "" Then
723
                                 For i = 0 To lastRow ' Ascending order
664
							comment = rsQryUse("proj_name") & " -> <a href=dependencies.asp?rtag_id="&linkB&">"& rsQryUse("rtag_name") &"</a>"
724
 
665
						Else
725
                                    'currLevel = GetLevel (  aVersions( rsQry.FieldIndex("rtag_version"), i )  )
666
						comment = comment &" <br> " & rsQryUse("proj_name") & " -> <a href=dependencies.asp?rtag_id="&linkB&">"& rsQryUse("rtag_name") &"</a>"
726
                                    %>
667
						End If
727
                                    <tr>
668
						rsQryUse.MoveNext
728
                                       <td bgcolor="#F5F5F5" class="body_txt" valign="top">
669
					End If
729
                                          <input type="checkbox" name="rtag_id_list" value="<%=aVersions( rsQry.FieldIndex("rtag_id"), i )%>">
670
				WEnd			
730
                                       </td>
671
			End If
731
                                       <td bgcolor="#F5F5F5" valign="top">
672
			%>
732
                                          <%If aVersions( rsQry.FieldIndex("official"), i ) <> "A" Then%>
673
				<%If comment <> "" Then %> 
733
                                             <a href="dependencies.asp?rtag_id=<%=aVersions( rsQry.FieldIndex("rtag_id"), i )%>" class="body_link" title="Open Release...">
674
					<td bgcolor="#F5F5F5" class="body_txt" valign="top">
734
                                          <%End If%>
675
              		<input type="checkbox" name="rtag_id_list" value="<%=linkB%>">
735
                                          <%=ReleaseIcon( aVersions( rsQry.FieldIndex("official"), i ) )%>&nbsp;<%=aVersions( rsQry.FieldIndex("rtag_name"), i )%></a>
676
            		</td>
736
                                       </td>
677
					<td bgcolor="#F5F5F5" class="body_rowg"><%=comment%></td>
737
 
678
				<%Else%>
738
                                       <%
679
					<td width="1" bgcolor="#E4E9EC">&nbsp;</td>
739
                                       If parProjId <> 2 Then
680
					<td bgcolor="#F5F5F5" class="body_rowg">None.</td>
740
                                          assocMASSREF = aVersions( rsQry.FieldIndex("assoc_mass_ref"), i )
681
				<%End If%>
741
                                          If assocMASSREF <> "" Then
682
			<%End If%>
742
                                             Set rsQryAssoc = OraDatabase.DbCreateDynaset("SELECT RTAG_NAME, RTAG_ID FROM RELEASE_TAGS WHERE RTAG_ID="&assocMASSREF , ORADYN_DEFAULT)
683
            <td bgcolor="#F5F5F5" class="body_rowg"><%=NewLine_To_BR(  aVersions( rsQry.FieldIndex("description"), i )   )%></td>
743
                                             assocMASSREFName = rsQryAssoc("RTAG_NAME")
684
          </tr>
744
                                             link = rsQryAssoc("rtag_id")
685
			<%
745
                                             rsQryAssoc.Close
686
				'lastLevel = currLevel
746
                                             Set rsQryAssoc = Nothing
687
			comment = ""
747
                                          Else
688
			Next
748
                                             assocMASSREFName = "None."
689
			
749
                                          End If
690
		End If
750
                                       End If%>
691
		
751
                                       <%If parProjId <> 2 Then%>
692
		
752
                                          <%If assocMASSREFName <> "None." Then%>
693
		rsQry.Close
753
                                             <td bgcolor="#F5F5F5" class="body_txt" valign="top">
694
		Set rsQry = Nothing
754
                                                <input type="checkbox" name="rtag_id_list" value="<%=link%>">
695
		%>
755
                                             </td>
696
        </table>
756
                                             <td bgcolor="#F5F5F5" class="body_rowg"><a href=dependencies.asp?rtag_id=<%=link%>><%=assocMASSREFName%></a></td>
697
		<br>
757
                                          <%Else%>
698
		<%
758
                                             <td width="1" bgcolor="#E4E9EC">&nbsp;</td>
699
		Call Messenger ( "Note that Closed releases are not shown in this view.<br>Switch to Tree View to see all release for this project.", 3, "400" )
759
                                             <td bgcolor="#F5F5F5" class="body_rowg"><%=assocMASSREFName%></td>
700
		%>
760
                                          <%End If%>
701
		<!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->	
761
                                       <%Else
702
		<!--#include file="messages/_msg_inline.asp"-->
762
 
703
		<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
763
                                          UsedBy = aVersions( rsQry.FieldIndex("rtag_id"), i )
704
		
764
                                          If UsedBy <> "" Then
705
<%End If%>		
765
                                          Set rsQryUse = OraDatabase.DbCreateDynaset("SELECT * FROM RELEASE_TAGS RT, PROJECTS P WHERE RT.ASSOC_MASS_REF="&aVersions( rsQry.FieldIndex("rtag_id"), i )&" AND RT.PROJ_ID=P.PROJ_ID", ORADYN_DEFAULT)
706
<!-- LIST VIEW END ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
766
 
707
		
767
                                             While ((NOT rsQryUse.BOF) AND (NOT rsQryUse.EOF))
708
		<hr noshade color="#CAC5B8" width="100%" size="1">
768
                                                If rsQryUse("assoc_mass_ref") = UsedBy Then
709
		</td>
769
                                                linkB = rsQryUse("rtag_id")
710
	  </tr>
770
                                                   If comment = "" Then
711
	  <%=objPMod.ComposeHiddenTags()%>
771
                                                      comment = rsQryUse("proj_name") & " -> <a href=dependencies.asp?rtag_id="&linkB&">"& rsQryUse("rtag_name") &"</a>"
712
	  <input type="hidden" name="action" value="true">
772
                                                   Else
713
	</form>
773
                                                   comment = comment &" <br> " & rsQryUse("proj_name") & " -> <a href=dependencies.asp?rtag_id="&linkB&">"& rsQryUse("rtag_name") &"</a>"
714
    </table>
774
                                                   End If
715
	 
775
                                                   rsQryUse.MoveNext
716
	<table width="118" border="0" align="left">
776
                                                End If
717
      <tr>
777
                                             WEnd
718
        <td bgcolor="#E4E9EC" width="26"><span class="body_txt">Icon</span></td>
778
                                          End If
719
        <td bgcolor="#E4E9EC" width="82"><span class="body_txt">Release State </span></td>
779
                                          %>
720
      </tr>
780
                                          <%If comment <> "" Then %>
721
      <tr>
781
                                             <td bgcolor="#F5F5F5" class="body_txt" valign="top">
722
        <td bgcolor="#F5F5F5"><img src="images/i_rtag_open_mode.gif" width="15" height="13"></td>
782
                                                <input type="checkbox" name="rtag_id_list" value="<%=linkB%>">
723
        <td bgcolor="#F5F5F5"><span class="body_txt">Open Mode</span></td>
783
                                                </td>
724
      </tr>
784
                                             <td bgcolor="#F5F5F5" class="body_rowg"><%=comment%></td>
725
      <tr>
785
                                          <%Else%>
726
        <td bgcolor="#F5F5F5"><img src="images/i_rtag_restrictive_mode.gif" width="15" height="15"></td>
786
                                             <td width="1" bgcolor="#E4E9EC">&nbsp;</td>
727
        <td bgcolor="#F5F5F5"><span class="body_txt">Restrictive Mode</span></td>
787
                                             <td bgcolor="#F5F5F5" class="body_rowg">None.</td>
728
      </tr>
788
                                          <%End If%>
729
      <tr>
789
                                       <%End If%>
730
        <td bgcolor="#F5F5F5"><img src="images/i_rtag_ccb_mode.gif" width="15" height="15"></td>
790
                                       <td bgcolor="#F5F5F5" class="body_rowg"><%=NewLine_To_BR(  aVersions( rsQry.FieldIndex("description"), i )   )%></td>
731
        <td bgcolor="#F5F5F5"><span class="body_txt">CCB Mode</span></td>
791
                                    </tr>
732
      </tr>
792
                                    <%
733
      <tr>
793
                                    'lastLevel = currLevel
734
        <td bgcolor="#F5F5F5"><img src="images/i_rtag_closed_mode.gif" width="15" height="14"></td>
794
                                    comment = ""
735
        <td bgcolor="#F5F5F5"><span class="body_txt">Closed Mode</span></td>
795
                                 Next
736
      </tr>
796
                              End If
737
      <tr>
797
 
738
        <td bgcolor="#F5F5F5"><img src="images/i_rtag_archive_mode.gif" width="15" height="14"></td>
798
                              rsQry.Close
739
        <td bgcolor="#F5F5F5"><span class="body_txt">Archive Mode</span></td>
799
                              Set rsQry = Nothing
740
      </tr>	  
800
                           End If
741
    </table>
801
                           %>
742
	<p>&nbsp;</p></td>
802
                        </table>
743
	<td width="1" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
803
                        <br>
744
  </tr>
804
                        <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
745
  <tr> 
805
                        <!--#include file="messages/_msg_inline.asp"-->
746
    <td valign="bottom" align="center" background="images/bg_home_orange.gif"><img src="images/img_vtree.gif" width="86" height="99" vspace="20" hspace="30"></td>
806
                        <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
747
    <td background="images/bg_lght_gray.gif" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="500"></td>
807
 
748
  </tr>
808
                     <%End If%>
-
 
809
                     <!-- LIST VIEW END ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
-
 
810
 
-
 
811
                     <hr noshade color="#CAC5B8" width="100%" size="1">
-
 
812
                  </td>
-
 
813
               </tr>
-
 
814
               <%=objPMod.ComposeHiddenTags()%>
-
 
815
               <input type="hidden" name="action" value="true">
-
 
816
            </form>
-
 
817
         </table>
-
 
818
 
-
 
819
         <table width="118" border="0" align="left">
-
 
820
            <tr>
-
 
821
               <td bgcolor="#E4E9EC" width="26"><span class="body_txt">Icon</span></td>
-
 
822
               <td bgcolor="#E4E9EC" width="82"><span class="body_txt">Release State </span></td>
-
 
823
            </tr>
-
 
824
            <tr>
-
 
825
               <td bgcolor="#F5F5F5"><img src="images/i_rtag_open_mode.gif" width="15" height="13"></td>
-
 
826
               <td bgcolor="#F5F5F5"><span class="body_txt">Open Mode</span></td>
-
 
827
            </tr>
-
 
828
            <tr>
-
 
829
               <td bgcolor="#F5F5F5"><img src="images/i_rtag_restrictive_mode.gif" width="15" height="15"></td>
-
 
830
               <td bgcolor="#F5F5F5"><span class="body_txt">Restrictive Mode</span></td>
-
 
831
            </tr>
-
 
832
            <tr>
-
 
833
               <td bgcolor="#F5F5F5"><img src="images/i_rtag_ccb_mode.gif" width="15" height="15"></td>
-
 
834
               <td bgcolor="#F5F5F5"><span class="body_txt">CCB Mode</span></td>
-
 
835
            </tr>
-
 
836
            <tr>
-
 
837
               <td bgcolor="#F5F5F5"><img src="images/i_rtag_closed_mode.gif" width="15" height="14"></td>
-
 
838
               <td bgcolor="#F5F5F5"><span class="body_txt">Closed Mode</span></td>
-
 
839
            </tr>
-
 
840
            <tr>
-
 
841
               <td bgcolor="#F5F5F5"><img src="images/i_rtag_archive_mode.gif" width="15" height="14"></td>
-
 
842
               <td bgcolor="#F5F5F5"><span class="body_txt">Archive Mode</span></td>
-
 
843
            </tr>
-
 
844
         </table>
-
 
845
         <p>&nbsp;</p>
-
 
846
      </td>
-
 
847
      <td width="1" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
-
 
848
   </tr>
-
 
849
   <tr>
-
 
850
      <td valign="bottom" align="center" background="images/bg_home_orange.gif"><img src="images/img_vtree.gif" width="86" height="99" vspace="20" hspace="30"></td>
-
 
851
      <td background="images/bg_lght_gray.gif" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="500"></td>
-
 
852
   </tr>
749
</table>
853
</table>
750
 
854
 
751
 
855
 
752
<!-- FOOTER -->
856
<!-- FOOTER -->
753
<!--#include file="_footer.asp"-->
857
<!--#include file="_footer.asp"-->
Line 757... Line 861...
757
</map>
861
</map>
758
</body>
862
</body>
759
</html>
863
</html>
760
<%
864
<%
761
Call Destroy_All_Objects
865
Call Destroy_All_Objects
762
%>
-
 
763
866
%>
-
 
867