| Line 1... |
Line 1... |
| 1 |
<%@LANGUAGE="VBSCRIPT"%>
|
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
| 2 |
<%
|
2 |
<%
|
| 3 |
'=====================================================
|
3 |
'=====================================================
|
| 4 |
' Rename Version
|
4 |
' Rename Version
|
| 5 |
' --- PROCESS FORM ---
|
5 |
' --- PROCESS FORM ---
|
| 6 |
'=====================================================
|
6 |
'=====================================================
|
| 7 |
%>
|
7 |
%>
|
| 8 |
<%
|
8 |
<%
|
| 9 |
Option explicit
|
9 |
Option explicit
|
| 10 |
' Good idea to set when using redirect
|
10 |
' Good idea to set when using redirect
|
| 11 |
Response.Expires = 0 ' always load the page, dont store
|
11 |
Response.Expires = 0 ' always load the page, dont store
|
| 12 |
%>
|
12 |
%>
|
| 13 |
<!--#include file="common/conf.asp"-->
|
13 |
<!--#include file="common/conf.asp"-->
|
| 14 |
<!--#include file="common/globals.asp"-->
|
14 |
<!--#include file="common/globals.asp"-->
|
| 15 |
<!--#include file="common/formating.asp"-->
|
15 |
<!--#include file="common/formating.asp"-->
|
| 16 |
<!--#include file="common/qstr.asp"-->
|
16 |
<!--#include file="common/qstr.asp"-->
|
| 17 |
<!--#include file="common/common_subs.asp"-->
|
17 |
<!--#include file="common/common_subs.asp"-->
|
| 18 |
<!--#include file="common/common_dbedit.asp"-->
|
18 |
<!--#include file="common/common_dbedit.asp"-->
|
| 19 |
<!--#include file="common/_popup_window_common.asp"-->
|
19 |
<!--#include file="common/_popup_window_common.asp"-->
|
| - |
|
20 |
<!--#include file="_drawExtensionSelectBox.asp"-->
|
| 20 |
<%
|
21 |
<%
|
| 21 |
'------------ ACCESS CONTROL ------------------
|
22 |
'------------ ACCESS CONTROL ------------------
|
| 22 |
%>
|
23 |
%>
|
| 23 |
<!--#include file="_access_control_login.asp"-->
|
24 |
<!--#include file="_access_control_login.asp"-->
|
| 24 |
<!--#include file="_access_control_general.asp"-->
|
25 |
<!--#include file="_access_control_general.asp"-->
|
| Line 33... |
Line 34... |
| 33 |
'------------ Constants Declaration -----------
|
34 |
'------------ Constants Declaration -----------
|
| 34 |
'------------ Variable Init -------------------
|
35 |
'------------ Variable Init -------------------
|
| 35 |
parPv_id = QStrPar("pv_id")
|
36 |
parPv_id = QStrPar("pv_id")
|
| 36 |
parRfile = QStrPar("rfile")
|
37 |
parRfile = QStrPar("rfile")
|
| 37 |
Set objPkgInfo = CreateObject("Scripting.Dictionary")
|
38 |
Set objPkgInfo = CreateObject("Scripting.Dictionary")
|
| 38 |
'----------------------------------------------
|
- |
|
| 39 |
%>
|
- |
|
| 40 |
<%
|
- |
|
| 41 |
'-----------------------------------------------------------------------------------------------------------------------------
|
39 |
'-----------------------------------------------------------------------------------------------------------------------------
|
| 42 |
Sub GetPackageInfo( nPvId, outPkgInfo )
|
40 |
Sub GetPackageInfo( nPvId, outPkgInfo )
|
| 43 |
Dim rsTemp, Query_String
|
41 |
Dim rsTemp, Query_String
|
| 44 |
If IsEmpty(nPvId) Then Exit Sub
|
42 |
If IsEmpty(nPvId) Then Exit Sub
|
| 45 |
|
43 |
|
| 46 |
Query_String = _
|
44 |
Query_String = _
|
| 47 |
" SELECT pv.pv_id, pkg.pkg_id, pkg.pkg_name, pv.pkg_version, pv.v_ext, pv.build_type"&_
|
45 |
" SELECT pv.pv_id, pkg.pkg_id, pkg.pkg_name, pv.pkg_version, pv.v_ext, pv.build_type"&_
|
| 48 |
" FROM packages pkg, package_versions pv"&_
|
46 |
" FROM packages pkg, package_versions pv"&_
|
| 49 |
" WHERE pkg.pkg_id = pv.pkg_id AND pv.pv_id ="& nPvId
|
47 |
" WHERE pkg.pkg_id = pv.pkg_id AND pv.pv_id ="& nPvId
|
| 50 |
|
48 |
|
| 51 |
Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
|
49 |
Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
|
| 52 |
|
50 |
|
| 53 |
If ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF)) Then
|
51 |
If ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF)) Then
|
| 54 |
outPkgInfo.Item("pv_id") = rsTemp.Fields("pv_id")
|
52 |
outPkgInfo.Item("pv_id") = rsTemp.Fields("pv_id")
|
| 55 |
outPkgInfo.Item("pkg_id") = rsTemp.Fields("pkg_id")
|
53 |
outPkgInfo.Item("pkg_id") = rsTemp.Fields("pkg_id")
|
| 56 |
outPkgInfo.Item("pkg_name") = rsTemp.Fields("pkg_name")
|
54 |
outPkgInfo.Item("pkg_name") = rsTemp.Fields("pkg_name")
|
| 57 |
outPkgInfo.Item("pkg_version") = rsTemp.Fields("pkg_version")
|
55 |
outPkgInfo.Item("pkg_version") = rsTemp.Fields("pkg_version")
|
| 58 |
outPkgInfo.Item("v_ext") = rsTemp.Fields("v_ext")
|
56 |
outPkgInfo.Item("v_ext") = rsTemp.Fields("v_ext")
|
| 59 |
outPkgInfo.Item("build_type") = rsTemp.Fields("build_type")
|
57 |
outPkgInfo.Item("build_type") = rsTemp.Fields("build_type")
|
| 60 |
|
58 |
|
| 61 |
If rsTemp.Fields("build_type") = "M" Then
|
59 |
If rsTemp.Fields("build_type") = "M" Then
|
| 62 |
objPkgInfo.Item("M_checked") = "checked"
|
60 |
objPkgInfo.Item("M_checked") = "checked"
|
| 63 |
objPkgInfo.Item("A_checked") = ""
|
61 |
objPkgInfo.Item("A_checked") = ""
|
| 64 |
objPkgInfo.Item("M_display") = "style='display:block;'"
|
62 |
objPkgInfo.Item("M_display") = "style='display:inline;'"
|
| 65 |
objPkgInfo.Item("A_display") = "style='display:none;'"
|
63 |
objPkgInfo.Item("A_display") = "style='display:none;'"
|
| 66 |
ElseIf rsTemp.Fields("build_type") = "A" Then
|
64 |
ElseIf rsTemp.Fields("build_type") = "A" Then
|
| 67 |
objPkgInfo.Item("M_checked") = ""
|
65 |
objPkgInfo.Item("M_checked") = ""
|
| 68 |
objPkgInfo.Item("A_checked") = "checked"
|
66 |
objPkgInfo.Item("A_checked") = "checked"
|
| 69 |
objPkgInfo.Item("M_display") = "style='display:none;'"
|
67 |
objPkgInfo.Item("M_display") = "style='display:none;'"
|
| 70 |
objPkgInfo.Item("A_display") = "style='display:block;'"
|
68 |
objPkgInfo.Item("A_display") = "style='display:inline;'"
|
| 71 |
End If
|
69 |
End If
|
| 72 |
End If
|
70 |
End If
|
| 73 |
|
71 |
|
| 74 |
|
72 |
|
| 75 |
|
73 |
|
| 76 |
rsTemp.Close
|
74 |
rsTemp.Close
|
| 77 |
Set rsTemp = nothing
|
75 |
Set rsTemp = nothing
|
| 78 |
End Sub
|
76 |
End Sub
|
| - |
|
77 |
|
| - |
|
78 |
'-----------------------------------------------------------------------------------------------------------------------------
|
| - |
|
79 |
Function GetVersionNumber(SSpkg_version, SSv_ext)
|
| - |
|
80 |
Dim versionNumber
|
| - |
|
81 |
|
| - |
|
82 |
If SSv_ext <> "" Then
|
| - |
|
83 |
versionNumber = Replace(SSpkg_version, SSv_ext, "")
|
| - |
|
84 |
Else
|
| - |
|
85 |
versionNumber = SSpkg_version
|
| - |
|
86 |
End If
|
| - |
|
87 |
|
| - |
|
88 |
GetVersionNumber = versionNumber
|
| - |
|
89 |
End Function
|
| 79 |
'-----------------------------------------------------------------------------------------------------------------------------
|
90 |
'-----------------------------------------------------------------------------------------------------------------------------
|
| 80 |
Sub Rename_Pkg_Version ( NNpv_id, SSnewVersion, errMessage )
|
91 |
Sub Rename_Pkg_Version ( NNpv_id, SSnewVersion, errMessage )
|
| 81 |
OraDatabase.Parameters.Add "RTAG_ID", parRtag_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
92 |
OraDatabase.Parameters.Add "RTAG_ID", parRtag_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 82 |
OraDatabase.Parameters.Add "NNpv_id", NNpv_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
93 |
OraDatabase.Parameters.Add "NNpv_id", NNpv_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 83 |
|
94 |
|
| 84 |
If Request("build_type") = "M" Then
|
95 |
If Request("build_type") = "M" Then
|
| 85 |
' Manual build
|
96 |
' Manual build
|
| 86 |
OraDatabase.Parameters.Add "SSpkg_version", SSnewVersion, ORAPARM_INPUT, ORATYPE_VARCHAR2
|
97 |
OraDatabase.Parameters.Add "SSpkg_version", SSnewVersion & Request("v_ext"), ORAPARM_INPUT, ORATYPE_VARCHAR2
|
| 87 |
Else
|
98 |
Else
|
| 88 |
' Automated Build
|
99 |
' Automated Build
|
| 89 |
OraDatabase.Parameters.Add "SSpkg_version", Request("v_ext"), ORAPARM_INPUT, ORATYPE_VARCHAR2
|
100 |
OraDatabase.Parameters.Add "SSpkg_version", Request("v_ext"), ORAPARM_INPUT, ORATYPE_VARCHAR2
|
| 90 |
|
101 |
|
| 91 |
End If
|
102 |
End If
|
| 92 |
|
103 |
|
| 93 |
OraDatabase.Parameters.Add "BUILD_TYPE", Request("build_type"), ORAPARM_INPUT, ORATYPE_CHAR
|
104 |
OraDatabase.Parameters.Add "BUILD_TYPE", Request("build_type"), ORAPARM_INPUT, ORATYPE_CHAR
|
| 94 |
OraDatabase.Parameters.Add "NNuser_id", objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
|
105 |
OraDatabase.Parameters.Add "NNuser_id", objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 95 |
|
106 |
|
| 96 |
|
107 |
|
| 97 |
OraDatabase.Parameters.Add "errMessage", 0, ORAPARM_OUTPUT, ORATYPE_VARCHAR2
|
108 |
OraDatabase.Parameters.Add "errMessage", 0, ORAPARM_OUTPUT, ORATYPE_VARCHAR2
|
| 98 |
|
109 |
|
| 99 |
|
110 |
|
| 100 |
OraSession.BeginTrans
|
111 |
OraSession.BeginTrans
|
| 101 |
|
112 |
|
| 102 |
OraDatabase.ExecuteSQL _
|
113 |
OraDatabase.ExecuteSQL _
|
| 103 |
"BEGIN Rename_Package_Version ( :NNpv_id,"&_
|
114 |
"BEGIN Rename_Package_Version ( :NNpv_id,"&_
|
| 104 |
" :SSpkg_version,"&_
|
115 |
" :SSpkg_version,"&_
|
| 105 |
" :BUILD_TYPE,"&_
|
116 |
" :BUILD_TYPE,"&_
|
| 106 |
" :NNuser_id,"&_
|
117 |
" :NNuser_id,"&_
|
| 107 |
" :errMessage ); END;"
|
118 |
" :errMessage ); END;"
|
| 108 |
|
119 |
|
| 109 |
|
120 |
|
| 110 |
'OraDatabase.ExecuteSQL _
|
121 |
'OraDatabase.ExecuteSQL _
|
| 111 |
' "BEGIN "&_
|
122 |
' "BEGIN "&_
|
| 112 |
' " Reset_Ignore_Warnings ( :NNpv_id, :RTAG_ID, :NNuser_id );"&_
|
123 |
' " Reset_Ignore_Warnings ( :NNpv_id, :RTAG_ID, :NNuser_id );"&_
|
| 113 |
' " Touch_Release ( :RTAG_ID ); "&_
|
124 |
' " Touch_Release ( :RTAG_ID ); "&_
|
| 114 |
' "END; "
|
125 |
' "END; "
|
| 115 |
|
126 |
|
| 116 |
errMessage = OraDatabase.Parameters("errMessage").Value
|
127 |
errMessage = OraDatabase.Parameters("errMessage").Value
|
| 117 |
|
128 |
|
| 118 |
OraSession.CommitTrans
|
129 |
OraSession.CommitTrans
|
| 119 |
|
130 |
|
| 120 |
|
131 |
|
| 121 |
OraDatabase.Parameters.Remove "RTAG_ID"
|
132 |
OraDatabase.Parameters.Remove "RTAG_ID"
|
| 122 |
OraDatabase.Parameters.Remove "NNpv_id"
|
133 |
OraDatabase.Parameters.Remove "NNpv_id"
|
| 123 |
OraDatabase.Parameters.Remove "SSpkg_version"
|
134 |
OraDatabase.Parameters.Remove "SSpkg_version"
|
| 124 |
OraDatabase.Parameters.Remove "NNuser_id"
|
135 |
OraDatabase.Parameters.Remove "NNuser_id"
|
| 125 |
OraDatabase.Parameters.Remove "errMessage"
|
136 |
OraDatabase.Parameters.Remove "errMessage"
|
| 126 |
OraDatabase.Parameters.Remove "BUILD_TYPE"
|
137 |
OraDatabase.Parameters.Remove "BUILD_TYPE"
|
| 127 |
End Sub
|
138 |
End Sub
|
| 128 |
'-----------------------------------------------------------------------------------------------------------------------------
|
139 |
'-----------------------------------------------------------------------------------------------------------------------------
|
| 129 |
%>
|
140 |
%>
|
| 130 |
<%
|
141 |
<%
|
| 131 |
'----------------------- MAIN LINE ---------------------------
|
142 |
'----------------------- MAIN LINE ---------------------------
|
| 132 |
'--- Process submition ---
|
143 |
'--- Process submition ---
|
| 133 |
If CBool(QStrPar("action")) AND objAccessControl.UserLogedIn Then
|
144 |
If CBool(QStrPar("action")) AND objAccessControl.UserLogedIn Then
|
| 134 |
|
145 |
|
| 135 |
Call Rename_Pkg_Version ( parPv_id, Request("FRnewver"), errMessage )
|
146 |
Call Rename_Pkg_Version ( parPv_id, Request("FRnewver"), errMessage )
|
| 136 |
|
147 |
|
| 137 |
If NOT IsNull(errMessage) Then
|
148 |
If NOT IsNull(errMessage) Then
|
| 138 |
Call RaiseMsgInParent ( Eval(errMessage), parRtag_id &"|"& parPv_id)
|
149 |
Call RaiseMsgInParent ( Eval(errMessage), parRtag_id &"|"& parPv_id)
|
| 139 |
Else
|
150 |
Else
|
| 140 |
Call OpenInParentWindow ( parRfile &"?pv_id="& parPv_id &"&rtag_id="& parRtag_id )
|
151 |
Call OpenInParentWindow ( parRfile &"?pv_id="& parPv_id &"&rtag_id="& parRtag_id )
|
| 141 |
End If
|
152 |
End If
|
| 142 |
|
153 |
|
| 143 |
Call CloseWindow
|
154 |
Call CloseWindow
|
| 144 |
End If
|
155 |
End If
|
| 145 |
%>
|
156 |
%>
|
| 146 |
<%Call GetPackageInfo( parPv_id, objPkgInfo )%>
|
157 |
<%Call GetPackageInfo( parPv_id, objPkgInfo )%>
|
| 147 |
<html>
|
158 |
<html>
|
| 148 |
<head>
|
159 |
<head>
|
| Line 150... |
Line 161... |
| 150 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
161 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
| 151 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
162 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 152 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
163 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
| 153 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
164 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
| 154 |
<script language="JavaScript" src="images/common.js"></script>
|
165 |
<script language="JavaScript" src="images/common.js"></script>
|
| - |
|
166 |
<script language="JavaScript" type="text/JavaScript">
|
| 155 |
<!-- TIPS -->
|
167 |
<!--
|
| - |
|
168 |
function validateVersion()
|
| - |
|
169 |
{
|
| - |
|
170 |
var versionBase = document.getElementsByName('FRnewver')[0].value;
|
| - |
|
171 |
|
| - |
|
172 |
var exts = document.getElementsByName('v_ext')[0]
|
| - |
|
173 |
var versionExt = exts.options[exts.options.selectedIndex].value
|
| - |
|
174 |
|
| 156 |
<script language="JavaScript" src="images/tipster.js"></script>
|
175 |
var typeButtons = document.getElementsByName('build_type');
|
| - |
|
176 |
var isAutobuild = typeButtons[1].checked;
|
| - |
|
177 |
|
| - |
|
178 |
document.MM_returnValue = MM_ValidateVersion(null, versionBase, versionExt, isAutobuild);
|
| - |
|
179 |
|
| - |
|
180 |
return document.MM_returnValue;
|
| - |
|
181 |
}
|
| - |
|
182 |
|
| - |
|
183 |
// Change the elements displayed on the page depending on the build type selected.
|
| - |
|
184 |
function configurePage(buildType)
|
| - |
|
185 |
{
|
| - |
|
186 |
var typeButtons = document.getElementsByName('build_type');
|
| - |
|
187 |
|
| - |
|
188 |
|
| - |
|
189 |
if (buildType == "M")
|
| - |
|
190 |
{
|
| 157 |
<script language="JavaScript" src="images/_help_tips.js"></script>
|
191 |
Visible ('divVersionNumber','inline', 'divAutoVersion','none');
|
| - |
|
192 |
typeButtons[0].checked = true;
|
| - |
|
193 |
addCots();
|
| - |
|
194 |
}
|
| - |
|
195 |
else if (buildType == "A")
|
| - |
|
196 |
{
|
| - |
|
197 |
Visible ('divVersionNumber','none', 'divAutoVersion','inline');
|
| - |
|
198 |
typeButtons[1].checked = true;
|
| - |
|
199 |
removeCots();
|
| - |
|
200 |
}
|
| - |
|
201 |
}
|
| - |
|
202 |
|
| - |
|
203 |
// Add .cots extension to the list of extensions as it's not included in the intial query results.
|
| - |
|
204 |
function addCots()
|
| - |
|
205 |
{
|
| - |
|
206 |
var exts = document.getElementsByName('v_ext')[0];
|
| - |
|
207 |
|
| - |
|
208 |
for (index = 0; index < exts.length - 1; index++)
|
| - |
|
209 |
{
|
| - |
|
210 |
// Loop through extensions to see where .cots should go and insert it there
|
| - |
|
211 |
if (exts.options[index].value.toLowerCase() < '.cots' && exts.options[index + 1].value.toLowerCase() > '.cots')
|
| - |
|
212 |
{
|
| - |
|
213 |
var newOption = document.createElement('option');
|
| - |
|
214 |
newOption.text = '.cots';
|
| - |
|
215 |
newOption.value = '.cots';
|
| 158 |
|
216 |
|
| - |
|
217 |
try
|
| - |
|
218 |
{
|
| - |
|
219 |
exts.add(newOption, exts.options[index + 1]); // standards compliant
|
| - |
|
220 |
}
|
| - |
|
221 |
catch(ex)
|
| - |
|
222 |
{
|
| - |
|
223 |
exts.add(newOption, index + 1); // IE only
|
| - |
|
224 |
}
|
| - |
|
225 |
}
|
| - |
|
226 |
}
|
| - |
|
227 |
}
|
| - |
|
228 |
|
| - |
|
229 |
// Remove the .cots extension from the list of extensions.
|
| - |
|
230 |
function removeCots()
|
| - |
|
231 |
{
|
| - |
|
232 |
var exts = document.getElementsByName('v_ext')[0];
|
| - |
|
233 |
|
| - |
|
234 |
for (index = 0; index < exts.length; index++)
|
| - |
|
235 |
{
|
| - |
|
236 |
if (exts.options[index].value == '.cots')
|
| - |
|
237 |
{
|
| - |
|
238 |
exts.remove(index);
|
| - |
|
239 |
}
|
| - |
|
240 |
}
|
| - |
|
241 |
}
|
| - |
|
242 |
|
| - |
|
243 |
// Change the selected extensions in the list to the existing package extension.
|
| - |
|
244 |
function selectExtension(extension)
|
| - |
|
245 |
{
|
| - |
|
246 |
var exts = document.getElementsByName('v_ext')[0];
|
| - |
|
247 |
|
| - |
|
248 |
// Set the first option as selected by default
|
| - |
|
249 |
exts.options[0].selected = true;
|
| - |
|
250 |
|
| - |
|
251 |
for (index = 0; index < exts.length; index++)
|
| - |
|
252 |
{
|
| - |
|
253 |
if (exts.options[index].value == extension)
|
| - |
|
254 |
{
|
| - |
|
255 |
exts.options[index].selected = true;
|
| - |
|
256 |
}
|
| - |
|
257 |
}
|
| - |
|
258 |
}
|
| - |
|
259 |
//-->
|
| - |
|
260 |
</script>
|
| 159 |
</head>
|
261 |
</head>
|
| 160 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();<%If objPkgInfo("build_type") = "M" Then Response.Write("document.renameversion.FRnewver.focus();")%>">
|
262 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();configurePage('<%=objPkgInfo("build_type")%>');selectExtension('<%=objPkgInfo("v_ext")%>');">
|
| 161 |
<!-- TIPS LAYERS -------------------------------------->
|
- |
|
| 162 |
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10"> </div>
|
- |
|
| 163 |
<!----------------------------------------------------->
|
- |
|
| 164 |
<form name="renameversion" method="post" action="<%=scriptName%>" >
|
263 |
<form name="renameversion" method="post" action="<%=scriptName%>" onsubmit="return validateVersion();">
|
| 165 |
<table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
|
264 |
<table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
|
| 166 |
<tr>
|
265 |
<tr>
|
| 167 |
<td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="images/i_new_off.gif" width="18" height="23" hspace="5" border="0"></td>
|
266 |
<td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="images/i_new_off.gif" width="18" height="23" hspace="5" border="0"></td>
|
| 168 |
<td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl"> Reversion Package </td>
|
267 |
<td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl"> Reversion Package </td>
|
| 169 |
<td background="images/lbox_bg_blue.gif" align="right" width="50%">
|
268 |
<td background="images/lbox_bg_blue.gif" align="right" width="50%">
|
| 170 |
<input type="submit" name="btn" value="Submit" class="form_btn_comp">
|
269 |
<input type="submit" name="btn" value="Submit" class="form_btn_comp">
|
| 171 |
<input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
|
270 |
<input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
|
| 172 |
</td>
|
271 |
</td>
|
| 173 |
<td background="images/lbox_bg_blue.gif" align="right" width="1%%" nowrap>
|
272 |
<td background="images/lbox_bg_blue.gif" align="right" width="1%%" nowrap>
|
| 174 |
<img src="images/h_trsp_dot.gif" width="5" height="22"> </td>
|
273 |
<img src="images/h_trsp_dot.gif" width="5" height="22"> </td>
|
| 175 |
</tr>
|
274 |
</tr>
|
| 176 |
<tr>
|
275 |
<tr>
|
| 177 |
<td height="100%" width="1%"> </td>
|
276 |
<td height="100%" width="1%"> </td>
|
| 178 |
<td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif">
|
277 |
<td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif">
|
| 179 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
278 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 180 |
<tr>
|
279 |
<tr>
|
| 181 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
|
280 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
|
| 182 |
<td width="1%" nowrap class="form_group" valign="bottom"></td>
|
281 |
<td width="1%" nowrap class="form_group" valign="bottom"></td>
|
| 183 |
<td nowrap width="100%"></td>
|
282 |
<td nowrap width="100%"></td>
|
| 184 |
</tr>
|
283 |
</tr>
|
| 185 |
<tr>
|
284 |
<tr>
|
| 186 |
<td width="1%"> </td>
|
285 |
<td width="1%"> </td>
|
| 187 |
<td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Package</td>
|
286 |
<td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Package</td>
|
| 188 |
<td nowrap width="100%" background="images/bg_form_lightbluedark.gif" class="form_txt"><%=objPkgInfo.Item("pkg_name")%></td>
|
287 |
<td nowrap width="100%" background="images/bg_form_lightbluedark.gif" class="form_txt"><%=objPkgInfo.Item("pkg_name")%></td>
|
| 189 |
</tr>
|
288 |
</tr>
|
| 190 |
<tr>
|
289 |
<tr>
|
| 191 |
<td> </td>
|
290 |
<td> </td>
|
| 192 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_field"> </td>
|
291 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_field"> </td>
|
| 193 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
|
292 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
|
| 194 |
<input name="build_type" type="radio" value="M" <%=objPkgInfo.Item("M_checked")%> onclick="Visible ('divVersionNumber','block','divVersionExt','none')"> Manual Build
|
293 |
<input name="build_type" type="radio" value="M" onclick="configurePage('M')"> Manual Build
|
| 195 |
<input name="build_type" type="radio" value="A" <%=objPkgInfo.Item("A_checked")%> onclick="Visible ('divVersionNumber','none','divVersionExt','block')"> Automated Build
|
294 |
<input name="build_type" type="radio" value="A" onclick="configurePage('A')"> Automated Build
|
| 196 |
</td>
|
295 |
</td>
|
| 197 |
</tr>
|
296 |
</tr>
|
| 198 |
<tr>
|
297 |
<tr>
|
| 199 |
<td> </td>
|
298 |
<td> </td>
|
| 200 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Version</td>
|
299 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_field">Version</td>
|
| 201 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
|
300 |
<td nowrap background="images/bg_form_lightbluedark.gif" class="form_txt">
|
| 202 |
<DIV id="divVersionNumber" name="divVersionNumber" <%=objPkgInfo.Item("M_display")%>>
|
301 |
<DIV id="divVersionNumber" name="divVersionNumber">
|
| 203 |
<input type="text" name="FRnewver" class="form_item" size="12" value="<%=objPkgInfo.Item("pkg_version")%>">
|
302 |
<input type="text" name="FRnewver" class="form_item" size="10" value="<%=GetVersionNumber(objPkgInfo.Item("pkg_version"), objPkgInfo.Item("v_ext"))%>">
|
| 204 |
</DIV>
|
303 |
</DIV>
|
| - |
|
304 |
<div id="divAutoVersion" name="divAutoVersion">(auto-number)</div>
|
| 205 |
<DIV id="divVersionExt" name="divVersionExt" <%=objPkgInfo.Item("A_display")%>>
|
305 |
<div id="divVersionExtension" name="divVersionExtension" style="display:inline;">
|
| 206 |
(auto-number)<input type="text" name="v_ext" class="form_item" size="5" value="<%=objPkgInfo.Item("v_ext")%>"><%=Quick_Help ( "v_ext" )%>
|
306 |
<select name="v_ext" id="v_ext" class="form_item">
|
| 207 |
</DIV>
|
307 |
<%
|
| - |
|
308 |
Call drawExtensionSelectBox( objPkgInfo.Item("v_ext"), false )
|
| - |
|
309 |
%>
|
| - |
|
310 |
</select>
|
| - |
|
311 |
</div>
|
| 208 |
</td>
|
312 |
</td>
|
| 209 |
</tr>
|
313 |
</tr>
|
| 210 |
<tr>
|
314 |
<tr>
|
| 211 |
<td width="1%"> </td>
|
315 |
<td width="1%"> </td>
|
| 212 |
<td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td>
|
316 |
<td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td>
|
| 213 |
<td nowrap width="100%"> <p> </p></td>
|
317 |
<td nowrap width="100%"> <p> </p></td>
|
| 214 |
</tr>
|
318 |
</tr>
|
| 215 |
</table>
|
319 |
</table>
|
| Line 221... |
Line 325... |
| 221 |
</tr>
|
325 |
</tr>
|
| 222 |
</table>
|
326 |
</table>
|
| 223 |
<input type="hidden" name="pv_id" value="<%=parPv_id%>">
|
327 |
<input type="hidden" name="pv_id" value="<%=parPv_id%>">
|
| 224 |
<input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
|
328 |
<input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
|
| 225 |
<input type="hidden" name="rfile" value="<%=parRfile%>">
|
329 |
<input type="hidden" name="rfile" value="<%=parRfile%>">
|
| 226 |
<input type="hidden" name="action" value="true">
|
330 |
<input type="hidden" name="action" value="true">
|
| 227 |
</form>
|
331 |
</form>
|
| 228 |
</body>
|
332 |
</body>
|
| 229 |
</html>
|
333 |
</html>
|
| 230 |
|
334 |
|
| 231 |
|
335 |
|
| 232 |
<!-- DESTRUCTOR ------->
|
336 |
<!-- DESTRUCTOR ------->
|
| 233 |
<!--#include file="common/destructor.asp"-->
|
- |
|
| 234 |
|
337 |
<!--#include file="common/destructor.asp"-->
|
| - |
|
338 |
|