Subversion Repositories DevTools

Rev

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

Rev 13 Rev 15
Line 19... Line 19...
19
%>
19
%>
20
<!--#include file="_access_control_general.asp"-->
20
<!--#include file="_access_control_general.asp"-->
21
<%
21
<%
22
'------------ VARIABLE DEFINITION -------------
22
'------------ VARIABLE DEFINITION -------------
23
Dim rsQry
23
Dim rsQry
24
Dim selected
24
Dim selected, nodeSpec
25
Dim parHold_selection
25
Dim parHold_selection
26
Dim ProdId
26
Dim ProdId
27
Dim ProdName
27
Dim ProdName
28
'------------ CONSTANTS DECLARATION -----------
28
'------------ CONSTANTS DECLARATION -----------
29
'------------ VARIABLE INIT -------------------
29
'------------ VARIABLE INIT -------------------
Line 45... Line 45...
45
			Call OpenInWindow ( "_AcceptRejectProd.asp?prod_id_list="& Request("prod_id_list") &"&rfile="& SCRIPT_NAME &"&"& objPMod.ComposeURL() )
45
			Call OpenInWindow ( "_AcceptRejectProd.asp?prod_id_list="& Request("prod_id_list") &"&rfile="& SCRIPT_NAME &"&"& objPMod.ComposeURL() )
46
		Case "btnCopyProd"
46
		Case "btnCopyProd"
47
			Call OpenInWindow ( "_CopyItems.asp?copy_type=prod_id_list&prod_id_list="& Request("prod_id_list") &"&rfile="& SCRIPT_NAME &"&"& objPMod.ComposeURL() )
47
			Call OpenInWindow ( "_CopyItems.asp?copy_type=prod_id_list&prod_id_list="& Request("prod_id_list") &"&rfile="& SCRIPT_NAME &"&"& objPMod.ComposeURL() )
48
		Case "btnRemoveProdBulk"
48
		Case "btnRemoveProdBulk"
49
			Call OpenInWindow ( "_RemoveProductFromOs.asp?rfile="& SCRIPT_NAME &"&prod_id_list="& Request("prod_id_list") &"&"& objPMod.ComposeURL() )
49
			Call OpenInWindow ( "_RemoveProductFromOs.asp?rfile="& SCRIPT_NAME &"&prod_id_list="& Request("prod_id_list") &"&"& objPMod.ComposeURL() )
-
 
50
		Case "btnIsNodeSpec"
-
 
51
			Call OpenInWindow ( "_AddProductFromOs.asp?rfile="& SCRIPT_NAME &"&prod_id_list="& Request("prod_id_list") &"&"& objPMod.ComposeURL() )
50
		
52
		
51
	End Select
53
	End Select
52
	
54
	
53
End If
55
End If
54
'----------------------------------------------
56
'----------------------------------------------
Line 112... Line 114...
112
		
114
		
113
		Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("run_patch.sql"), ORADYN_DEFAULT )
115
		Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("run_patch.sql"), ORADYN_DEFAULT )
114
				
116
				
115
		
117
		
116
		'-- Define Action buttons on this tab
118
		'-- Define Action buttons on this tab
117
		aTabBtnsDef = Array("btnAddProd", "btnRemoveProdBulk", "height=30", "btnSortProd", "height=30", "btnAcceptRejectProd", "height=30", "btnCopyProd", "btnPasteProd", "btnPatchGenerate")
119
		aTabBtnsDef = Array("btnAddProd", "btnIsNodeSpec", "btnRemoveProdBulk", "height=30", "btnSortProd", "height=30", "btnAcceptRejectProd", "height=30", "btnCopyProd", "btnPasteProd", "btnPatchGenerate")
118
		
120
		
119
		Call LoadTabActionButtons ( aTabBtnsDef, objBtnControl )
121
		Call LoadTabActionButtons ( aTabBtnsDef, objBtnControl )
120
		
122
		
121
		' -- Tell control if buttons need to be readonly actions 
123
		' -- Tell control if buttons need to be readonly actions 
122
		objBtnControl.IsReadonlyAction = objBomCollector.Item("is_readonly")
124
		objBtnControl.IsReadonlyAction = objBomCollector.Item("is_readonly")
Line 126... Line 128...
126
			Call objBtnControl.Active ( "btnPasteProd", "N" )
128
			Call objBtnControl.Active ( "btnPasteProd", "N" )
127
		End If
129
		End If
128
		
130
		
129
		' -- Render Buttons
131
		' -- Render Buttons
130
		Call objBtnControl.Render  ( aTabBtnsDef )
132
		Call objBtnControl.Render  ( aTabBtnsDef )
-
 
133
		
131
		%>
134
		%>
132
		<%
135
		<%
133
 
136
 
134
			
137
			
135
 
138
 
Line 158... Line 161...
158
		<table width="100%"  border="0" cellspacing="3" cellpadding="0">
161
		<table width="100%"  border="0" cellspacing="3" cellpadding="0">
159
          <tr>
162
          <tr>
160
		  	<td width="1" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
163
		  	<td width="1" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
161
            <td width="1%" background="images/bg_table_border.gif"><table width="100%"  border="0" cellspacing="1" cellpadding="2">
164
            <td width="1%" background="images/bg_table_border.gif"><table width="100%"  border="0" cellspacing="1" cellpadding="2">
162
              <tr>
165
              <tr>
163
                <td align="right" nowrap background="images/bg_table_col.gif" class="body_col">&nbsp;Install Order</td>
166
                <td align="center" nowrap background="images/bg_table_col.gif" class="body_col">&nbsp;Install Order</td>
164
              </tr>
167
              </tr>
165
            </table></td>
168
            </table></td>
166
			<td width="10%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">Product Name</td>
169
			<td width="10%" align="center" nowrap background="images/bg_table_col.gif" class="body_col">Product Name</td>
167
            <td width="10%" align="right" nowrap background="images/bg_table_col.gif" class="body_col">Version</td>
170
            <td width="10%" align="center" nowrap background="images/bg_table_col.gif" class="body_col">Version</td>
-
 
171
			<td width="2%" align="center" nowrap background="images/bg_table_col.gif" class="body_col">In Spec</td>
168
			<td width="80%" align="right" background="images/bg_table_col.gif" class="body_col">
172
			<td width="78%" align="center" background="images/bg_table_col.gif" class="body_col">
169
			<SPAN id="IMG_EXPAND_ALL" name="IMG_EXPAND_ALL" style="display:block;"><a href="javascript:;" onClick="ExpandAll(); ToggleDisplay('IMG_EXPAND_ALL','IMG_COLLAPSE_ALL');" title="Show All Installation Comments."><img src="icons/b_expand_all.gif" border="0" align="absmiddle" hspace="3"></a>Installation Comments</SPAN>
173
			<SPAN id="IMG_EXPAND_ALL" name="IMG_EXPAND_ALL" style="display:block;"><a href="javascript:;" onClick="ExpandAll(); ToggleDisplay('IMG_EXPAND_ALL','IMG_COLLAPSE_ALL');" title="Show All Installation Comments."><img src="icons/b_expand_all.gif" border="0" align="absmiddle" hspace="3"></a>Installation Comments</SPAN>
170
			<SPAN id="IMG_COLLAPSE_ALL" name="IMG_COLLAPSE_ALL" style="display:none;"><a href="javascript:;" onClick="CollapseAll(); ToggleDisplay('IMG_EXPAND_ALL','IMG_COLLAPSE_ALL');" title="Hide All Installation Comments."><img src="icons/b_collapse_all.gif" border="0" align="absmiddle" hspace="3"></a>Installation Comments</SPAN>
174
			<SPAN id="IMG_COLLAPSE_ALL" name="IMG_COLLAPSE_ALL" style="display:none;"><a href="javascript:;" onClick="CollapseAll(); ToggleDisplay('IMG_EXPAND_ALL','IMG_COLLAPSE_ALL');" title="Hide All Installation Comments."><img src="icons/b_collapse_all.gif" border="0" align="absmiddle" hspace="3"></a>Installation Comments</SPAN>
171
			</td>
175
			</td>
172
			<td width="1" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
176
			<td width="1" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
173
          </tr>
177
          </tr>
Line 175... Line 179...
175
		  <tr>
179
		  <tr>
176
		  	<td align="center" valign="top"></td>
180
		  	<td align="center" valign="top"></td>
177
			<td align="center" valign="top"></td>
181
			<td align="center" valign="top"></td>
178
            <td class="body_row" valign="top"><a href="Os_BaseConf.asp?<%=objPMod.ComposeURL()%>" class="body_link"><%=objOsCollector.Item("base_env_name")%></a></td>
182
            <td class="body_row" valign="top"><a href="Os_BaseConf.asp?<%=objPMod.ComposeURL()%>" class="body_link"><%=objOsCollector.Item("base_env_name")%></a></td>
179
			<td nowrap class="body_row" valign="top"></td>
183
			<td nowrap class="body_row" valign="top"></td>
-
 
184
			<td nowrap class="body_row" valign="top"></td>
180
            <td class="body_rowlite" valign="top">This base configuration contains the common operating system requirements and software applications.</td>
185
            <td class="body_rowlite" valign="top">This base configuration contains the common operating system requirements and software applications.</td>
181
			<td align="center"></td>
186
			<td align="center"></td>
182
          </tr>	
187
          </tr>	
183
		  <tr>
188
		  <tr>
184
            <td colspan="7" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
189
            <td colspan="7" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
Line 194... Line 199...
194
		  Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("ProductsList.sql"), ORADYN_DEFAULT )
199
		  Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("ProductsList.sql"), ORADYN_DEFAULT )
195
		  While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
200
		  While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
196
		  	ProdId = rsQry("prod_id")
201
		  	ProdId = rsQry("prod_id")
197
			ProdName = rsQry("pkg_name").Value
202
			ProdName = rsQry("pkg_name").Value
198
		  	selected = ""
203
		  	selected = ""
-
 
204
			nodeSpec = ""
-
 
205
			If rsQry("is_node_spec") = "on" Then 
-
 
206
				nodeSpec = "checked"
-
 
207
			End If	
199
		  	If parHold_selection <> "" Then
208
		  	If parHold_selection <> "" Then
200
				
209
				
201
				If IsTicked ( rsQry("prod_id"), Request("prod_id_list") ) Then 
210
				If IsTicked ( rsQry("prod_id"), Request("prod_id_list") ) Then 
202
					selected = "checked"
211
					selected = "checked"
203
				End If
212
				End If			
204
			End If
213
			End If
205
		  %>
214
		  %>
206
          <tr>
215
          <tr>
207
		  	<td align="center" valign="top"><input type="checkbox" name="prod_id_list" value="<%=ProdId%>" <%=selected%>></td>
216
		  	<td align="center" valign="top"><input type="checkbox" name="prod_id_list" value="<%=ProdId%>" <%=selected%>></td>
208
			<td align="center" valign="top" class="body_txt"><%=rsQry("seq_num")%></td>
217
			<td align="center" valign="top" class="body_txt"><%=rsQry("seq_num")%></td>
209
            <td nowrap class="body_row" valign="top"><a href="ProdDefault.asp?prod_id=<%=ProdId%>&<%=objPMod.ComposeURL()%>" class="body_link"><%=GetProductIcon(rsQry)  &  ProdName%></a></td>
218
            <td nowrap class="body_row" valign="top"><a href="ProdDefault.asp?prod_id=<%=ProdId%>&<%=objPMod.ComposeURL()%>" class="body_link"><%=GetProductIcon(rsQry)  &  ProdName%></a></td>
210
			<td nowrap class="body_row" valign="top"><%=rsQry("pkg_version")%></td>
219
			<td nowrap class="body_row" valign="top"><%=rsQry("pkg_version")%></td>
-
 
220
			<td nowrap class="body_row" valign="top"><input type="checkbox" name="prod_id_list" value="<%=ProdId%>" <%=nodeSpec%>></td>
211
            <td class="body_rowlite" valign="top">
221
            <td class="body_rowlite" valign="top">
212
				<DIV style="display:block;" id="SHORT_<%=ProdId%>" name="SHORT_<%=ProdId%>" >
222
				<DIV style="display:block;" id="SHORT_<%=ProdId%>" name="SHORT_<%=ProdId%>" >
213
					<a href="javascript:;" onclick="ToggleDisplay('SHORT_<%=ProdId%>','LONG_<%=ProdId%>');" class="body_rowlite" title="Click to see more...">Click to see more...</a>
223
					<a href="javascript:;" onclick="ToggleDisplay('SHORT_<%=ProdId%>','LONG_<%=ProdId%>');" class="body_rowlite" title="Click to see more...">Click to see more...</a>
214
				</DIV>
224
				</DIV>
215
				<DIV style="display:none;" id="LONG_<%=ProdId%>" name="LONG_<%=ProdId%> style="display:none;">
225
				<DIV style="display:none;" id="LONG_<%=ProdId%>" name="LONG_<%=ProdId%> style="display:none;">
Line 243... Line 253...
243
         </table>	
253
         </table>	
244
		<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
254
		<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
245
		</td>
255
		</td>
246
      </tr>
256
      </tr>
247
	  <%=objPMod.ComposeHiddenTags()%>
257
	  <%=objPMod.ComposeHiddenTags()%>
-
 
258
 
248
	  <input type="hidden" name="action" value="true">
259
	  <input type="hidden" name="action" value="true">
249
	</form>
260
	</form>
250
    </table>
261
    </table>
251
	</td>
262
	</td>
252
    <td width="1%" valign="top" background="images/bg_favourits.gif">
263
    <td width="1%" valign="top" background="images/bg_favourits.gif">