Subversion Repositories DevTools

Rev

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