<
From version < 5.11 >
edited by SuperUwe Trueggelmann
on 2023-01-25
To version < 1.47 >
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)
... ... @@ -141,7 +141,7 @@
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 142   strEmailBody = strEmailBody + "Registered Business: " + strCompanyName + ", " + strCompanyAddress + ", " + strCompanyCity + ", " + strCompanyPostcode + ", " + strCompanyProvince + ", " + strCompanyCountry + "\r\n" + "\r\n"
143 143   strEmailBody = strEmailBody + "Contact info: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
144 - strEmailBody = strEmailBody + "Contact role: " + strRole + "\r\n"
144 + if (strRole){strEmailBody = strEmailBody + "Contact role: " + strRole + "\r\n"}
145 145   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
146 146   strEmailBody = strEmailBody + "Mobile phone: " + strMphone + "\r\n" + "\r\n"
147 147   strEmailBody = strEmailBody + "The request was made from IP address: " + strCreateIP
... ... @@ -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>
320 + <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">
322 + <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>
... ... @@ -701,34 +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 -
705 - {{warning}}
706 - Something has gone wrong! Please do not try again!
707 - {{/warning}}
708 -
709 709   #set ($status = $statuses.next())
710 - {{warning}}
711 - I am sorry, but there was a problem with sending you your confirmation e-mail!
712 - The data you entered has likely already been stored in our database, and will not need to be entered again.
713 - Hence, please do not try entering the information again but instead send an e-mail to contact@cecocert.com informing us about the problem.
714 - As the subject line, please enter "CEC Registration - e-mail problem".
715 - In the body of the e-mail, please simply provide your name and that of your company.
716 - If possible, please copy and paste the error message shown below in red into the e-mail, below your name and that of your company.
717 - We are sorry for the inconvenience!
718 - {{/warning}}
719 -
720 720   {{error}}
721 721   Error: $status.errorSummary ($status.state)
722 722   $status.errorDescription
723 - {{/error}}
724 -
725 - #else
726 - {{info}}
727 - An e-mail asking you to confirm your e-mail address was sent to ${xcontext.strEmail}.
728 - Please check your inbox and click on the link to confirm your e-mail address!
729 - The process will only continue after you have confirmed your e-mail address.
730 - {{/info}}
708 + {{/error}}
731 731   #end
710 + An e-mail asking you to confirm your e-mail address was sent to ${xcontext.strEmail}.
711 + Please check your inbox and click on the link to confirm your e-mail address!
712 + The process will only continue after you have confirmed your e-mail address.
732 732   #end
733 733  
734 734  {{/velocity}}
© 2022 TruCert Assessment Services Inc.
V01-00