Subversion Repositories DevTools

Rev

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

Rev 6785 Rev 6788
Line 6... Line 6...
6
'=====================================================
6
'=====================================================
7
%>
7
%>
8
<%
8
<%
9
'------------ Variable Definition -------------
9
'------------ Variable Definition -------------
10
Dim rsTemp
10
Dim rsTemp
11
Dim projId
-
 
12
Dim pkgId
-
 
13
Dim rsQry
-
 
14
Dim isDaemonEnabledRelease
11
Dim isDaemonEnabledRelease
15
'------------ Constants Declaration -----------
12
'------------ Constants Declaration -----------
16
Const IMG_SVTREE = "<img src='images/i_vtree_small.gif' hspace='3' align='absmiddle' border='0'>"
-
 
17
Const IMG_WORLD = "<img src='images/i_foldero_small.gif' hspace='3' align='absmiddle' border='0'>"
-
 
18
Const IMG_GAP = "<img src='images/spacer.gif' width='20' height='1' border='0'>"
-
 
19
Const IMG_POINTER = "<img src='images/i_pointer.gif' border='0'>"
-
 
20
'------------ Variable Init -------------------
13
'------------ Variable Init -------------------
21
'----------------------------------------------
14
'----------------------------------------------
22
%>
15
%>
23
<%
16
<%
24
'-----------------------------------------------------------------------------------------------------------------------------
17
'-----------------------------------------------------------------------------------------------------------------------------
Line 136... Line 129...
136
     <br>
129
     <br>
137
     <span class="body_sect">Used by Packages In This Release</span>
130
     <span class="body_sect">Used by Packages In This Release</span>
138
     <br>
131
     <br>
139
     <!-- USED BY ------------------------------------------------>
132
     <!-- USED BY ------------------------------------------------>
140
     <table width="100%" border="0" cellspacing="1" cellpadding="3">
133
     <table width="100%" border="0" cellspacing="1" cellpadding="3">
141
        <tr>
134
        <tr class="body_col form_field_bg">
142
           <%If isDaemonEnabledRelease = FALSE Then%>
135
           <%If isDaemonEnabledRelease = FALSE Then%>
143
              <td background="images/bg_form_lightbluedark.gif" nowrap width="1" class="form_field"><INPUT type=checkbox name="checkall" value="Check All" onClick="checkUncheckAll(this);"></td>
136
              <td nowrap width="1" class="form_field"><INPUT type=checkbox name="checkall" value="Check All" onClick="checkUncheckAll(this);"></td>
144
           <%End If%>
137
           <%End If%>
145
           <td background="images/bg_form_lightbluedark.gif" nowrap width="1"></td>
138
           <td nowrap width="1"></td>
146
           <td background="images/bg_form_lightbluedark.gif" nowrap width="1" class="form_field">Name</td>
139
           <td nowrap width="1" class="form_field">Name</td>
147
           <td background="images/bg_form_lightbluedark.gif" nowrap width="25%" class="form_field">Version</td>
140
           <td nowrap width="25%" class="form_field">Version</td>
148
           <td background="images/bg_form_lightbluedark.gif" nowrap width="25%" class="form_field">Location</td>
141
           <td nowrap width="25%" class="form_field">Location</td>
149
           <td background="images/bg_form_lightbluedark.gif" nowrap width="1" class="form_field"></td>
142
           <td nowrap width="1" class="form_field"></td>
150
           <td background="images/bg_form_lightbluedark.gif" nowrap width="25%" class="form_field">Version Used</td>
143
           <td nowrap width="25%" class="form_field">Version Used</td>
151
           <td background="images/bg_form_lightbluedark.gif" nowrap width="25%" class="form_field">Last Modified</td>
144
           <td nowrap width="25%" class="form_field">Last Modified</td>
152
        </tr>
145
        </tr>
153
        <%
146
        <%
154
        OraDatabase.Parameters.Add "RTAG_ID", parRtag_id,                 ORAPARM_INPUT, ORATYPE_NUMBER
147
        OraDatabase.Parameters.Add "RTAG_ID", parRtag_id,                 ORAPARM_INPUT, ORATYPE_NUMBER
155
        OraDatabase.Parameters.Add "PKG_ID",  pkgInfoHash.Item("pkg_id"), ORAPARM_INPUT, ORATYPE_NUMBER
148
        OraDatabase.Parameters.Add "PKG_ID",  pkgInfoHash.Item("pkg_id"), ORAPARM_INPUT, ORATYPE_NUMBER
156
		OraDatabase.Parameters.Add "V_EXT",   EmptyToNull(pkgInfoHash.Item ("v_ext")), ORAPARM_INPUT, ORATYPE_VARCHAR2
149
		OraDatabase.Parameters.Add "V_EXT",   EmptyToNull(pkgInfoHash.Item ("v_ext")), ORAPARM_INPUT, ORATYPE_VARCHAR2
Line 160... Line 153...
160
        OraDatabase.Parameters.Remove "RTAG_ID"
153
        OraDatabase.Parameters.Remove "RTAG_ID"
161
        OraDatabase.Parameters.Remove "PKG_ID"
154
        OraDatabase.Parameters.Remove "PKG_ID"
162
        OraDatabase.Parameters.Remove "V_EXT"
155
        OraDatabase.Parameters.Remove "V_EXT"
163
        %>
156
        %>
164
        <%If rsTemp.RecordCount < 1 Then%>
157
        <%If rsTemp.RecordCount < 1 Then%>
-
 
158
           <tr class="form_item_pad form_field_grey_bg">
165
           <tr>
159
              <td nowrap>&nbsp;</td>
166
              <%If isDaemonEnabledRelease = FALSE Then%>
160
           <%If isDaemonEnabledRelease = FALSE Then%>
167
                 <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
161
              <td class="form_item_pad"></td>
168
              <%End If%>
162
           <%End If%>
169
              <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
-
 
170
              <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
-
 
171
              <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
-
 
172
              <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td><br>
-
 
173
              <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
-
 
174
              <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
-
 
175
              <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
163
              <td class="form_item_pad" colspan=6>Leaf Package - Is not used by any other package in this Release</td>
176
           </tr>
164
           </tr>
177
        <%End If%>
165
        <%Else%>
178
        <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
166
        <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
179
           <tr>
167
           <tr  class="form_item_pad form_field_grey_bg">
180
              <%If isDaemonEnabledRelease = FALSE Then%>
168
              <%If isDaemonEnabledRelease = FALSE Then%>
181
                 <%If rsTemp("dpv_id") <> parPv_id And IsNull(rsTemp("ignore_warn")) Then%>
169
                 <%If rsTemp("dpv_id") <> parPv_id And IsNull(rsTemp("ignore_warn")) Then%>
182
                    <td background="images/bg_form_lightgray.gif" nowrap><input type="checkbox" name="ignore_warnings" value="<%=rsTemp("pv_id")%>_<%=rsTemp("dpv_id")%>"></td>
170
                    <td nowrap><input type="checkbox" name="ignore_warnings" value="<%=rsTemp("pv_id")%>_<%=rsTemp("dpv_id")%>"></td>
183
                 <%ElseIf rsTemp("dpv_id") = parPv_id And IsNull(rsTemp("ignore_warn")) OR NOT isNull(rsTemp("ignore_warn")) Then%>
171
                 <%ElseIf rsTemp("dpv_id") = parPv_id And IsNull(rsTemp("ignore_warn")) OR NOT isNull(rsTemp("ignore_warn")) Then%>
184
                    <td background="images/bg_form_lightgray.gif" nowrap><input type="checkbox" name="ignore_warnings" value="<%=rsTemp("pv_id")%>_<%=rsTemp("dpv_id")%>" disabled></td>
172
                    <td nowrap><input type="checkbox" name="ignore_warnings" value="<%=rsTemp("pv_id")%>_<%=rsTemp("dpv_id")%>" disabled></td>
185
                 <%Else%>
173
                 <%Else%>
186
                    <td background="images/bg_form_lightgray.gif" nowrap><input type="checkbox" name="ignore_warnings" value="<%=rsTemp("pv_id")%>_<%=rsTemp("dpv_id")%>" checked></td>
174
                    <td nowrap><input type="checkbox" name="ignore_warnings" value="<%=rsTemp("pv_id")%>_<%=rsTemp("dpv_id")%>" checked></td>
187
                 <%End If%>
175
                 <%End If%>
188
              <%End If%>
176
              <%End If%>
189
 
177
 
190
              <%If rsTemp("deprecated_state") <> "" AND rsTemp("pkg_state") = 0 Then%>
178
              <%If rsTemp("deprecated_state") <> "" AND rsTemp("pkg_state") = 0 Then%>
191
                 <td background="images/bg_form_lightgray.gif"><%=DefineStateIcon ( rsTemp("deprecated_state"), rsTemp("dlocked"), NULL, NULL, pkgInfoHash.Item("build_type"), TRUE )%></td>
179
                 <td><%=DefineStateIcon ( rsTemp("deprecated_state"), rsTemp("dlocked"), NULL, NULL, pkgInfoHash.Item("build_type"), TRUE )%></td>
192
              <%Else%>
180
              <%Else%>
193
                 <td background="images/bg_form_lightgray.gif"><%=DefineStateIcon ( rsTemp("pkg_state"), rsTemp("dlocked"), NULL, NULL, pkgInfoHash.Item("build_type"), TRUE )%></td>
181
                 <td><%=DefineStateIcon ( rsTemp("pkg_state"), rsTemp("dlocked"), NULL, NULL, pkgInfoHash.Item("build_type"), TRUE )%></td>
194
              <%End If%>
182
              <%End If%>
195
 
183
 
196
              <td background="images/bg_form_lightgray.gif" nowrap><a href="used_by.asp?pv_id=<%=rsTemp("pv_id")%>&rtag_id=<%=parRtag_id%>" class="txt_linked"><%=rsTemp("pkg_name")%></a></td>
184
              <td class="form_item_pad" nowrap><a href="used_by.asp?pv_id=<%=rsTemp("pv_id")%>&rtag_id=<%=parRtag_id%>" class="txt_linked"><%=rsTemp("pkg_name")%></a></td>
197
              <td background="images/bg_form_lightgray.gif" class="form_item"><%=rsTemp("pkg_version")%></td>
185
              <td class="form_item_pad"><%=rsTemp("pkg_version")%></td>
198
              <td background="images/bg_form_lightgray.gif" class="body_txt_gray" nowrap><%=GetEnvName(rsTemp("env_area"))%></td>
186
              <td class="form_item_pad"  nowrap><%=GetEnvName(rsTemp("env_area"))%></td>
199
              <td background="images/bg_form_lightgray.gif"><%=DefineStateIcon ( 0, "Y", rsTemp("ignore_warn"), rsTemp("is_patch_ignore"), pkgInfoHash.Item("build_type"), TRUE )%></td>
187
              <td class="form_item_pad"><%=DefineStateIcon ( 0, "Y", rsTemp("ignore_warn"), rsTemp("is_patch_ignore"), pkgInfoHash.Item("build_type"), TRUE )%></td>
200
              <td background="images/bg_form_lightgray.gif" <%If rsTemp("dpv_id") <> parPv_id Then%>class="err_alert"<%Else%>class="form_item"<%End If%>><%=pkgInfoHash.Item ("pkg_name") &" "& rsTemp("dpkg_version")%></td>
188
              <td <%If rsTemp("dpv_id") <> parPv_id Then%>class="err_alert"<%Else%>class="form_item_pad"<%End If%>><%=pkgInfoHash.Item ("pkg_name") &" "& rsTemp("dpkg_version")%></td>
201
              <td background="images/bg_form_lightgray.gif" class="form_item"><%=emailField(enum_imgUser & rsTemp("full_name"), rsTemp("user_email"))%>&nbsp;<%=DisplayDate ( rsTemp("modified_stamp") )%></td>
189
              <td class="form_item_pad"><%=emailField(enum_imgUser & rsTemp("full_name"), rsTemp("user_email"))%>&nbsp;<%=DisplayDate ( rsTemp("modified_stamp") )%></td>
202
           </tr>
190
           </tr>
203
           <%rsTemp.MoveNext
191
           <%rsTemp.MoveNext
204
           rsTemp.Close()
-
 
-
 
192
 
205
        WEnd
193
        WEnd
206
        Set rsTemp = nothing
-
 
207
        %>
194
        %>
-
 
195
           <tr class="form_item_pad form_field_grey_bg">
-
 
196
           <%If isDaemonEnabledRelease = FALSE Then%>
-
 
197
              <td class="form_item_pad"></td>
-
 
198
           <%End If%>
-
 
199
              <td class="form_item_pad" nowrap colspan=7>Total Packages: <%=rsTemp.RecordCount%></td>
-
 
200
           </tr>
-
 
201
        <%End If%>
208
     </table>
202
     </table>
-
 
203
     <%If rsTemp.RecordCount > 0 Then%>
209
     <%If isDaemonEnabledRelease = FALSE Then%>
204
     <%If isDaemonEnabledRelease = FALSE Then%>
210
        <input name="btn" type="submit" class="form_btn" value="Apply"><br>
205
        <input name="btn" type="submit" class="form_btn" value="Apply"><br>
211
        <SPAN class="rep_small">NOTE: Click on Apply "To Ignore Warnings" On Packages Used By</SPAN><br>
206
        <SPAN class="rep_small">NOTE: Click on Apply "To Ignore Warnings" On Packages Used By</SPAN><br>
212
     <%End If%>
207
     <%End If%>
213
     <SPAN class="rep_small">NOTE: Versions in <SPAN class="err_alert">RED</SPAN> are different from <%=pkgInfoHash.Item("pkg_name") &" "& pkgInfoHash.Item("pkg_version")%></span>
208
     <SPAN class="rep_small">NOTE: Versions in <SPAN class="err_alert">RED</SPAN> are different from <%=pkgInfoHash.Item("pkg_name") &" "& pkgInfoHash.Item("pkg_version")%></span>
214
     <input type="hidden" name="action" value="true">
209
     <input type="hidden" name="action" value="true">
215
    <%End If%>
210
    <%End If%>
-
 
211
    <%End If%>
-
 
212
     <%rsTemp.Close()%>
-
 
213
     <%Set rsTemp = nothing%>
216
    <%
214
    <%
217
    Call objFormComponent.FormEnd()
215
    Call objFormComponent.FormEnd()
218
    '-- FROM END ----------------------------------------------------------------------------------------------------------------
216
    '-- FROM END ----------------------------------------------------------------------------------------------------------------
219
    %>
217
    %>
220
    <!-- Extended Searching ---------------------------------------->
218
    <!-- Extended Searching ---------------------------------------->