Subversion Repositories DevTools

Rev

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

Rev 6610 Rev 6790
Line 128... Line 128...
128
 
128
 
129
                  <table width="100%"  border="0" cellspacing="0" cellpadding="5">
129
                  <table width="100%"  border="0" cellspacing="0" cellpadding="5">
130
                     <tr>
130
                     <tr>
131
                        <td>
131
                        <td>
132
                           <%If parSearchType = "1" Then%>
132
                           <%If parSearchType = "1" Then%>
133
                              <span class="body_sect">Find Package</span>
133
                              <span class="body_sect">Find Package: <%=Trim(parKeyword)%></span>
134
                           <%ElseIf parSearchType = "2" Then%>
134
                           <%ElseIf parSearchType = "2" Then%>
135
                              <span class="body_sect">Find File</span>
135
                              <span class="body_sect">Find File: <%=Trim(parKeyword)%>.</span><span class="body_txt">Showing max. <%=MaxRows%> results.</span>
136
                           <%End If%>
136
                           <%End If%>
137
                        </td>
137
                        </td>
138
                     </tr>
138
                     </tr>
139
                     <tr>
-
 
140
                        <td nowrap bgcolor="#E4E9EC" class="body_txt">
-
 
141
                           Results for <b><%=Trim(parKeyword)%></b><%If parSearchType = "2" Then%>. Showing max. <%=MaxRows%> results.<%End If%>
-
 
142
                        </td>
-
 
143
                     </tr>
-
 
144
                  </table>
-
 
145
 
-
 
146
 
139
 
147
                  <%If parSearchType = "1" Then%>
140
                  <%If parSearchType = "1" Then%>
148
                     <!-- PACKAGE SEARCH ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
141
                     <!-- PACKAGE SEARCH ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
149
                     <table width="100%" border="0" cellspacing="1" cellpadding="5">
142
                     <table width="100%" border="0" cellspacing="1" cellpadding="5" class='stdGrey'>
150
                        <form name="frm" method="get" action="<%=ScriptName%>">
-
 
151
                           <!-- Heading -->
143
                           <thead>
152
                           <tr>
144
                               <tr>
153
                              <td width="1" nowrap class="body_col" bgcolor="#E4E9EC"></td>
145
                                  <th width="1" nowrap ></th>
154
                              <td width="1" nowrap class="body_col" bgcolor="#E4E9EC">Package&nbsp;Name</td>
146
                                  <th width="1" nowrap >Package&nbsp;Name</th>
155
                              <td width="1" nowrap class="body_col" bgcolor="#E4E9EC">Version</td>
147
                                  <th width="1" nowrap >Version</th>
156
                              <td width="1" nowrap class="body_col" bgcolor="#E4E9EC">Location</td>
148
                                  <th width="1" nowrap >Location</th>
157
                              <td width="100%" nowrap class="body_col" bgcolor="#E4E9EC">
149
                                  <th width="100%" nowrap>
158
                                 <SPAN id="IMG_EXPAND_ALL_REASONS" name="IMG_EXPAND_ALL_REASONS" style="display:block;">
150
                                     <SPAN id="IMG_EXPAND_ALL_REASONS" name="IMG_EXPAND_ALL_REASONS" style="display:block;">
159
                                    <a href="javascript:;" onClick="ExpandAll(); ToggleDisplay('IMG_EXPAND_ALL_REASONS','IMG_COLLAPSE_ALL_REASONS');" title="Show All Reasons for Release.">
151
                                        <a href="javascript:;" onClick="ExpandAll(); ToggleDisplay('IMG_EXPAND_ALL_REASONS','IMG_COLLAPSE_ALL_REASONS');" title="Show All Reasons for Release.">
160
                                       <img src="icons/b_expand_all.gif" border="0" align="absmiddle" hspace="3">
152
                                           <img src="icons/b_expand_all.gif" border="0" align="absmiddle" hspace="3">
161
                                    </a>Reason&nbsp;for&nbsp;Release
153
                                        </a>Reason&nbsp;for&nbsp;Release
162
                                 </SPAN>
154
                                     </SPAN>
163
                                 <SPAN id="IMG_COLLAPSE_ALL_REASONS" name="IMG_COLLAPSE_ALL_REASONS" style="display:none;">
155
                                     <SPAN id="IMG_COLLAPSE_ALL_REASONS" name="IMG_COLLAPSE_ALL_REASONS" style="display:none;">
164
                                    <a href="javascript:;" onClick="CollapseAll(); ToggleDisplay('IMG_EXPAND_ALL_REASONS','IMG_COLLAPSE_ALL_REASONS');" title="Hide All Reasons for Release.">
156
                                        <a href="javascript:;" onClick="CollapseAll(); ToggleDisplay('IMG_EXPAND_ALL_REASONS','IMG_COLLAPSE_ALL_REASONS');" title="Hide All Reasons for Release.">
165
                                       <img src="icons/b_collapse_all.gif" border="0" align="absmiddle" hspace="3">
157
                                           <img src="icons/b_collapse_all.gif" border="0" align="absmiddle" hspace="3">
166
                                    </a>Reason&nbsp;for&nbsp;Release
158
                                        </a>Reason&nbsp;for&nbsp;Release
167
                                 </SPAN>
159
                                     </SPAN>
168
                              </td>
160
                                  </th>
169
                              <td colspan=2 width="1" nowrap class="body_col" bgcolor="#E4E9EC">Last&nbsp;Modified</td>
161
                                  <th colspan=2 width="1" nowrap>Last&nbsp;Modified</th>
170
                           </tr>
162
                               </tr>
171
                           <%
163
                           </thead>
172
                           If rsRep.RecordCount = 0 Then
164
                            <%If rsRep.RecordCount = 0 Then%>
173
                              With Response
-
 
174
                                 .write "<tr>"
165
                                <tr>
175
                                 .write "<td colspan='6' class='body_row'>Found 0 records.</td>"
166
                                    <td colspan='6'>Found 0 records.</td> 
176
                                 .write "</tr>"
-
 
177
                              End With
167
                                </tr>
178
                           End If
168
                            <%End If
179
 
169
 
180
                           While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
170
                           While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
181
 
171
 
182
                              imgLock = IMG_NOT_OFFICIAL
172
                              imgLock = IMG_NOT_OFFICIAL
183
                              If (rsRep("dlocked") = "Y") OR (rsRep("dlocked") = "A") Then
173
                              If (rsRep("dlocked") = "Y") OR (rsRep("dlocked") = "A") Then
184
                                 imgLock = IMG_OFFICIAL
174
                                 imgLock = IMG_OFFICIAL
185
                              End If%>
175
                              End If%>
186
                              <tr>
176
                              <tr>
187
                                 <td valign="top" bgcolor="#F5F5F5"><%=imgLock%></td>
177
                                 <td valign="top"><%=imgLock%></td>
188
                                 <td nowrap class="body_txt" valign="top" bgcolor="#F5F5F5"><%=Highlight_Substring( rsRep("pkg_name"), Trim(parKeyword) )%></td>
178
                                 <td nowrap valign="top"><%=Highlight_Substring( rsRep("pkg_name"), Trim(parKeyword) )%></td>
189
                                 <td nowrap valign="top" bgcolor="#F5F5F5"><a href="dependencies.asp?pv_id=<%=rsRep("pv_id")%>&rtag_id=<%=parRtagId%>" class="body_link"><%=rsRep("pkg_version")%></a></td>
179
                                 <td nowrap valign="top"><a href="dependencies.asp?pv_id=<%=rsRep("pv_id")%>&rtag_id=<%=parRtagId%>" class="body_link"><%=rsRep("pkg_version")%></a></td>
190
                                 <td nowrap class="body_txt" valign="top" bgcolor="#F5F5F5"><%= GetEnvName(rsRep("env_area")) &"&nbsp;/&nbsp;"& rsRep("view_name")%></td>
180
                                 <td nowrap valign="top"><%= GetEnvName(rsRep("env_area")) &"&nbsp;/&nbsp;"& rsRep("view_name")%></td>
191
                                 <td valign="top"  bgcolor="#F5F5F5" >
181
                                 <td valign="top" >
192
                                    <DIV style="display:block;" id="SHORT_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>" name="SHORT_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>"  onclick="ToggleDisplay('SHORT_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>','FULL_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>');">
182
                                    <DIV style="display:block;" id="SHORT_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>" name="SHORT_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>"  onclick="ToggleDisplay('SHORT_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>','FULL_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>');">
193
                                       <a href="#" class="row_txt_area" title="Click to see more...">Click to see more...</a>
183
                                       <a href="#" class="row_txt_area" title="Click to see more...">Click to see more...</a>
194
                                    </DIV>
184
                                    </DIV>
195
                                    <DIV id="FULL_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>" name="FULL_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>" style="display:none;" onclick="ToggleDisplay('SHORT_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>','FULL_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>');">
185
                                    <DIV id="FULL_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>" name="FULL_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>" style="display:none;" onclick="ToggleDisplay('SHORT_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>','FULL_RFO<%= rsRep("env_area") &"_"& rsRep("pv_id")%>');">
196
                                       <a href="#" class="body_txt" title="Click to hide."><%=NewLine_To_BR ( To_HTML( rsRep("comments") ) )%></a>
186
                                       <a href="#" class="body_txt" title="Click to hide."><%=NewLine_To_BR ( To_HTML( rsRep("comments") ) )%></a>
197
                                    </DIV>
187
                                    </DIV>
198
                                 </td>
188
                                 </td>
199
                                 <td nowrap class="body_txt" valign="top" bgcolor="#F5F5F5"><%= DisplayDateTimeSecs (rsRep("modified_stamp"))%></td>
189
                                 <td nowrap valign="top"><%= DisplayDateTimeSecs (rsRep("modified_stamp"))%></td>
200
                                 <td nowrap class="body_txt" valign="top" bgcolor="#F5F5F5"><%=enum_imgUser%><%=emailField(rsRep("full_name"),rsRep("user_email"))%></td>
190
                                 <td nowrap valign="top"><%=enum_imgUser%><%=emailField(rsRep("full_name"),rsRep("user_email"))%></td>
201
                              </tr>
191
                              </tr>
202
                           <%  rsRep.MoveNext
192
                           <%  rsRep.MoveNext
203
                           WEnd
193
                           WEnd
204
 
194
 
205
                           rsRep.Close()
195
                           rsRep.Close()
206
                           %>
196
                           %>
207
                           <tr>
-
 
208
                              <td colspan='7' background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
-
 
209
                           </tr>
-
 
210
                        </form>
-
 
211
                     </table>
197
                     </table>
212
                     <br>
198
                     <br>
213
 
199
 
214
                  <%ElseIf parSearchType = "2" Then%>
200
                  <%ElseIf parSearchType = "2" Then%>
215
                     <!-- FILE SEARCH ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
201
                     <!-- FILE SEARCH ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
216
                     <table width="100%" border="0" cellspacing="1" cellpadding="5">
202
                     <table width="100%" border="0" cellspacing="1" cellpadding="5" class='stdGrey'>
-
 
203
                         <thead>
217
                        <tr>
204
                            <tr>
218
                           <td width="20%" nowrap class="body_col" bgcolor="#E4E9EC">File Name</td>
205
                               <th width="20%" nowrap>File Name</th>
219
                           <td width="20%" nowrap class="body_col" bgcolor="#E4E9EC">Path</td>
206
                               <th width="20%" nowrap>Path</th>
220
                           <td width="20" nowrap class="body_col" bgcolor="#E4E9EC">Package&nbsp;Name</td>
207
                               <th width="20%" nowrap>Package&nbsp;Name</th>
221
                           <td width="20%" nowrap class="body_col" bgcolor="#E4E9EC">Version</td>
208
                               <th width="20%" nowrap>Version</th>
222
                           <td width="20%" nowrap class="body_col" bgcolor="#E4E9EC">CheckSum&nbsp;(CKSUM)</td>
209
                               <th width="20%" nowrap>CheckSum&nbsp;(CKSUM)</th>
223
                        </tr>
210
                            </tr>
224
                        <%
211
                         </thead>
225
                        If rsRep.RecordCount = 0 Then
212
                        <%If rsRep.RecordCount = 0 Then%>
226
                           With Response
-
 
227
                              .write "<tr>"
213
                            <tr>
228
                              .write "<td colspan='5' class='body_row'>Found 0 records.</td>"
214
                                <td colspan='5'>Found 0 records.</td> 
229
                              .write "</tr>"
-
 
230
                           End With
215
                            </tr>
231
                        End If
216
                        <%End If
232
 
217
 
233
                        While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
218
                        While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
234
 
219
 
235
                           If IsNull(rsRep("file_path")) Then
220
                           If IsNull(rsRep("file_path")) Then
236
                              ' DEVI-050252 - must not call Get_Pkg_Short_Info() with a null or empty string, so check the patch_id before doing so.
221
                              ' DEVI-050252 - must not call Get_Pkg_Short_Info() with a null or empty string, so check the patch_id before doing so.
Line 243... Line 228...
243
                           Else
228
                           Else
244
                              sLink = dpkg_archiveURL & rsRep("pkg_name") &"/"& rsRep("pkg_version") &"/"& Replace( rsRep("file_path") & rsRep("file_name"), "\", "/" )
229
                              sLink = dpkg_archiveURL & rsRep("pkg_name") &"/"& rsRep("pkg_version") &"/"& Replace( rsRep("file_path") & rsRep("file_name"), "\", "/" )
245
                           End If
230
                           End If
246
                           %>
231
                           %>
247
                           <tr>
232
                           <tr>
248
                              <td class="body_row" valign="top" bgcolor="#F5F5F5"><a href="<%=sLink%>" class="body_link"><%=Highlight_Substring( rsRep("file_name"), Trim(parKeyword) )%></td>
233
                              <td valign="top"><a href="<%=sLink%>" class="body_link"><%=Highlight_Substring( rsRep("file_name"), Trim(parKeyword) )%></td>
249
                              <td nowrap class="body_row"  bgcolor="#F5F5F5"><%=rsRep("file_path")%></td>
234
                              <td nowrap><%=rsRep("file_path")%></td>
250
                              <td nowrap class="body_row"  bgcolor="#F5F5F5"><%=rsRep("pkg_name")%></td>
235
                              <td nowrap><%=rsRep("pkg_name")%></td>
251
                              <td nowrap class="body_row"  bgcolor="#F5F5F5"><a href="dependencies.asp?rtag_id=<%=parRtagId%>&pv_id=<%=rsRep("pv_id")%>" class="body_link"><%=rsRep("pkg_version")%></a></td>
236
                              <td nowrap><a href="dependencies.asp?rtag_id=<%=parRtagId%>&pv_id=<%=rsRep("pv_id")%>" class="body_link"><%=rsRep("pkg_version")%></a></td>
252
                              <td nowrap class="body_txt_gray"  bgcolor="#F5F5F5"><%=rsRep("crc_cksum")%></td>
237
                              <td nowrap><%=rsRep("crc_cksum")%></td>
253
                           </tr>
238
                           </tr>
254
                           <%  rsRep.MoveNext
239
                           <%  rsRep.MoveNext
255
                        WEnd
240
                        WEnd
256
 
241
 
257
                        rsRep.Close()
242
                        rsRep.Close()
258
                        %>
243
                        %>
259
                        <tr>
-
 
260
                           <td colspan='6' background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
-
 
261
                        </tr>
-
 
262
                     </table>
244
                     </table>
263
                     <br>
245
                     <br>
264
                     <!-- END OF SEARCH ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
246
                     <!-- END OF SEARCH ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
265
                  <%End If%>
247
                  <%End If%>
266
               </td>
248
               </td>