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

Summary

Details

Page properties
Content
... ... @@ -10,11 +10,6 @@
10 10  
11 11   String strContactID = ""
12 12   String strCompanyName = ""
13 - String strCompanyAddress = ""
14 - String strCompanyCity = ""
15 - String strCompanyPostcode = ""
16 - String strCompanyProvince = ""
17 - String strCompanyCountry = ""
18 18   String strTitle = ""
19 19   String strFirstname = ""
20 20   String strLastname = ""
... ... @@ -43,11 +43,7 @@
43 43   if ((strEditCommand == "Correct") || (strEditCommand == "Register") || (strEditCommand == "Proceed")){
44 44  
45 45   strCompanyName = services.cleanStr.alphanum(request.companyname)
46 - strCompanyAddress = services.cleanStr.alphanum(request.companyaddress)
47 - strCompanyCity = services.cleanStr.alphanum(request.companycity)
48 - strCompanyPostcode = services.cleanStr.alphanum(request.companypostcode)
49 - strCompanyProvince = services.cleanStr.alphanum(request.companyprovince)
50 - strCompanyCountry = services.cleanStr.alphanum(request.companycountry)
41 +// println "Received Company name: " + strCompanyName
51 51   strTitle = services.cleanStr.alphanum(request.title)
52 52   strFirstname = services.cleanStr.alphanum(request.firstname)
53 53   strLastname = services.cleanStr.alphanum(request.lastname)
... ... @@ -56,6 +56,7 @@
56 56   strLphone = services.cleanStr.numphone(request.lphone)
57 57   strMphone = services.cleanStr.numphone(request.mphone)
58 58   strEmail = services.cleanStr.alphanum(request.email)
50 +// println "Received E-mail: " + strEmail
59 59   strEmail2 = services.cleanStr.alphanum(request.email2)
60 60   strCreateTime = java.time.ZonedDateTime.now()
61 61   strCreateIP = request.remoteAddr
... ... @@ -67,11 +67,6 @@
67 67   sqlQueryInsertRec = "INSERT INTO " + strDBTable +
68 68   """(
69 69   companyname,
70 - companyaddress,
71 - companycity,
72 - companypostcode,
73 - companyprovince,
74 - companycountry,
75 75   title,
76 76   firstname,
77 77   lastname,
... ... @@ -87,11 +87,6 @@
87 87   confemailsentcode)
88 88   VALUES(
89 89   '$strCompanyName',
90 - '$strCompanyAddress',
91 - '$strCompanyCity',
92 - '$strCompanyPostcode',
93 - '$strCompanyProvince',
94 - '$strCompanyCountry',
95 95   '$strTitle',
96 96   '$strFirstname',
97 97   '$strLastname',
... ... @@ -113,11 +113,6 @@
113 113   """
114 114   SET
115 115   companyname = '$strCompanyName',
116 - companyaddress = '$strCompanyAddress',
117 - companycity = '$strCompanyCity',
118 - companypostcode = '$strCompanyPostcode',
119 - companyprovince = '$strCompanyProvince',
120 - companycountry = '$strCompanyCountry',
121 121   title = '$strTitle',
122 122   firstname = '$strFirstname',
123 123   lastname = '$strLastname',
... ... @@ -139,16 +139,8 @@
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 name:\r\n"
143 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:"
120 + strEmailBody = strEmailBody + "Company: " + strCompanyName + "\r\n"
152 152   strEmailBody = strEmailBody + "Role: " + strRole + "\r\n"
153 153   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
154 154   strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
... ... @@ -162,11 +162,6 @@
162 162   xcontext.put("strEmailBody",strEmailBody)
163 163  // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID)
164 164   xcontext.put("strCompanyName",strCompanyName)
165 - xcontext.put("strCompanyAddress",strCompanyAddress)
166 - xcontext.put("strCompanyCity",strCompanyCity)
167 - xcontext.put("strCompanyPostcode",strCompanyPostcode)
168 - xcontext.put("strCompanyProvince",strCompanyProvince)
169 - xcontext.put("strCompanyCountry",strCompanyCountry)
170 170   xcontext.put("strTitle",strTitle)
171 171   xcontext.put("strFirstname",strFirstname)
172 172   xcontext.put("strLastname",strLastname)
... ... @@ -181,11 +181,6 @@
181 181   }
182 182   if (strEditCommand == "Proceed"){
183 183   xcontext.put("strCompanyName",strCompanyName)
184 - xcontext.put("strCompanyAddress",strCompanyAddress)
185 - xcontext.put("strCompanyCity",strCompanyCity)
186 - xcontext.put("strCompanyPostcode",strCompanyPostcode)
187 - xcontext.put("strCompanyProvince",strCompanyProvince)
188 - xcontext.put("strCompanyCountry",strCompanyCountry)
189 189   xcontext.put("strTitle",strTitle)
190 190   xcontext.put("strFirstname",strFirstname)
191 191   xcontext.put("strLastname",strLastname)
... ... @@ -200,11 +200,6 @@
200 200   }
201 201   if (strEditCommand == "Correct"){
202 202   xcontext.put("strCompanyName",strCompanyName)
203 - xcontext.put("strCompanyAddress",strCompanyAddress)
204 - xcontext.put("strCompanyCity",strCompanyCity)
205 - xcontext.put("strCompanyPostcode",strCompanyPostcode)
206 - xcontext.put("strCompanyProvince",strCompanyProvince)
207 - xcontext.put("strCompanyCountry",strCompanyCountry)
208 208   xcontext.put("strTitle",strTitle)
209 209   xcontext.put("strFirstname",strFirstname)
210 210   xcontext.put("strLastname",strLastname)
... ... @@ -487,12 +487,9 @@
487 487  You have entered the following information to register to the CEC Scheme:
488 488   {{html wiki=false clean=false}}
489 489   <form action="" class="xformInline" method="post" name="User Registration Form">
490 - <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
444 + <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
491 491   <col style="width:30%">
492 492   <col style="width:70%">
493 - <th colspan = "2">
494 - <b>Company Information</b>
495 - </th>
496 496   <tr>
497 497   <td align="left" class="style1">Company name:</td>
498 498   <td class="style1">
... ... @@ -501,45 +501,6 @@
501 501   </td>
502 502   </tr>
503 503   <tr>
504 - <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
505 - <td class="style1">
506 - <input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyAddress}" size="100">
507 - "${xcontext.strCompanyAddress}
508 - </td>
509 - </tr>
510 - <tr>
511 - <td align="left" class="style1">Registered Business Address - City:</td>
512 - <td class="style1">
513 - <input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyCity}" size="100">
514 - "${xcontext.strCompanyCity}
515 - </td>
516 - </tr>
517 - <tr>
518 - <td align="left" class="style1">Registered Business Address - Postal Code:</td>
519 - <td class="style1">
520 - <input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100">
521 - "${xcontext.strCompanyPostcode}
522 - </td>
523 - </tr>
524 - <tr>
525 - <td align="left" class="style1">Registered Business Address - Province or State:</td>
526 - <td class="style1">
527 - <input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100">
528 - "${xcontext.strCompanyProvince}
529 - </td>
530 - </tr>
531 - <tr>
532 - <td align="left" class="style1">Registered Business Address - Country:</td>
533 - <td class="style1">
534 - <input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50">
535 - "${xcontext.strCompanyCountry}
536 - </td>
537 - </tr>
538 - <th colspan = "2">
539 - <b>Your Contact Information</b>
540 - </th>
541 -
542 - <tr>
543 543   <td align="hidden" class="style1">Title:</td>
544 544   <td class="style1">
545 545   <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
© 2022 TruCert Assessment Services Inc.
V01-00