<
From version < 1.30 >
edited by SuperUwe Trueggelmann
on 2022-10-13
To version < 1.24 >
edited by SuperUwe Trueggelmann
on 2022-10-13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -38,11 +38,7 @@
38 38   if ((strEditCommand == "Correct") || (strEditCommand == "Register") || (strEditCommand == "Proceed")){
39 39  
40 40   strCompanyName = services.cleanStr.alphanum(request.companyname)
41 - strCompanyAddress = services.cleanStr.alphanum(request.companyaddress)
42 - strCompanyCity = services.cleanStr.alphanum(request.companycity)
43 - strCompanyPostcode = services.cleanStr.alphanum(request.companypostcode)
44 - strCompanyProvince = services.cleanStr.alphanum(request.companyprovince)
45 - strCompanyCountry = services.cleanStr.alphanum(request.companycountry)
41 +// println "Received Company name: " + strCompanyName
46 46   strTitle = services.cleanStr.alphanum(request.title)
47 47   strFirstname = services.cleanStr.alphanum(request.firstname)
48 48   strLastname = services.cleanStr.alphanum(request.lastname)
... ... @@ -51,6 +51,7 @@
51 51   strLphone = services.cleanStr.numphone(request.lphone)
52 52   strMphone = services.cleanStr.numphone(request.mphone)
53 53   strEmail = services.cleanStr.alphanum(request.email)
50 +// println "Received E-mail: " + strEmail
54 54   strEmail2 = services.cleanStr.alphanum(request.email2)
55 55   strCreateTime = java.time.ZonedDateTime.now()
56 56   strCreateIP = request.remoteAddr
... ... @@ -62,11 +62,6 @@
62 62   sqlQueryInsertRec = "INSERT INTO " + strDBTable +
63 63   """(
64 64   companyname,
65 - companyaddress,
66 - companycity,
67 - companypostcode,
68 - companyprovince,
69 - companycountry,
70 70   title,
71 71   firstname,
72 72   lastname,
... ... @@ -82,11 +82,6 @@
82 82   confemailsentcode)
83 83   VALUES(
84 84   '$strCompanyName',
85 - '$strCompanyAddress',
86 - '$strCompanyCity',
87 - '$strCompanyPostcode',
88 - '$strCompanyProvince',
89 - '$strCompanyCountry',
90 90   '$strTitle',
91 91   '$strFirstname',
92 92   '$strLastname',
... ... @@ -108,11 +108,6 @@
108 108   """
109 109   SET
110 110   companyname = '$strCompanyName',
111 - companyaddress = '$strCompanyAddress',
112 - companycity = '$strCompanyCity',
113 - companypostcode = '$strCompanyPostcode',
114 - companyprovince = '$strCompanyProvince',
115 - companycountry = '$strCompanyCountry',
116 116   title = '$strTitle',
117 117   firstname = '$strFirstname',
118 118   lastname = '$strLastname',
... ... @@ -134,16 +134,8 @@
134 134   }
135 135   strEmailBody = "Dear " + strPrefname + ","
136 136   strEmailBody = strEmailBody + "\r\n" + "\r\n" + "A request was made to register you to the CEC website (https://cecocert.com) with the following information:" + "\r\n" + "\r\n"
137 - strEmailBody = strEmailBody + "Registered name:\r\n"
138 138   strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
139 - strEmailBody = strEmailBody + "Registered Business Address:\r\n"
140 - strEmailBody = strEmailBody + "Registered Business Name: " + strCompanyName + "\r\n"
141 - strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + "\r\n"
142 - strEmailBody = strEmailBody + "Registered Business City: " + strCompanyAddress + "\r\n"
143 - strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n"
144 - strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n"
145 - strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n"
146 - strEmailBody = strEmailBody + "Contact info:"
120 + strEmailBody = strEmailBody + "Company: " + strCompanyName + "\r\n"
147 147   strEmailBody = strEmailBody + "Role: " + strRole + "\r\n"
148 148   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
149 149   strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
... ... @@ -176,11 +176,6 @@
176 176   }
177 177   if (strEditCommand == "Proceed"){
178 178   xcontext.put("strCompanyName",strCompanyName)
179 - xcontext.put("strCompanyName",strCompanyAddress)
180 - xcontext.put("strCompanyName",strCompanyCity)
181 - xcontext.put("strCompanyName",strCompanyPostcode)
182 - xcontext.put("strCompanyName",strCompanyProvince)
183 - xcontext.put("strCompanyName",strCompanyCountry)
184 184   xcontext.put("strTitle",strTitle)
185 185   xcontext.put("strFirstname",strFirstname)
186 186   xcontext.put("strLastname",strLastname)
... ... @@ -195,11 +195,6 @@
195 195   }
196 196   if (strEditCommand == "Correct"){
197 197   xcontext.put("strCompanyName",strCompanyName)
198 - xcontext.put("strCompanyName",strCompanyAddress)
199 - xcontext.put("strCompanyName",strCompanyCity)
200 - xcontext.put("strCompanyName",strCompanyPostcode)
201 - xcontext.put("strCompanyName",strCompanyProvince)
202 - xcontext.put("strCompanyName",strCompanyCountry)
203 203   xcontext.put("strTitle",strTitle)
204 204   xcontext.put("strFirstname",strFirstname)
205 205   xcontext.put("strLastname",strLastname)
... ... @@ -482,12 +482,9 @@
482 482  You have entered the following information to register to the CEC Scheme:
483 483   {{html wiki=false clean=false}}
484 484   <form action="" class="xformInline" method="post" name="User Registration Form">
485 - <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
449 + <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
486 486   <col style="width:30%">
487 487   <col style="width:70%">
488 - <th colspan = "2">
489 - <b>Company Information</b>
490 - </th>
491 491   <tr>
492 492   <td align="left" class="style1">Company name:</td>
493 493   <td class="style1">
... ... @@ -496,45 +496,6 @@
496 496   </td>
497 497   </tr>
498 498   <tr>
499 - <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
500 - <td class="style1">
501 - <input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyAddress}" size="100">
502 - "${xcontext.strCompanyAddress}
503 - </td>
504 - </tr>
505 - <tr>
506 - <td align="left" class="style1">Registered Business Address - City:</td>
507 - <td class="style1">
508 - <input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyCity}" size="100">
509 - "${xcontext.strCompanyCity}
510 - </td>
511 - </tr>
512 - <tr>
513 - <td align="left" class="style1">Registered Business Address - Postal Code:</td>
514 - <td class="style1">
515 - <input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100">
516 - "${xcontext.strCompanyPostcode}
517 - </td>
518 - </tr>
519 - <tr>
520 - <td align="left" class="style1">Registered Business Address - Province or State:</td>
521 - <td class="style1">
522 - <input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100">
523 - "${xcontext.strCompanyProvince}
524 - </td>
525 - </tr>
526 - <tr>
527 - <td align="left" class="style1">Registered Business Address - Country:</td>
528 - <td class="style1">
529 - <input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50">
530 - "${xcontext.strCompanyCountry}
531 - </td>
532 - </tr>
533 - <th colspan = "2">
534 - <b>Your Contact Information</b>
535 - </th>
536 -
537 - <tr>
538 538   <td align="hidden" class="style1">Title:</td>
539 539   <td class="style1">
540 540   <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
© 2022 TruCert Assessment Services Inc.
V01-00