Subversion Repositories DevTools

Rev

Rev 6683 | Rev 6790 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6683 Rev 6788
Line 6... Line 6...
6
%>
6
%>
7
<!--#include file="_tabs.asp"-->
7
<!--#include file="_tabs.asp"-->
8
<!--#include file="_action_buttons.asp"-->
8
<!--#include file="_action_buttons.asp"-->
9
<%
9
<%
10
'------------ Variable Definition -------------
10
'------------ Variable Definition -------------
11
Dim parExtpkg, parExtrtag_id
-
 
12
Dim rsTemp
11
Dim rsTemp
13
Dim CanIgnoreWarnings
12
Dim CanIgnoreWarnings
14
'Dim parFileDiff
-
 
15
'Dim parComparePvId
-
 
16
'Dim parFileFilter
-
 
17
'Dim dFileFilter
-
 
18
'Dim parDepFilter
-
 
19
'Dim dDepFilter
-
 
20
'------------ Constants Declaration -----------
13
'------------ Constants Declaration -----------
21
'------------ Variable Init -------------------
14
'------------ Variable Init -------------------
22
parExtpkg = QStrPar("extpkg")
-
 
23
parExtrtag_id = QStrPar("extrtag_id")
-
 
-
 
15
 
24
'----------------------------------------------
16
'----------------------------------------------
25
%>
17
%>
26
<%
18
<%
27
'-----------------------------------------------------------------------------------------------------------------
19
'-----------------------------------------------------------------------------------------------------------------
28
Sub Print_Pkg_Dependencies ( NNpv_id, NNrtag_id, BBextpkg )
20
Sub Print_Pkg_Dependencies ( NNpv_id, NNrtag_id, BBextpkg )
Line 50... Line 42...
50
   End If
42
   End If
51
 
43
 
52
   %>
44
   %>
53
   <table width="100%" border="0" cellspacing="1" cellpadding="3">
45
   <table width="100%" border="0" cellspacing="1" cellpadding="3">
54
      <form name="ignore_warnings" method="get" action="_ignore_warnings.asp" onSubmit="ProgressBar.style.visibility='visible';">
46
      <form name="ignore_warnings" method="get" action="_ignore_warnings.asp" onSubmit="ProgressBar.style.visibility='visible';">
55
         <tr>
47
         <tr class="body_col form_field_bg">
56
            <%If CanIgnoreWarnings Then%><td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field" align="center">Ignore<br>warnings</td><%End If%>
48
            <%If CanIgnoreWarnings Then%><td nowrap width="1%" class="form_field" align="center">Ignore<br>warnings</td><%End If%>
57
            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field"></td>
49
            <td nowrap width="1%" class="form_field"></td>
58
            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">Name<br><img src="images/h_trsp_dot.gif" width="120" height="1"></td>
50
            <td nowrap width="1%" class="form_field">Name<br><img src="images/h_trsp_dot.gif" width="120" height="1"></td>
59
            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field"><%=imgPkgLockSpacer%>Version</td>
51
            <td nowrap width="1%" class="form_field"><%=imgPkgLockSpacer%>Version</td>
60
            <td background="images/bg_form_lightbluedark.gif" nowrap width="100%" class="form_field"><%=imgPkgLockSpacer%>Released</td>
52
            <td nowrap width="100%" class="form_field"><%=imgPkgLockSpacer%>Released</td>
61
            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field" align="center">Last&nbsp;Modified</td>
53
            <td nowrap width="1%" class="form_field" align="center">Last&nbsp;Modified</td>
62
            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field"></td>
54
            <td nowrap width="1%" class="form_field"></td>
63
            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">&nbsp;&nbsp;&nbsp;</td>
55
            <td nowrap width="1%" class="form_field">&nbsp;&nbsp;&nbsp;</td>
64
         </tr>
56
         </tr>
65
         <%' Display "no dependencies" if needed%>
57
         <%' Display "no dependencies" if needed%>
66
         <%If rsTemp.RecordCount = 0 Then%>
58
         <%If rsTemp.RecordCount = 0 Then%>
67
            <tr>
59
            <tr class="form_field_grey_bg">
68
               <%If CanIgnoreWarnings Then%><td align="center" nowrap background="images/bg_form_lightgray.gif"></td><%End If%>
60
               <%If CanIgnoreWarnings Then%><td>&nbsp;</td><%End If%>
69
               <td align="center" background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
61
               <td class="form_item">&nbsp;</td>
70
               <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
62
               <td class="form_item">&nbsp;</td>
71
               <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
63
               <td class="form_item">&nbsp;</td>
72
               <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
64
               <td class="form_item">&nbsp;</td>
73
               <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
65
               <td class="form_item">&nbsp;</td>
74
               <td background="images/bg_form_lightgray.gif" class="form_item"></td>
66
               <td class="form_item"></td>
75
               <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
67
               <td class="form_item">&nbsp;</td>
76
            </tr>
68
            </tr>
77
            <%
69
            <%
78
            noDependencies = TRUE
70
            noDependencies = TRUE
79
         End If
71
         End If
80
         %>
72
         %>
Line 94... Line 86...
94
            Else
86
            Else
95
               workInProgress = ""
87
               workInProgress = ""
96
            End If
88
            End If
97
 
89
 
98
            %>
90
            %>
99
            <tr>
91
            <tr class="form_field_grey_bg">
100
               <%If CanIgnoreWarnings Then%>
92
               <%If CanIgnoreWarnings Then%>
101
					<td align="center" nowrap background="images/bg_form_lightbluedark.gif">
93
					<td align="center" nowrap class=form_field_bg>
102
						<input type="checkbox" name="forced" value="<%=rsTemp("ignore_dpv")%>" <%=Define_Ignore_State ( rsTemp("ignore_warn"), rsTemp("is_patch_ignore"), rsTemp("pkg_state"), rsTemp("latest_pkg_version"), rsTemp("dlocked") )%>>
94
						<input type="checkbox" name="forced" value="<%=rsTemp("ignore_dpv")%>" <%=Define_Ignore_State ( rsTemp("ignore_warn"), rsTemp("is_patch_ignore"), rsTemp("pkg_state"), rsTemp("latest_pkg_version"), rsTemp("dlocked") )%>>
103
					</td>
95
					</td>
104
			   <%End If%>
96
			   <%End If%>
105
               <td align="center" background="images/bg_form_lightgray.gif" class="form_item">
97
               <td align="center" class="form_item">
106
				  <%=DefineStateIcon ( iif(rsTemp("pkg_state") <> 0,rsTemp("pkg_state"),rsTemp("deprecated_state")), rsTemp("dlocked"), rsTemp("ignore_warn"), rsTemp("is_patch_ignore"), pkgInfoHash.Item("build_type"), FALSE )%>
98
				  <%=DefineStateIcon ( iif(rsTemp("pkg_state") <> 0,rsTemp("pkg_state"),rsTemp("deprecated_state")), rsTemp("dlocked"), rsTemp("ignore_warn"), rsTemp("is_patch_ignore"), pkgInfoHash.Item("build_type"), FALSE )%>
107
               </td>
99
               </td>
108
               <td background="images/bg_form_lightgray.gif" class="envPkg" nowrap><a href="<%=pkgURL%>" class="txt_linked"><%=rsTemp.Fields("dpkg_name")%></a></td>
100
               <td class="envPkg" nowrap><a href="<%=pkgURL%>" class="txt_linked"><%=rsTemp.Fields("dpkg_name")%></a></td>
109
               <td background="images/bg_form_lightgray.gif" class="form_item" nowrap><%If rsTemp("dlocked") = "Y" Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><%=rsTemp("dpkg_version")%></td>
101
               <td class="form_item" nowrap><%If rsTemp("dlocked") = "Y" Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><%=rsTemp("dpkg_version")%></td>
110
               <td background="images/bg_form_lightgray.gif" <%If IsNull(rsTemp("ignore_warn")) Then%>class="sublbox_hitem"<%Else%>class="body_scol_thin"<%End If%>><%If rsTemp("latest_dlocked") = "Y" AND ( NOT IsNull(rsTemp("latest_pkg_version")) ) Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><%=rsTemp("latest_pkg_version")%></td>
102
               <td <%If IsNull(rsTemp("ignore_warn")) Then%>class="sublbox_hitem"<%Else%>class="body_scol_thin"<%End If%>><%If rsTemp("latest_dlocked") = "Y" AND ( NOT IsNull(rsTemp("latest_pkg_version")) ) Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><%=rsTemp("latest_pkg_version")%></td>
111
               <td background="images/bg_form_lightgray.gif" class="form_item" nowrap><%If NOT IsNull(rsTemp.Fields("modifier_name")) Then%><%=emailField(workInProgress & rsTemp.Fields("modifier_name"), rsTemp.Fields("modifier_email"))%> on <%=DisplayDateTime ( rsTemp("modified_stamp")  )%><%End If%></td>
103
               <td class="form_item" nowrap><%If NOT IsNull(rsTemp.Fields("modifier_name")) Then%><%=emailField(workInProgress & rsTemp.Fields("modifier_name"), rsTemp.Fields("modifier_email"))%> on <%=DisplayDateTime ( rsTemp("modified_stamp")  )%><%End If%></td>
112
               <td background="images/bg_form_lightgray.gif" class="form_item">
104
               <td class="form_item">
113
                        <%If (NOT pkgInfoHash.Item("is_sdkpkg")) AND ((pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R")) Then%>
105
                        <%If (NOT pkgInfoHash.Item("is_sdkpkg")) AND ((pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R")) Then%>
114
                            <a href="_remove_build_dependency.asp?pv_id=<%=NNpv_id%>&dpv_id=<%=rsTemp("orig_pv_id")%>&rtag_id=<%=NNrtag_id%>" onClick="return vixConfirmDelete('this Build Dependency');"><img src="images/i_delete.gif" alt="Remove from list." width="13" height="12" hspace="3" border="0" title="Delete this package as a dependency"></a>
106
                            <a href="_remove_build_dependency.asp?pv_id=<%=NNpv_id%>&dpv_id=<%=rsTemp("orig_pv_id")%>&rtag_id=<%=NNrtag_id%>" onClick="return vixConfirmDelete('this Build Dependency');"><img src="images/i_delete.gif" alt="Remove from list." width="13" height="12" hspace="3" border="0" title="Delete this package as a dependency"></a>
115
                        <%Else%>
107
                        <%Else%>
116
                            <img src="images/i_delete_disable.gif" width="13" height="12" hspace="3" border="0" title="Delete this package as a dependency">
108
                            <img src="images/i_delete_disable.gif" width="13" height="12" hspace="3" border="0" title="Delete this package as a dependency">
117
                        <%End If%>
109
                        <%End If%>
118
               </td>
110
               </td>
119
               <td background="images/bg_form_lightgray.gif" class="form_item">
111
               <td class="form_item">
120
               <%If (NNrtag_id <> "") and ((CInt(rsTemp("pkg_state")) = enumPKG_NOT_FOUND) OR (CInt(rsTemp("pkg_state")) = enumPKG_SDK_DEPENDENCY)) Then%>
112
               <%If (NNrtag_id <> "") and ((CInt(rsTemp("pkg_state")) = enumPKG_NOT_FOUND) OR (CInt(rsTemp("pkg_state")) = enumPKG_SDK_DEPENDENCY)) Then%>
121
               <%
113
               <%
122
                 Dim sonclick
114
                 Dim sonclick
123
                 Dim surl
115
                 Dim surl
124
                 surl = "_wform_add_missing_dependency.asp" &_
116
                 surl = "_wform_add_missing_dependency.asp" &_
Line 128... Line 120...
128
                   "&rtag_id=" & NNrtag_id
120
                   "&rtag_id=" & NNrtag_id
129
                 sonclick = "MM_openVixIFrame('" & surl & "','Add Dependency');"
121
                 sonclick = "MM_openVixIFrame('" & surl & "','Add Dependency');"
130
               %>
122
               %>
131
                 <img onclick="<%=sonclick%>" src="images/i_add_missing_dep.gif" alt="Add missing dependency." width="15" height="15" hspace="3" border="0" title="Add this package to the Release">
123
                 <img onclick="<%=sonclick%>" src="images/i_add_missing_dep.gif" alt="Add missing dependency." width="15" height="15" hspace="3" border="0" title="Add this package to the Release">
132
               <%Else%>
124
               <%Else%>
133
                 <img src="images/i_add_missing_dep.gif" width="15" height="15" hspace="3" border="0" style="visibility:hidden">
125
                 <img src="images/i_add_missing_dep.gif" width="15" height="15" hspace="3" border="0" class="lessOpacity" style="visibility:hidden">
134
               <%End If%>
126
               <%End If%>
135
               </td>
127
               </td>
136
 
128
 
137
 
129
 
138
            </tr>
130
            </tr>
Line 142... Line 134...
142
         %>
134
         %>
143
        <tr>
135
        <tr>
144
            <%If noDependencies OR releaseIsClosed(ReleaseMode) Then%>
136
            <%If noDependencies OR releaseIsClosed(ReleaseMode) Then%>
145
               <td></td>
137
               <td></td>
146
            <%Else%>
138
            <%Else%>
147
               <%If CanIgnoreWarnings Then%><td nowrap background="images/bg_form_lightbluedark.gif" align="center"><input name="Submit" type="submit" class="form_btn" id="Submit" value="Apply" ></td><%End If%>
139
               <%If CanIgnoreWarnings Then%><td nowrap align="center" class="form_field_bg"><input name="Submit" type="submit" class="form_btn" id="Submit" value="Apply" ></td><%End If%>
148
            <%End If%>
140
            <%End If%>
149
            <td colspan="2" class="body_scol"><SPAN id="ProgressBar" name="ProgressBar" style="visibility:hidden;"><img src="images/i_processing.gif" width="11" height="17" align="absmiddle" hspace="3">Processing...</SPAN></td>
141
            <td colspan="2" class="body_scol"><SPAN id="ProgressBar" name="ProgressBar" style="visibility:hidden;"><img src="images/i_processing.gif" width="11" height="17" align="absmiddle" hspace="3">Processing...</SPAN></td>
150
            <td><img src="images/spacer.gif" width="150" height="1"></td>
142
            <td><img src="images/spacer.gif" width="150" height="1"></td>
151
            <td></td>
143
            <td></td>
152
            <td></td>
144
            <td></td>
Line 176... Line 168...
176
   OraDatabase.Parameters("PV_ID").ServerType = ORATYPE_NUMBER
168
   OraDatabase.Parameters("PV_ID").ServerType = ORATYPE_NUMBER
177
 
169
 
178
   Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, 0 )%>
170
   Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, 0 )%>
179
 
171
 
180
   <table width="100%" border="0" cellspacing="1" cellpadding="3">
172
   <table width="100%" border="0" cellspacing="1" cellpadding="3">
181
      <tr>
173
      <tr class="body_col form_field_bg">
182
         <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">Name<br><img src="images/h_trsp_dot.gif" width="120" height="1"></td>
174
         <td nowrap width="1%" class="form_field">Name<br><img src="images/h_trsp_dot.gif" width="120" height="1"></td>
183
         <td background="images/bg_form_lightbluedark.gif" nowrap width="100%" class="form_field"><%=imgPkgLockSpacer%>Version</td>
175
         <td nowrap width="100%" class="form_field"><%=imgPkgLockSpacer%>Version</td>
184
         <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field" align="center">Last&nbsp;Modified</td>
176
         <td nowrap width="1%" class="form_field" align="center">Last&nbsp;Modified</td>
185
         <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field"></td>
177
         <td nowrap width="1%" class="form_field"></td>
186
      </tr>
178
      </tr>
187
      <%' Display "no dependencies" if needed%>
179
      <%' Display "no dependencies" if needed%>
188
      <%If rsTemp.RecordCount = 0 Then%>
180
      <%If rsTemp.RecordCount = 0 Then%>
189
         <tr>
181
         <tr class="form_field_grey_bg">
190
            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
182
            <td class="form_item">&nbsp;</td>
191
            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
183
            <td class="form_item">&nbsp;</td>
192
            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
184
            <td class="form_item">&nbsp;</td>
193
            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
185
            <td class="form_item">&nbsp;</td>
194
         </tr>
186
         </tr>
195
         <%
187
         <%
196
         noDependencies = TRUE
188
         noDependencies = TRUE
197
      End If
189
      End If
198
      %>
190
      %>
Line 212... Line 204...
212
         Else
204
         Else
213
            workInProgress = ""
205
            workInProgress = ""
214
         End If
206
         End If
215
 
207
 
216
         %>
208
         %>
217
         <tr>
209
         <tr class="form_field_grey_bg">
218
            <td background="images/bg_form_lightgray.gif" class="envPkg" nowrap><a href="<%=pkgURL%>" class="txt_linked"><%If rsTemp("is_patch") = "Y" Then%><%=PatchIcon ( rsTemp("is_patch"), rsTemp("is_obsolete") )%><%End If%><%=rsTemp.Fields("dpkg_name")%></a></td>
210
            <td class="envPkg" nowrap><a href="<%=pkgURL%>" class="txt_linked"><%If rsTemp("is_patch") = "Y" Then%><%=PatchIcon ( rsTemp("is_patch"), rsTemp("is_obsolete") )%><%End If%><%=rsTemp.Fields("dpkg_name")%></a></td>
219
            <td background="images/bg_form_lightgray.gif" class="form_item" nowrap><%If rsTemp("dlocked") = "Y" Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><%=rsTemp("dpkg_version")%></td>
211
            <td class="form_item" nowrap><%If rsTemp("dlocked") = "Y" Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><%=rsTemp("dpkg_version")%></td>
220
            <td background="images/bg_form_lightgray.gif" class="form_item" nowrap><%If NOT IsNull(rsTemp.Fields("modifier_name")) Then%><%=emailField(workInProgress & rsTemp.Fields("modifier_name"), rsTemp.Fields("modifier_email"))%> on <%=DisplayDateTime ( rsTemp("modified_stamp") )%><%End If%></td>
212
            <td class="form_item" nowrap><%If NOT IsNull(rsTemp.Fields("modifier_name")) Then%><%=emailField(workInProgress & rsTemp.Fields("modifier_name"), rsTemp.Fields("modifier_email"))%> on <%=DisplayDateTime ( rsTemp("modified_stamp") )%><%End If%></td>
221
            <td background="images/bg_form_lightgray.gif" class="form_item"><%If (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") Then%><a href="_remove_build_dependency.asp?pv_id=<%=parPv_id%>&dpv_id=<%=rsTemp("orig_pv_id")%>&rtag_id=<%=parRtag_id%>" onClick="return confirmDelete('this Build Dependency');"><img src="images/i_delete.gif" alt="Remove from list." width="13" height="12" hspace="3" border="0"></a><%Else%><img src="images/i_delete_disable.gif" width="13" height="12" hspace="3" border="0"><%End If%></td>
213
            <td class="form_item"><%If (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") Then%><a href="_remove_build_dependency.asp?pv_id=<%=parPv_id%>&dpv_id=<%=rsTemp("orig_pv_id")%>&rtag_id=<%=parRtag_id%>" onClick="return confirmDelete('this Build Dependency');"><img src="images/i_delete.gif" alt="Remove from list." width="13" height="12" hspace="3" border="0"></a><%Else%><img src="images/i_delete_disable.gif" width="13" height="12" hspace="3" border="0"><%End If%></td>
222
         </tr>
214
         </tr>
223
         <%
215
         <%
224
         rsTemp.MoveNext
216
         rsTemp.MoveNext
225
      Loop
217
      Loop
226
      %>
218
      %>