| 62 |
rsolanki |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| |
|
|
|
5 |
'| OSDefault |
|
|
|
6 |
'| |
|
|
|
7 |
'=====================================================
|
|
|
8 |
%>
|
|
|
9 |
<%
|
|
|
10 |
Option explicit
|
|
|
11 |
Response.Expires = 0
|
|
|
12 |
%>
|
|
|
13 |
<!--#include file="common/globals.asp"-->
|
|
|
14 |
<!--#include file="common/config.asp"-->
|
|
|
15 |
<!--#include file="common/common_subs.asp"-->
|
|
|
16 |
<!--#include file="common/_os_common.asp"-->
|
|
|
17 |
<%
|
|
|
18 |
'------------ ACCESS CONTROL ------------------
|
|
|
19 |
%>
|
|
|
20 |
<!--#include file="_access_control_general.asp"-->
|
|
|
21 |
<%
|
|
|
22 |
'------------ VARIABLE DEFINITION -------------
|
|
|
23 |
Dim rsQry
|
|
|
24 |
Dim selected, nodeSpec
|
|
|
25 |
Dim parHold_selection
|
|
|
26 |
Dim ProdId
|
|
|
27 |
Dim ProdName
|
|
|
28 |
Dim ProdVersion
|
|
|
29 |
'------------ CONSTANTS DECLARATION -----------
|
|
|
30 |
'------------ VARIABLE INIT -------------------
|
|
|
31 |
parHold_selection = Request("hold_selection")
|
|
|
32 |
'------------ CONDITIONS ----------------------
|
|
|
33 |
'----------------------------------------------
|
|
|
34 |
%>
|
|
|
35 |
<%
|
|
|
36 |
'------------ RUN BEFORE PAGE RENDER ----------
|
|
|
37 |
If (Request("action") <> "") Then
|
|
|
38 |
'-- Select Action
|
|
|
39 |
|
|
|
40 |
Select Case Request("action")
|
|
|
41 |
Case "btnMoveUpProd"
|
|
|
42 |
Call OpenInWindow ( "_ShiftBulkProducts.asp?prod_id_list="& Request("prod_id_list") &"&shift_dir="& Server.URLEncode("-") &"&action=true&rfile="& SCRIPT_NAME &"&"& objPMod.ComposeURL() )
|
|
|
43 |
Case "btnMoveDownProd"
|
|
|
44 |
Call OpenInWindow ( "_ShiftBulkProducts.asp?prod_id_list="& Request("prod_id_list") &"&shift_dir="& Server.URLEncode("+") &"&action=true&rfile="& SCRIPT_NAME &"&"& objPMod.ComposeURL() )
|
|
|
45 |
Case "btnAcceptRejectProd"
|
|
|
46 |
Call OpenInWindow ( "_AcceptRejectProd.asp?prod_id_list="& Request("prod_id_list") &"&rfile="& SCRIPT_NAME &"&"& objPMod.ComposeURL() )
|
|
|
47 |
Case "btnCopyProd"
|
|
|
48 |
Call OpenInWindow ( "_CopyItems.asp?copy_type=prod_id_list&prod_id_list="& Request("prod_id_list") &"&rfile="& SCRIPT_NAME &"&"& objPMod.ComposeURL() )
|
|
|
49 |
Case "btnRemoveProdBulk"
|
|
|
50 |
Call OpenInWindow ( "_RemoveProductFromOs.asp?rfile="& SCRIPT_NAME &"&prod_id_list="& Request("prod_id_list") &"&"& objPMod.ComposeURL() )
|
|
|
51 |
Case "btnIsNodeSpec"
|
|
|
52 |
Call OpenInWindow ( "_AddProductFromOs.asp?rfile="& SCRIPT_NAME &"&prod_id_list="& Request("node_spec_list") &"&"& objPMod.ComposeURL() )
|
|
|
53 |
Case "btnRemoveObsoletePatches"
|
|
|
54 |
Call OpenInWindow ( "_RemoveObsoletePatches.asp?rfile="& SCRIPT_NAME &"&"& objPMod.ComposeURL() )
|
|
|
55 |
On Error Resume Next
|
|
|
56 |
|
|
|
57 |
objEH.Try
|
|
|
58 |
If Request("prod_id_list") <> "" Then
|
|
|
59 |
Call OpenChildWindow ("AddNewVersion","wAddNewVersion.asp?rfile="& SCRIPT_NAME &"&prod_id_list="& Request("prod_id_list") &"&"& objPMod.ComposeURL(), "600", "600", "True")
|
|
|
60 |
Else
|
|
|
61 |
Err.Raise 8, "Please select a product."
|
|
|
62 |
End If
|
|
|
63 |
|
|
|
64 |
objEH.Catch
|
|
|
65 |
|
|
|
66 |
End Select
|
|
|
67 |
|
|
|
68 |
End If
|
|
|
69 |
'----------------------------------------------
|
|
|
70 |
%>
|
|
|
71 |
<html>
|
|
|
72 |
<head>
|
|
|
73 |
<title>Production Manager</title>
|
|
|
74 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
75 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
76 |
<link href="scripts/deployment_manager.css" rel="stylesheet" type="text/css">
|
|
|
77 |
<script language="JavaScript" src="scripts/common.js"></script>
|
|
|
78 |
|
|
|
79 |
</head>
|
|
|
80 |
|
|
|
81 |
<body leftmargin="0" topmargin="0">
|
|
|
82 |
<!-- HEADER ++++++++++++++++ -->
|
|
|
83 |
<!--#include file="_header.asp"-->
|
|
|
84 |
<!-- +++++++++++++++++++++++ -->
|
|
|
85 |
<!-- MAIN MENU + CRUMBS ++++++++++++++++ -->
|
|
|
86 |
<!--#include file="_main_menu.asp"-->
|
|
|
87 |
<!-- +++++++++++++++++++++++++++++++++++++ -->
|
|
|
88 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
89 |
<tr>
|
|
|
90 |
<td width="1%" valign="top" background="images/bg_bage_0.gif">
|
|
|
91 |
<!-- NODE BROWSER ++++++++++++++++++++++ -->
|
|
|
92 |
<!--#include file="_bom_browser.asp"-->
|
|
|
93 |
<!-- END OF NODE BROWSER +++++++++++++++ -->
|
|
|
94 |
</td>
|
|
|
95 |
<td width="1" background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="600"></td>
|
|
|
96 |
<td width="100%" valign="top" bgcolor="#FFFFFF">
|
|
|
97 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
98 |
<form name="FormName" method="post" action="<%=SCRIPT_NAME%>">
|
|
|
99 |
<tr>
|
|
|
100 |
<td valign="top" background="images/bg_green.gif"></td>
|
|
|
101 |
<td align="right" valign="bottom" background="images/bg_green.gif" class="body_txtw"><%Call RenderTitle( objOsCollector )%></td>
|
|
|
102 |
<td background="images/bg_green.gif"><img src="images/spacer.gif" width="10" height="20"></td>
|
|
|
103 |
</tr>
|
|
|
104 |
<tr>
|
|
|
105 |
<td width="1%" valign="top" background="images/bg_green.gif"></td>
|
|
|
106 |
<td width="100%" valign="bottom" background="images/bg_green.gif">
|
|
|
107 |
<!-- TAB CONTROLS ++++++++++++++++++++++ -->
|
|
|
108 |
<!--#include file="_tabs_definition.asp"-->
|
|
|
109 |
<%
|
|
|
110 |
Set objTabControl = New TabControl
|
|
|
111 |
objTabControl.TemplateDoc = ReadFile( Server.MapPath("controls/ERGTabStyleWinXP/tab_style.html") ) ' Supply tab style definition
|
|
|
112 |
objTabControl.TabStyle = "StyleWinXP"
|
|
|
113 |
objTabControl.AddTabDefnition ( arrOsTabDef )
|
|
|
114 |
objTabControl.Render ()
|
|
|
115 |
%>
|
|
|
116 |
<!-- END OF TAB CONTROLS +++++++++++++++ -->
|
|
|
117 |
</td>
|
|
|
118 |
<td width="1%" background="images/bg_green.gif"><img src="images/spacer.gif" width="10" height="35"></td>
|
|
|
119 |
</tr>
|
|
|
120 |
<tr>
|
|
|
121 |
<td background="images/bg_bage_0.gif"><img src="images/spacer.gif" width="30" height="10"></td>
|
|
|
122 |
<td background="images/bg_bage_0.gif">
|
|
|
123 |
<!-- BUTTONS CONTROL +++++++++++++++++++ -->
|
|
|
124 |
|
|
|
125 |
<td background="images/bg_green.gif"><img src="images/p_bar_corrner.gif" width="17" height="42"></td>
|
|
|
126 |
</tr>
|
|
|
127 |
<tr>
|
|
|
128 |
<td> </td>
|
|
|
129 |
<td> </td>
|
|
|
130 |
<td valign="top"><%If Request.Cookies( enumCOOKIE_NAME )( "user_bar" ) = "hide" Then%><a href="<%=SCRIPT_NAME%>?user_bar=<%=enumDEFAULT%>&<%=objPMod.ComposeURL()%>"><img src="icons/b_left.gif" title="Maximize favourits" width="13" height="13" vspace="5" border="0"></a><%End If%></td>
|
|
|
131 |
</tr>
|
|
|
132 |
</table>
|
|
|
133 |
<table width="100%" border="0" cellspacing="10" cellpadding="0">
|
|
|
134 |
<tr>
|
|
|
135 |
<td>
|
|
|
136 |
<!-- PAGE DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
137 |
<table width="100%" border="0" cellspacing="3" cellpadding="0">
|
|
|
138 |
<tr>
|
|
|
139 |
<td width="1" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
140 |
<td width="1%" background="images/bg_table_border.gif"><table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
141 |
<tr>
|
|
|
142 |
<td align="center" nowrap background="images/bg_table_col.gif" class="body_col"> Install Order</td>
|
|
|
143 |
</tr>
|
|
|
144 |
</table></td>
|
|
|
145 |
<td width="10%" align="center" nowrap background="images/bg_table_col.gif" class="body_col">Product Name</td>
|
|
|
146 |
<td width="10%" align="center" nowrap background="images/bg_table_col.gif" class="body_col">Version</td>
|
|
|
147 |
|
|
|
148 |
<td width="78%" align="center" background="images/bg_table_col.gif" class="body_col">
|
|
|
149 |
<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>
|
|
|
150 |
<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>
|
|
|
151 |
</td>
|
|
|
152 |
<td width="1" background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
153 |
</tr>
|
|
|
154 |
<%If objOsCollector.Item("base_env_id") <> "" Then%>
|
|
|
155 |
<tr>
|
|
|
156 |
<td align="center" valign="top"></td>
|
|
|
157 |
<td align="center" valign="top"></td>
|
|
|
158 |
<td class="body_row" valign="top"><a href="Os_BaseConf.asp?<%=objPMod.ComposeURL()%>" class="body_link"><%=objOsCollector.Item("base_env_name")%></a></td>
|
|
|
159 |
<td nowrap class="body_row" valign="top"></td>
|
|
|
160 |
|
|
|
161 |
<td class="body_rowlite" valign="top">This base configuration contains the common operating system requirements and software applications.</td>
|
|
|
162 |
<td align="center"></td>
|
|
|
163 |
</tr>
|
|
|
164 |
<tr>
|
|
|
165 |
<td colspan="7" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
166 |
</tr>
|
|
|
167 |
<%End If%>
|
|
|
168 |
<%
|
|
|
169 |
' Load some action buttons
|
|
|
170 |
Call objBtnControl.LoadActionButtons ( Array("btnEditProd", "btnRemoveProd"), OraDatabase )
|
|
|
171 |
objBtnControl.ButtonSpacer = 1
|
|
|
172 |
|
|
|
173 |
OraDatabase.Parameters.Add "OS_ID", dbPARos_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
174 |
|
|
|
175 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("ProductsList.sql"), ORADYN_DEFAULT )
|
|
|
176 |
While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
|
|
177 |
ProdId = rsQry("prod_id")
|
|
|
178 |
ProdName = rsQry("pkg_name").Value
|
|
|
179 |
ProdVersion = rsQry("pkg_version").Value
|
|
|
180 |
selected = ""
|
|
|
181 |
nodeSpec = ""
|
|
|
182 |
If rsQry("is_node_spec") = "on" Then
|
|
|
183 |
nodeSpec = "checked"
|
|
|
184 |
End If
|
|
|
185 |
If parHold_selection <> "" Then
|
|
|
186 |
|
|
|
187 |
If IsTicked ( rsQry("prod_id"), Request("prod_id_list") ) Then
|
|
|
188 |
selected = "checked"
|
|
|
189 |
End If
|
|
|
190 |
End If
|
|
|
191 |
%>
|
|
|
192 |
<tr>
|
|
|
193 |
<td align="center" valign="top"><input type="checkbox" name="prod_id_list" value="<%=ProdId%>" <%=selected%>></td>
|
|
|
194 |
<td align="center" valign="top" class="body_txt"><%=rsQry("seq_num")%></td>
|
|
|
195 |
<td nowrap class="body_row" valign="top"><a href="ProdDefault.asp?prod_id=<%=ProdId%>&<%=objPMod.ComposeURL()%>" class="body_link"><%=GetProductIcon(rsQry) & ProdName%></a></td>
|
|
|
196 |
<td nowrap class="body_row" valign="top"><%=rsQry("pkg_version")%></td>
|
|
|
197 |
|
|
|
198 |
<td class="body_rowlite" valign="top">
|
|
|
199 |
<DIV style="display:block;" id="SHORT_<%=ProdId%>" name="SHORT_<%=ProdId%>" >
|
|
|
200 |
<a href="javascript:;" onclick="ToggleDisplay('SHORT_<%=ProdId%>','LONG_<%=ProdId%>');" class="body_rowlite" title="Click to see more...">Click to see more...</a>
|
|
|
201 |
</DIV>
|
|
|
202 |
<DIV style="display:none;" id="LONG_<%=ProdId%>" name="LONG_<%=ProdId%> style="display:none;">
|
|
|
203 |
<a href="javascript:;" onclick="ToggleDisplay('SHORT_<%=ProdId%>','LONG_<%=ProdId%>');" class="body_row" title="Click to hide."><%=objFormater.TextToHtml( rsQry("product_comments") )%></a>
|
|
|
204 |
</DIV>
|
|
|
205 |
</td>
|
|
|
206 |
<td align="center" valign="top" bgcolor="#FAFAF6"><%If objAccessControl.IsActive("ChangeVersion") Then Call objBtnControl.Render ( Array("btnEditProd") )%></td>
|
|
|
207 |
</tr>
|
|
|
208 |
<%rsQry.MoveNext%>
|
|
|
209 |
|
|
|
210 |
<%If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%>
|
|
|
211 |
<tr>
|
|
|
212 |
<td colspan="6" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
213 |
</tr>
|
|
|
214 |
<%End If%>
|
|
|
215 |
|
|
|
216 |
<%
|
|
|
217 |
WEnd
|
|
|
218 |
|
|
|
219 |
OraDatabase.Parameters.Remove "OS_ID"
|
|
|
220 |
%>
|
|
|
221 |
<tr>
|
|
|
222 |
<td colspan="6" background="images/bg_table_border.gif">
|
|
|
223 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
224 |
<tr>
|
|
|
225 |
<td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
226 |
</tr>
|
|
|
227 |
</table>
|
|
|
228 |
</td>
|
|
|
229 |
</tr>
|
|
|
230 |
</table>
|
|
|
231 |
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
232 |
</td>
|
|
|
233 |
</tr>
|
|
|
234 |
<%=objPMod.ComposeHiddenTags()%>
|
|
|
235 |
|
|
|
236 |
<input type="hidden" name="action" value="true">
|
|
|
237 |
</form>
|
|
|
238 |
</table>
|
|
|
239 |
</td>
|
|
|
240 |
<td width="1%" valign="top" background="images/bg_favourits.gif">
|
|
|
241 |
<!-- PERSONAL BAR +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
242 |
|
|
|
243 |
<!-- END OF PERSONAL BAR ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
244 |
</td>
|
|
|
245 |
</tr>
|
|
|
246 |
<tr>
|
|
|
247 |
<td background="images/bg_bage_0a.gif"><img src="images/spacer.gif" width="1" height="15"></td>
|
|
|
248 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
249 |
<td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
250 |
<td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
251 |
</tr>
|
|
|
252 |
<tr>
|
|
|
253 |
<td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="20"></td>
|
|
|
254 |
<td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
255 |
<td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
256 |
<td bgcolor="#FFFFFF"> </td>
|
|
|
257 |
</tr>
|
|
|
258 |
</table>
|
|
|
259 |
<!-- FOOTER ++++++++++++++++ -->
|
|
|
260 |
<!--#include file="_footer.asp"-->
|
|
|
261 |
<!-- +++++++++++++++++++++++ -->
|
|
|
262 |
</body>
|
|
|
263 |
</html>
|
|
|
264 |
<%
|
|
|
265 |
'------------ RUN AFTER PAGE RENDER -----------
|
|
|
266 |
Set objPMod = Nothing
|
|
|
267 |
Set objCrumbs = Nothing
|
|
|
268 |
Set objTabControl = Nothing
|
|
|
269 |
Set objBtnControl = Nothing
|
|
|
270 |
'----------------------------------------------
|
|
|
271 |
%><!--#include file="common/globals_destructor.asp"-->
|