Subversion Repositories DevTools

Rev

Rev 3865 | Rev 3884 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%
2
'=====================================================
151 ghuddy 3
'                 NEW VERSION
4
'                      PAGE
119 ghuddy 5
'=====================================================
6
%>
7
<!--#include file="_tabs.asp"-->
121 hknight 8
<!--#include file="_drawExtensionSelectBox.asp"-->
151 ghuddy 9
<!--#include file="class/classSortHelper.asp"-->
119 ghuddy 10
<%
11
'------------ Variable Definition -------------
151 ghuddy 12
Dim parAuto
119 ghuddy 13
Dim parPv_id
14
Dim rsLocRel
15
Dim parPage_title
16
Dim objPkgInfo
121 hknight 17
Dim rsTemp2
151 ghuddy 18
Dim rsLatest
19
Dim aVersions
20
Dim lastRow, i
21
Dim objSortHelper
119 ghuddy 22
'------------ Constants Declaration -----------
23
'------------ Variable Init -------------------
24
parPv_id = QStrPar("pv_id")
151 ghuddy 25
parAuto =  QStrPar("auto")
119 ghuddy 26
parPage_title = "NEW VERSION"
27
Set objPkgInfo = CreateObject("Scripting.Dictionary")
28
'-----------------------------------------------------------------------------------------------------------------------------
121 hknight 29
Function Get_Projects
151 ghuddy 30
   Get_Projects = _
31
   " SELECT * FROM projects ORDER BY proj_name ASC"
121 hknight 32
End Function
33
'-----------------------------------------------------------------------------------------------------------------------------
119 ghuddy 34
Sub GetPackageInfo( nPvId, outPkgInfo )
151 ghuddy 35
   Dim rsTemp, Query_String
36
   If IsEmpty(nPvId) Then Exit Sub
121 hknight 37
 
151 ghuddy 38
   Query_String = _
39
   " SELECT pv.pv_id, pkg.pkg_id, pkg.pkg_name, pv.pkg_version, pv.v_ext"&_
40
   "  FROM packages pkg, package_versions pv"&_
41
   " WHERE pkg.pkg_id = pv.pkg_id  AND pv.pv_id ="& nPvId
121 hknight 42
 
151 ghuddy 43
   Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
121 hknight 44
 
151 ghuddy 45
   If ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF)) Then
46
      outPkgInfo.Item("pv_id") = rsTemp.Fields("pv_id")
47
      outPkgInfo.Item("pkg_id") = rsTemp.Fields("pkg_id")
48
      outPkgInfo.Item("pkg_name") = rsTemp.Fields("pkg_name")
49
      outPkgInfo.Item("pkg_version") = rsTemp.Fields("pkg_version")
50
      outPkgInfo.Item("v_ext") = rsTemp.Fields("v_ext")
51
   End If
121 hknight 52
 
151 ghuddy 53
   rsTemp.Close
54
   Set rsTemp = nothing
119 ghuddy 55
End Sub
56
'-----------------------------------------------------------------------------------------------------------------------------
151 ghuddy 57
Function Get_Latest_All_Ext ( NNpkg_id, nPv_id )
58
	Get_Latest_All_Ext = _
59
	" SELECT pv.pkg_version, pv.dlocked,"&_
60
	"        DECODE ( pv.pv_id, "& nPv_id &", 'selected', NULL ) AS selected"&_
61
	"    FROM PACKAGES pkg, package_versions pv"&_
62
	"   WHERE pkg.pkg_id = pv.pkg_id  AND  pkg.pkg_id = "& NNpkg_id
63
End Function
165 brianf 64
 
65
'-------------------------------------------------------------------------------------------------------------
3867 dpurdie 66
' Returns TRUE if the specified version has a COTS extension
67
' Really determines if the extension has to be strict Major.Minor.PatchBuild
68
' or is allowed to be more relaxes. As in COTS and TOOL packages.
3865 dpurdie 69
'
3867 dpurdie 70
' Read from the database to determine type
71
' If we cannot determine the project suffix then assume the worst
72
'
165 brianf 73
Function HasCotsExtension(aversion)
3867 dpurdie 74
   Dim rsQry, Query_String
75
   Dim reResult
76
   HasCotsExtension = FALSE
77
 
78
   ' Extract package suffix .xxxx
165 brianf 79
   Dim re: Set re = New RegExp
3867 dpurdie 80
   re.IgnoreCase = true
81
   re.Pattern = "(\.[a-z]{2,4})$"
82
   Set reResult = re.Execute(aversion)
83
   if reResult.Count = 1 Then
84
       Query_String = "SELECT EXT_NAME FROM PROJECT_EXTENTIONS pe WHERE " &_
85
                      "pe.IS_COTS='Y' AND pe.EXT_NAME='"&_
86
                       LCase(reResult.Item(0).Submatches(0)) & "'"
87
       Set rsQry = OraDatabase.DbCreateDynaset( Query_String, ORADYN_DEFAULT )
88
       If ((NOT rsQry.BOF) AND (NOT rsQry.EOF)) Then
89
           HasCotsExtension = TRUE
90
       End If
91
       rsQry.Close
92
   Else
93
       HasCotsExtension = TRUE
94
   end If
95
 
96
   Set rsQry = Nothing
165 brianf 97
   Set re = Nothing
3867 dpurdie 98
   Set reResult = Nothing
165 brianf 99
End Function
100
 
101
'-------------------------------------------------------------------------------------------------------------
102
'Returns TRUE if the specified version has a patch-build number.
103
Function HasPatchBuildNumber(aversion)
104
   'test for a version with a patch build number, ie a dot and at least 4 digits before the extenstion.
105
   Dim re: Set re = New RegExp
106
   re.Pattern = "\.\d{4,}\.[^\.]+$"
107
   HasPatchBuildNumber = re.Test(aversion)
108
   Set re = Nothing      
109
End Function
110
 
3621 dpurdie 111
'-------------------------------------------------------------------------------------------------------------
112
'Returns TRUE if the specified version has a well formed version number
113
Function HasWellFormedVersion(aversion)
114
   'If a package has a major.minor.patch-build number then it is well formed
115
   Dim re: Set re = New RegExp
116
   re.Pattern = "^\d+\.\d+\.\d{4,}\.[^\.]+$"
117
   HasWellFormedVersion = re.Test(aversion)
118
   Set re = Nothing      
119
End Function
120
 
121
 
151 ghuddy 122
'-----------------------------------------------------------------------------------------------------------------------------
119 ghuddy 123
%>
124
<%
125
'===================== MAIN LINE ============================
126
Call GetPackageInfo( parPv_id, objPkgInfo )
3867 dpurdie 127
Dim bDisableAuto, bPatchOnly, bIsCots
151 ghuddy 128
 
3867 dpurdie 129
 
130
bIsCots = HasCotsExtension(objPkgInfo.Item("pkg_version"))
165 brianf 131
'Disable the "Auto" build option if the package is a COTS package and the version doesn't have a patch-build number.
3867 dpurdie 132
bDisableAuto = bIsCots and not HasPatchBuildNumber(objPkgInfo.Item("pkg_version"))
165 brianf 133
'Enable only the "Patch Change" option if the package is a COTS package and the version has a patch-build number.
3867 dpurdie 134
bPatchOnly = bIsCots and not HasWellFormedVersion(objPkgInfo.Item("pkg_version")) and HasPatchBuildNumber(objPkgInfo.Item("pkg_version"))
165 brianf 135
 
136
'if "Auto" build option is disabled then select the Manual option
137
If bDisableAuto Then
138
   parAuto = "0"
139
'else default to Auto
140
ElseIf IsNull(parAuto) OR parAuto = "" Then
151 ghuddy 141
   parAuto = "1"
142
End If
119 ghuddy 143
'============================================================
144
%>
145
<script language="JavaScript" type="text/JavaScript">
146
<!--
121 hknight 147
 
148
/*
149
Summary of Javascript functionality implemented by Haydon Knight for DEVI-044075 and DEVI-043066:
150
 
151
The form 'NEWVersion' invokes _new_version.asp when submitted.  The value of the FRnewver input box (which is hidden)  is passed
151 ghuddy 152
through to _new_version.asp.  This value stores the full version number+extension.
121 hknight 153
The full version (that displayed and that stored in FRnewver) is updated by updateFullVersion(), which is invoked whenever the user
154
changes the version base-number or version extension via any of:
155
 
151 ghuddy 156
1. altering the value of the 'inputVersionNumber' text entry box
157
2. changing the extension via the 'v_ext' select pull-down menu.
121 hknight 158
 
159
The radio button to select auto/manual is 'build_type', and a value of 'M' = manual and 'A' = auto.  Changing what is selected
151 ghuddy 160
invokes changeToAutoVersionNumberAssignment() or changeToManualVersionNumberAssignment(), which re-builds the form on the server
161
with the appropriate query string value to indicate the build type.
121 hknight 162
*/
163
 
164
window.onload = function()
165
{
151 ghuddy 166
   var fullVersion = "<%=objPkgInfo.Item("pkg_version")%>";
167
   var versionExt  = "<%=objPkgInfo.Item("v_ext")%>";
121 hknight 168
 
151 ghuddy 169
   var isAutobuild = document.NEWversion.build_type[0].checked;
170
   if (!isAutobuild)
171
   {
172
      // We only update inputVersionNumber field on page load, for manual builds
173
      if (versionExt.length == 0)
174
      {
175
         // is probably an old package version that was made in the days before we enforced all package versions
176
         // to have an extension.
177
         document.all['inputVersionNumber'].value = fullVersion;
178
      }
179
      else
180
      {
181
         // strip extension
182
         document.all['inputVersionNumber'].value = fullVersion.replace( /(.*)\..*/, "$1");
183
      }
184
   }
185
 
186
   // update FRnewver field from inputVersionNumber and v_ext fields
187
   updateFullVersion();
119 ghuddy 188
}
121 hknight 189
 
190
//////////////////////////////////////////////////////////////////
191
// Function: updateFullVersion
192
//
193
// Purpose: Updates the version displayed at the bottom of the window, as well as the FRnewver field that is
194
// passed through to the _new_version.asp script
195
//
196
// Arguments: none
197
//
198
// Returns: none
199
//
200
// Notes: When the user updates the "version base" text field this function is called
201
//
202
function updateFullVersion()
203
{
151 ghuddy 204
   document.all['FRnewver'].value = getFullVersion();
121 hknight 205
}
206
 
207
 
208
//////////////////////////////////////////////////////////////////
209
// Function: getVersionBase
210
//
211
// Purpose: Works out what the version base is based on user input
212
//
213
// Arguments: none
214
//
215
// Returns: versionBase - a number of the form n.n.n where 'n' is an integer (.e.g. 1.2.3000)
216
//
217
// Notes: If auto just returns ("auto")
218
//
219
function getVersionBase()
220
{
151 ghuddy 221
   var isAutobuild = document.NEWversion.build_type[0].checked;
121 hknight 222
 
151 ghuddy 223
   if( isAutobuild )
121 hknight 224
      return "(auto)";
225
 
151 ghuddy 226
   return document.all['inputVersionNumber'].value;
121 hknight 227
}
228
 
229
 
230
//////////////////////////////////////////////////////////////////
231
// Function: getFullVersion
232
//
233
// Purpose: Returns the full version based on the user input
234
//
235
// Arguments: none
236
//
237
// Returns: fullVersion - e.g. "1.2.3.cr"
238
//
239
// Notes:
240
//
241
function getFullVersion()
242
{
151 ghuddy 243
   var versionBase = getVersionBase();
244
   var versionExt = document.all['v_ext'].value;
245
   return versionBase + versionExt;
121 hknight 246
}
247
 
248
 
249
//////////////////////////////////////////////////////////////////
151 ghuddy 250
// Function: changeToAutoVersionNumberAssignment
121 hknight 251
//
151 ghuddy 252
// Purpose: Re-loads the form for use in auto version number assignment
121 hknight 253
//
151 ghuddy 254
// Arguments: None
121 hknight 255
//
256
// Returns: none
257
//
151 ghuddy 258
function changeToAutoVersionNumberAssignment()
259
{
260
   window.location.href = 'form_new_version.asp?rtag_id=<%=parRtag_id%>&pv_id=<%=parPv_id%>&auto=1';
261
}
262
 
263
//////////////////////////////////////////////////////////////////
264
// Function: changeToManualVersionNumberAssignment
121 hknight 265
//
151 ghuddy 266
// Purpose: Re-loads the form for use in manual version number assignment
267
//
268
// Arguments: None
269
//
270
// Returns: none
271
//
272
function changeToManualVersionNumberAssignment()
121 hknight 273
{
151 ghuddy 274
   window.location.href = 'form_new_version.asp?rtag_id=<%=parRtag_id%>&pv_id=<%=parPv_id%>&auto=0';
121 hknight 275
}
276
 
151 ghuddy 277
 
121 hknight 278
// Do not remove these next few lines, otherwise the page does not load properly in Microsoft IE.
119 ghuddy 279
//-->
280
</script>
281
 
282
<script>
121 hknight 283
 
284
 
119 ghuddy 285
function Dependency()
286
{
151 ghuddy 287
   parent.window.location.href="dependencies.asp?rtag_id=<%=parRtag_id%>&pv_id=<%=parPv_id%>";
119 ghuddy 288
}
121 hknight 289
 
151 ghuddy 290
////////////////////////////////////////////////////////////////////////////////////////////////////////
291
// This function returns true if version is ok, else false
292
////////////////////////////////////////////////////////////////////////////////////////////////////////
121 hknight 293
function checkVersion()
294
{
151 ghuddy 295
   var fullVersion = document.all['FRnewver'].value;
121 hknight 296
 
151 ghuddy 297
   var versionBase = fullVersion.replace( /(.*)(\..*)/, "$1");
298
   var versionExt =  fullVersion.replace( /(.*)(\..*)/, "$2");
121 hknight 299
 
151 ghuddy 300
   var isAutobuild = document.NEWversion.build_type[0].checked;
121 hknight 301
 
151 ghuddy 302
   return MM_ValidateVersion(null, versionBase, versionExt, isAutobuild, false);
303
}
121 hknight 304
 
151 ghuddy 305
////////////////////////////////////////////////////////////////////////////////////////////////////////
306
// This function returns true if form validation passes, else false
307
// It is called when a user hits the submit button.
308
////////////////////////////////////////////////////////////////////////////////////////////////////////
309
function validateFormNEWversion()
310
{
311
   var f = document.getElementById('NEWversion');
121 hknight 312
 
151 ghuddy 313
   if (f == null)
314
      alert('Failed To Get NEWversion');   // should never happen unless a coding/rendering mistake is made?
315
   else
316
   {
317
      // check the version number is good
318
      document.MM_returnValue = checkVersion();
319
      if (document.MM_returnValue)
320
      {
321
         // check the reason for change is good
322
         // NOTE: MM_validateForm returns its result through MM_returnValue : true if validation passes, else false
323
         MM_validateForm('FRreason','Reason for This Version','maxLength:4000');
324
         if (document.MM_returnValue)
325
         {
326
            f.action='_new_version.asp';
327
            parent.window.location.href='dependencies.asp?rtag_id=<%=parRtag_id%>&pv_id=<%=parPv_id%>';
328
 
329
            return true; // let the submit happen
330
         }
331
      }
332
   }
333
   return false; // prevent the submit
121 hknight 334
}
151 ghuddy 335
 
119 ghuddy 336
</script>
337
 
338
<table width="650" border="0" cellspacing="0" cellpadding="0">
151 ghuddy 339
   <tr>
340
      <td>
341
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
342
            <tr>
343
               <td width="1%">&nbsp;</td>
344
               <td align="right"><img src="images/h_trsp_dot.gif" width="30" height="30"></td>
345
               <td width="1%">&nbsp;</td>
346
            </tr>
347
            <tr>
348
               <td width="1%">&nbsp;</td>
349
               <td>
350
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
351
                     <tr>
352
                        <td nowrap class="form_ttl"><%=parPage_title%></td>
353
                        <td align="right" valign="bottom">
354
                           <!-- TABS -->
355
                           &nbsp;
356
                        </td>
357
                     </tr>
358
                  </table>
359
               </td>
360
               <td width="1%">&nbsp;</td>
361
            </tr>
362
            <tr>
363
               <td align="left" valign="top" width="1%" background="images/lbox_bg_blue.gif"><img src="images/lbox_tl_cnr_b.gif" width="13" height="13"></td>
364
               <td background="images/lbox_bg_blue.gif"><!-- Heading --><img src="images/h_trsp_dot.gif" width="1" height="20"><!-- END Heading --></td>
365
               <td align="right" valign="top" width="1%" background="images/lbox_bg_blue.gif"><img src="images/lbox_tr_cnr_b.gif" width="13" height="13"></td>
366
            </tr>
367
            <tr>
368
               <td width="1%" bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
369
               <td bgcolor="#FFFFFF" valign="top">
370
                  <!-- Body -->
371
                  <table width="100%" border="0" cellspacing="1" cellpadding="2">
372
                     <form id="NEWversion"  name="NEWversion" method="post">
373
                        <tr>
374
                           <td width="1%"><img src="images/h_trsp_dot.gif" width="1" height="10"></td>
375
                           <td width="1%" nowrap class="form_group" valign="bottom"></td>
376
                           <td nowrap width="100%" align="right" class="form_step"></td>
377
                        </tr>
378
                        <tr>
379
                           <td width="1%">&nbsp;</td>
380
                           <td colspan="2" width="1%" nowrap class="form_field">
381
                              <table width="100%" border="0" cellspacing="1" cellpadding="5">
382
                                 <tr>
383
                                    <td background="images/bg_form_lightbluedark.gif" width="20%" class="form_field">Package Name</td>
384
                                    <td background="images/bg_form_lightgray.gif" class="form_field"><%=objPkgInfo.Item("pkg_name")%></td>
385
                                 </tr>
386
                                 <tr>
387
                                    <td background="images/bg_form_lightbluedark.gif" width="20%" class="form_field">Version Number Assignment</td>
388
                                    <td background="images/bg_form_lightgray.gif" class="form_txt">
121 hknight 389
 
165 brianf 390
                                       <%If bDisableAuto Then%>
391
                                          <input name="build_type" id="build_type" type="radio" value="A" disabled onclick="changeToAutoVersionNumberAssignment();"> Auto
392
                                          <input name="build_type" id="build_type" type="radio" value="M" checked onclick="changeToManualVersionNumberAssignment();"> Manual
151 ghuddy 393
                                       <%Else%>
165 brianf 394
                                         <%If parAuto = "1" Then%>
395
                                            <input name="build_type" id="build_type" type="radio" value="A" checked onclick="changeToAutoVersionNumberAssignment();"> Auto
396
                                            <input name="build_type" id="build_type" type="radio" value="M"         onclick="changeToManualVersionNumberAssignment();"> Manual
397
                                         <%Else%>
398
                                            <input name="build_type" id="build_type" type="radio" value="A"         onclick="changeToAutoVersionNumberAssignment();"> Auto
399
                                            <input name="build_type" id="build_type" type="radio" value="M" checked onclick="changeToManualVersionNumberAssignment();"> Manual
400
                                         <%End If%>
151 ghuddy 401
                                       <%End If%>
402
                                    </td>
403
                                 </tr>
404
                              </table>
405
 
406
                              <table width="100%" border="0" cellspacing="0" cellpadding="5">
407
                                 <tr>
408
                                    <td background="images/bg_form_lightbluedark.gif"  width="20%" class="form_field">New Version Number</td>
409
                                    <td background="images/bg_form_lightgray.gif" class="form_item">
410
                                       <%If parAuto = "0" Then%>
411
                                          <input type="text" id="inputVersionNumber" name="inputVersionNumber" class="form_item" size="12" onmouseout="updateFullVersion();" onblur="updateFullVersion();" onclick="updateFullVersion();" onmouseup="updateFullVersion();" onchange="updateFullVersion();" onkeyup="updateFullVersion();">
412
                                       <%Else%>
413
                                          <input type="text" id="inputVersionNumber" name="inputVersionNumber" class="form_item" size="12" value="(auto)" disabled>
414
                                       <%End If%>
415
                                    </td>
416
                                    <%If parAuto = "0" Then%>
417
                                       <td background="images/bg_form_lightgray.gif" class="form_item">
418
                                          <select id="FRpkgver"  name="FRpkgver" class="form_item">
419
                                             <option value=""></option>
420
                                             <%
421
                                             Set rsLatest = OraDatabase.DbCreateDynaset( Get_Latest_All_Ext( objPkgInfo.Item("pkg_id"), parPv_id ), cint(0))
422
 
423
                                             If rsLatest.RecordCount > 0 Then
424
                                                aVersions = rsLatest.GetRows()
425
                                                lastRow = UBound( aVersions, 2 )
426
 
427
                                                Set objSortHelper = New SortHelper
428
 
429
                                                ' Sort versions
430
                                                Call objSortHelper.VersionSort( aVersions, 0, lastRow, rsLatest.FieldIndex("pkg_version") )
431
 
432
                                                ' Descending order
433
                                                For i = lastRow To 0 Step -1
434
                                                %>
435
                                                   <option value="<%=aVersions( rsLatest.FieldIndex("pkg_version"), i )%>" <%=aVersions( rsLatest.FieldIndex("selected"), i )%>>
436
                                                      <%If aVersions( rsLatest.FieldIndex("dlocked"), i ) = "Y" Then%>
437
                                                         R&nbsp;
438
                                                      <%Else%>
439
                                                         &nbsp;&nbsp;&nbsp;&nbsp;
440
                                                      <%End If%>
441
                                                      <%=aVersions( rsLatest.FieldIndex("pkg_version"), i )%>
442
                                                   </option>
443
                                                <%
444
                                                Next
445
 
446
                                                Set objSortHelper = nothing
447
 
448
                                             End If
449
                                             %>
450
                                          </select>&nbsp;Existing Versions (For Reference Only)
451
                                       </td>
452
                                    <%End If%>
453
                                 </tr>
454
                              </table>
455
 
456
                              <table width="100%" border="0" cellspacing="1" cellpadding="5">
457
                                 <tr>
458
                                    <td background="images/bg_form_lightbluedark.gif" width="20%" class="form_field">Version Extension</td>
459
                                    <td background="images/bg_form_lightgray.gif" class="form_item">
460
                                       <DIV id="divVersionExt" name="divVersionExt">
461
                                          <select name="v_ext" id="v_ext" onchange="updateFullVersion();">
462
                                             <%
463
                                             Call drawExtensionSelectBox( objPkgInfo.Item("v_ext"), true )
464
                                             %>
465
                                          </select>
466
                                       </DIV>
467
                                    </td>
468
                                 </tr>
469
 
470
                                 <tr>
471
                                    <td background="images/bg_form_lightbluedark.gif" width="20%" class="form_field">Reason For This Version</td>
472
                                    <td background="images/bg_form_lightgray.gif" nowrap width="100%" class="form_field">
473
                                       <textarea name="FRreason" class="form_item" style="width: 420px; height: 150px"></textarea>
474
                                    </td>
475
                                 </tr>
476
                              </table>
477
 
478
                              <%If parAuto = "1" Then%>
479
                                 <table width="100%" border="0" cellspacing="0" cellpadding="5">
480
                                    <tr>
481
                                       <td background="images/bg_form_lightbluedark.gif" nowrap width="20%" class="form_field">Change Type</td>
482
                                       <td background="images/bg_form_lightgray.gif" >
483
                                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
484
                                             <tr>
485
                                                <td width="1%">
165 brianf 486
                                                  <%If bPatchOnly Then%>
487
                                                    <input name="change_type" type="radio" value="M" disabled>
488
                                                  <%Else%>
489
                                                    <input name="change_type" type="radio" value="M">
490
                                                  <%End If%>
151 ghuddy 491
                                                </td>
492
                                                <td nowrap>
493
                                                   <span class="form_field">Major Change</span>
494
                                                </td>
495
                                                <td>&nbsp;</td>
496
                                                <td>
497
                                                   <span class="form_txt">A major number change indicates the contract of the package has changed in a non-backwardly compatible manner.</span>
498
                                                </td>
499
                                             </tr>
500
                                             <tr>
501
                                                <td colspan="4"><hr width="100%" size="1" noshade></td>
502
                                             </tr>
503
                                             <tr>
504
                                                <td width="1%">
165 brianf 505
                                                  <%If bPatchOnly Then%>
506
                                                    <input name="change_type" type="radio" value="N" disabled>
507
                                                  <%Else%>
508
                                                    <input name="change_type" type="radio" value="N">
509
                                                  <%End If%>
151 ghuddy 510
                                                </td>
511
                                                <td align="center" nowrap>
512
                                                   <span class="form_field">Minor Change</span>
513
                                                </td>
514
                                                <td>&nbsp;</td>
515
                                                <td>
516
                                                   <span class="form_txt">A minor number change indicates the contract of the package has changed in a backwardly compatible manner.</span>
517
                                                </td>
518
                                             </tr>
519
                                             <tr>
520
                                                <td colspan="4"><hr width="100%" size="1" noshade></td>
521
                                             </tr>
522
                                             <tr>
523
                                                <td width="1%">
524
                                                   <input name="change_type" type="radio" value="P" checked>
525
                                                </td>
526
                                                <td nowrap>
527
                                                   <span class="form_field">Patch Change</span>
528
                                                </td>
529
                                                <td>&nbsp;</td>
530
                                                <td>
531
                                                   <span class="form_txt">A patch number change indicates the package has changed internally.</span>
532
                                                </td>
533
                                             </tr>
534
                                          </table>
535
 
536
                                       </td>
537
                                    </tr>
538
                                 </table>
539
                              <%End If%>
540
 
541
                              <table width="100%" border="0" cellspacing="1" cellpadding="0">
542
                                 <tr>
543
                                    <td nowrap><img src="images/h_trsp_dot.gif" width="120" height="1"></td>
544
                                    <td></td>
545
                                 </tr>
546
                                 <input type="hidden" name="FRnewver" id="FRnewver" value="hello">
547
                                 <input type="hidden" name="OLDpv_id" value="<%=parPv_id%>">
548
                                 <input type="hidden" name="rtag_id" value="<%=parRtag_id%>">
549
                                 <input type="hidden" name="page_title" value="<%=parPage_title%>">
550
                              </table>
551
                           </td>
552
                        </tr>
553
                        <tr>
554
                           <td width="1%">&nbsp;</td>
555
                           <td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
556
                           <td nowrap width="100%" class="body_scol">
557
                              <input type="submit" name="btn" value="Submit" class="form_btn" onClick="return validateFormNEWversion();">
558
                              <input type="reset" name="btn" value="Cancel" class="form_btn" onClick="Dependency();">
559
                              <SPAN id="ProgressBar" name="ProgressBar" style="visibility:hidden;"><img src="images/i_processing.gif" width="11" height="17" align="absmiddle" hspace="3">Processing...</SPAN>
560
                              <br><br>
561
                           </td>
562
                        </tr>
563
                     </form>
564
                  </table>
565
                  <!-- END Body-->
566
               </td>
567
               <td width="1%" background="images/lbox_bgside_white.gif">&nbsp;</td>
568
            </tr>
569
            <tr>
570
               <td width="1%" background="images/lbox_bg_blue.gif" valign="bottom"><img src="images/lbox_bl_cnr_b.gif" width="13" height="13"></td>
571
               <td background="images/lbox_bg_blue.gif"></td>
572
               <td width="1%" background="images/lbox_bg_blue.gif" valign="bottom" align="right"><img src="images/lbox_br_cnr_b.gif" width="13" height="13"></td>
573
            </tr>
574
         </table>
575
      </td>
576
   </tr>
119 ghuddy 577
</table>