<
From version < 5.2 >
edited by SuperUwe Trueggelmann
on 2023-01-25
To version < 1.38 >
edited by SuperUwe Trueggelmann
on 2022-10-13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -52,7 +52,7 @@
52 52   strFirstname = services.cleanStr.alphanum(request.firstname)
53 53   strLastname = services.cleanStr.alphanum(request.lastname)
54 54   strPrefname = services.cleanStr.alphanum(request.prefname)
55 - strRole = services.cleanStr.alphanum(request.role) ?:""
55 + strRole = services.cleanStr.alphanum(request.role)
56 56   strLphone = services.cleanStr.numphone(request.lphone)
57 57   strMphone = services.cleanStr.numphone(request.mphone)
58 58   strEmail = services.cleanStr.alphanum(request.email)
... ... @@ -139,11 +139,19 @@
139 139   }
140 140   strEmailBody = "Dear " + strPrefname + ","
141 141   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"
142 - strEmailBody = strEmailBody + "Registered Business: " + strCompanyName + ", " + strCompanyAddress + ", " + strCompanyCity + ", " + strCompanyPostcode + ", " + strCompanyProvince + ", " + strCompanyCountry + "\r\n" + "\r\n"
143 - strEmailBody = strEmailBody + "Contact info: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
144 - strEmailBody = strEmailBody + "Contact role: " + strRole + "\r\n"
142 + strEmailBody = strEmailBody + "Registered name:\r\n"
143 + strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
144 + strEmailBody = strEmailBody + "Registered Business Address:\r\n"
145 + strEmailBody = strEmailBody + "Registered Business Name: " + strCompanyName + "\r\n"
146 + strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + "\r\n"
147 + strEmailBody = strEmailBody + "Registered Business City: " + strCompanyAddress + "\r\n"
148 + strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n"
149 + strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n"
150 + strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n"
151 + strEmailBody = strEmailBody + "Contact info:"
152 + strEmailBody = strEmailBody + "Role: " + strRole + "\r\n"
145 145   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
146 - strEmailBody = strEmailBody + "Mobile phone: " + strMphone + "\r\n" + "\r\n"
154 + strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
147 147   strEmailBody = strEmailBody + "The request was made from IP address: " + strCreateIP
148 148   strEmailBody = strEmailBody + "\r\n" + "\r\n" + "Please click the below link to confirm your e-mail address:" + "\r\n"
149 149   strEmailBody = strEmailBody + "https://cecocert.com/bin/view/StartPage/X1100%20-%20Process%20e-mail%20confirmation/WebHome"
... ... @@ -317,9 +317,9 @@
317 317   </td>
318 318   </tr>
319 319   <tr>
320 - <td align="left" class="style1">Preferred name to address you:<br>Examples: Peter, Mr. Parker, Fujikawa-san</td>
328 + <td align="left" class="style1">Preferred name to address you:</td>
321 321   <td class="style1">
322 - <input type="text" id="prefname" name="prefname" placeholder="Enter the name you want to be addressed by, for example in e-mails and letters" size="70">
330 + <input type="text" id="prefname" name="prefname" placeholder="Enter the name you want to be addressed by" size="50">
323 323   </td>
324 324   </tr>
325 325   <tr>
... ... @@ -408,7 +408,7 @@
408 408   <tr>
409 409   <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
410 410   <td class="style1">
411 - <input type="text" id="companyaddress" name="companyaddress" placeholder="Enter the House Number, Street, Floor, etc part of your company's registered business address" value="${xcontext.strCompanyAddress}" size="100">
419 + <input type="text" id="companyaddress" name="companyaddress" placeholder="Enter the House Number, Street, Floor, etc part of your company's registered business address" size="100">
412 412   </select>
413 413   </td>
414 414   </tr>
... ... @@ -415,7 +415,7 @@
415 415   <tr>
416 416   <td align="left" class="style1">Registered Business Address - City:</td>
417 417   <td class="style1">
418 - <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" value="${xcontext.strCompanyCity}" size="100">
426 + <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" size="100">
419 419   </select>
420 420   </td>
421 421   </tr>
... ... @@ -422,7 +422,7 @@
422 422   <tr>
423 423   <td align="left" class="style1">Registered Business Address - Postal Code:</td>
424 424   <td class="style1">
425 - <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" value="${xcontext.strCompanyPostcode}" size="100">
433 + <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" size="100">
426 426   </select>
427 427   </td>
428 428   </tr>
... ... @@ -429,7 +429,7 @@
429 429   <tr>
430 430   <td align="left" class="style1">Registered Business Address - Province or State:</td>
431 431   <td class="style1">
432 - <input type="text" id="companyprovince" name="companyprovince" placeholder="Enter the Province or State part of your company's registered business address, leave empty if n/a" value="${xcontext.strCompanyProvince}" size="100">
440 + <input type="text" id="companyprovince" name="companyprovince" placeholder="Enter the Province or State part of your company's registered business address, leave empty if n/a" size="100">
433 433   </select>
434 434   </td>
435 435   </tr>
... ... @@ -436,7 +436,7 @@
436 436   <tr>
437 437   <td align="left" class="style1">Registered Business Address - Country:</td>
438 438   <td class="style1">
439 - <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" value="${xcontext.strCompanyCountry}" size="50">
447 + <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" size="50">
440 440   </select>
441 441   </td>
442 442   </tr>
... ... @@ -701,27 +701,15 @@
701 701   ## Check if the mail we tried to send has failed to be sent
702 702   #set ($statuses = $mailResult.statusResult.getAllErrors())
703 703   #if ($statuses.hasNext())
704 - <p>Sorry, something has gone wrong! Please do not try again!</p>
705 705   #set ($status = $statuses.next())
706 706   {{error}}
707 - <p>I am sorry, but there was a problem with sending you your confirmation e-mail!</p>
708 - <p>The data you entered has most likely already been stored in our database, and will not need to be entered again.</p>
709 - <p>Hence, please do not try entering the information again but instead send an e-mail to contact@cecocert.com informing us about the problem.</p>
710 - <p>As the subject line, please enter "CEC Registration - e-mail problem".</p>
711 - <p>In the body of the e-mail, please simply provide your name and that of your company.</p>
712 - <p>If possible, please copy the error message shown below into the e-mail.</p>
713 - <p>We are sorry for the inconvenience!
714 - <br>
715 - <p>Error Message:</p>
716 716   Error: $status.errorSummary ($status.state)
717 717   $status.errorDescription
718 - <br>
719 - {{/error}}
720 - #else
721 - An e-mail asking you to confirm your e-mail address was sent to ${xcontext.strEmail}.
722 - Please check your inbox and click on the link to confirm your e-mail address!
723 - The process will only continue after you have confirmed your e-mail address.
716 + {{/error}}
724 724   #end
718 + An e-mail asking you to confirm your e-mail address was sent to ${xcontext.strEmail}.
719 + Please check your inbox and click on the link to confirm your e-mail address!
720 + The process will only continue after you have confirmed your e-mail address.
725 725   #end
726 726  
727 727  {{/velocity}}
© 2022 TruCert Assessment Services Inc.
V01-00