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

Summary

Details

Page properties
Content
... ... @@ -10,6 +10,11 @@
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 = ""
13 13   String strTitle = ""
14 14   String strFirstname = ""
15 15   String strLastname = ""
... ... @@ -47,7 +47,7 @@
47 47   strFirstname = services.cleanStr.alphanum(request.firstname)
48 48   strLastname = services.cleanStr.alphanum(request.lastname)
49 49   strPrefname = services.cleanStr.alphanum(request.prefname)
50 - strRole = services.cleanStr.alphanum(request.role)
55 + strRole = services.cleanStr.alphanum(request.role) ?:""
51 51   strLphone = services.cleanStr.numphone(request.lphone)
52 52   strMphone = services.cleanStr.numphone(request.mphone)
53 53   strEmail = services.cleanStr.alphanum(request.email)
... ... @@ -108,6 +108,11 @@
108 108   """
109 109   SET
110 110   companyname = '$strCompanyName',
116 + companyaddress = '$strCompanyAddress',
117 + companycity = '$strCompanyCity',
118 + companypostcode = '$strCompanyPostcode',
119 + companyprovince = '$strCompanyProvince',
120 + companycountry = '$strCompanyCountry',
111 111   title = '$strTitle',
112 112   firstname = '$strFirstname',
113 113   lastname = '$strLastname',
... ... @@ -129,16 +129,11 @@
129 129   }
130 130   strEmailBody = "Dear " + strPrefname + ","
131 131   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"
132 - strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
133 - strEmailBody = strEmailBody + "Registered Business Name: " + strCompanyName + "\r\n"
134 - strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + "\r\n"
135 - strEmailBody = strEmailBody + "Registered Business City: " + strCompanyAddress + "\r\n"
136 - strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n"
137 - strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n"
138 - strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n"
139 - strEmailBody = strEmailBody + "Role: " + strRole + "\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"
140 140   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
141 - strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
146 + strEmailBody = strEmailBody + "Mobile phone: " + strMphone + "\r\n" + "\r\n"
142 142   strEmailBody = strEmailBody + "The request was made from IP address: " + strCreateIP
143 143   strEmailBody = strEmailBody + "\r\n" + "\r\n" + "Please click the below link to confirm your e-mail address:" + "\r\n"
144 144   strEmailBody = strEmailBody + "https://cecocert.com/bin/view/StartPage/X1100%20-%20Process%20e-mail%20confirmation/WebHome"
... ... @@ -149,11 +149,11 @@
149 149   xcontext.put("strEmailBody",strEmailBody)
150 150  // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID)
151 151   xcontext.put("strCompanyName",strCompanyName)
152 - xcontext.put("strCompanyName",strCompanyAddress)
153 - xcontext.put("strCompanyName",strCompanyCity)
154 - xcontext.put("strCompanyName",strCompanyPostcode)
155 - xcontext.put("strCompanyName",strCompanyProvince)
156 - xcontext.put("strCompanyName",strCompanyCountry)
157 + xcontext.put("strCompanyAddress",strCompanyAddress)
158 + xcontext.put("strCompanyCity",strCompanyCity)
159 + xcontext.put("strCompanyPostcode",strCompanyPostcode)
160 + xcontext.put("strCompanyProvince",strCompanyProvince)
161 + xcontext.put("strCompanyCountry",strCompanyCountry)
157 157   xcontext.put("strTitle",strTitle)
158 158   xcontext.put("strFirstname",strFirstname)
159 159   xcontext.put("strLastname",strLastname)
... ... @@ -168,11 +168,11 @@
168 168   }
169 169   if (strEditCommand == "Proceed"){
170 170   xcontext.put("strCompanyName",strCompanyName)
171 - xcontext.put("strCompanyName",strCompanyAddress)
172 - xcontext.put("strCompanyName",strCompanyCity)
173 - xcontext.put("strCompanyName",strCompanyPostcode)
174 - xcontext.put("strCompanyName",strCompanyProvince)
175 - xcontext.put("strCompanyName",strCompanyCountry)
176 + xcontext.put("strCompanyAddress",strCompanyAddress)
177 + xcontext.put("strCompanyCity",strCompanyCity)
178 + xcontext.put("strCompanyPostcode",strCompanyPostcode)
179 + xcontext.put("strCompanyProvince",strCompanyProvince)
180 + xcontext.put("strCompanyCountry",strCompanyCountry)
176 176   xcontext.put("strTitle",strTitle)
177 177   xcontext.put("strFirstname",strFirstname)
178 178   xcontext.put("strLastname",strLastname)
... ... @@ -187,11 +187,11 @@
187 187   }
188 188   if (strEditCommand == "Correct"){
189 189   xcontext.put("strCompanyName",strCompanyName)
190 - xcontext.put("strCompanyName",strCompanyAddress)
191 - xcontext.put("strCompanyName",strCompanyCity)
192 - xcontext.put("strCompanyName",strCompanyPostcode)
193 - xcontext.put("strCompanyName",strCompanyProvince)
194 - xcontext.put("strCompanyName",strCompanyCountry)
195 + xcontext.put("strCompanyAddress",strCompanyAddress)
196 + xcontext.put("strCompanyCity",strCompanyCity)
197 + xcontext.put("strCompanyPostcode",strCompanyPostcode)
198 + xcontext.put("strCompanyProvince",strCompanyProvince)
199 + xcontext.put("strCompanyCountry",strCompanyCountry)
195 195   xcontext.put("strTitle",strTitle)
196 196   xcontext.put("strFirstname",strFirstname)
197 197   xcontext.put("strLastname",strLastname)
... ... @@ -360,6 +360,33 @@
360 360   #if( $xcontext.strFormStatus == "DataCorrection" )
361 361   {{html wiki=false clean=false}}
362 362   <form action="" class="xformInline" method="post" name="User Registration Form">
368 +<head>
369 +<style>
370 +#cecTable {
371 + font-family: Arial, Helvetica, sans-serif;
372 + border-collapse: collapse;
373 + border-color: #007d84
374 + width: 100%;
375 +}
376 +
377 +#cecTable td, #cecTable th {
378 + border: 1px solid #007d84;
379 + padding: 8px;
380 +}
381 +
382 +#cecTable tr:nth-child(even){background-color: #d0d3d4;}
383 +
384 +#cecTable tr:hover {background-color: #ddd;}
385 +
386 +#cecTable th {
387 + padding-top: 12px;
388 + padding-bottom: 12px;
389 + text-align: left;
390 + background-color: #007d84;
391 + color: white;
392 +}
393 +</style>
394 +</head>
363 363   <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
364 364   <col style="width:30%">
365 365   <col style="width:70%">
... ... @@ -376,7 +376,7 @@
376 376   <tr>
377 377   <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
378 378   <td class="style1">
379 - <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">
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">
380 380   </select>
381 381   </td>
382 382   </tr>
... ... @@ -383,7 +383,7 @@
383 383   <tr>
384 384   <td align="left" class="style1">Registered Business Address - City:</td>
385 385   <td class="style1">
386 - <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" size="100">
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">
387 387   </select>
388 388   </td>
389 389   </tr>
... ... @@ -390,7 +390,7 @@
390 390   <tr>
391 391   <td align="left" class="style1">Registered Business Address - Postal Code:</td>
392 392   <td class="style1">
393 - <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" size="100">
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">
394 394   </select>
395 395   </td>
396 396   </tr>
... ... @@ -397,7 +397,7 @@
397 397   <tr>
398 398   <td align="left" class="style1">Registered Business Address - Province or State:</td>
399 399   <td class="style1">
400 - <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">
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">
401 401   </select>
402 402   </td>
403 403   </tr>
... ... @@ -404,7 +404,7 @@
404 404   <tr>
405 405   <td align="left" class="style1">Registered Business Address - Country:</td>
406 406   <td class="style1">
407 - <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" size="50">
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">
408 408   </select>
409 409   </td>
410 410   </tr>
... ... @@ -474,9 +474,39 @@
474 474  You have entered the following information to register to the CEC Scheme:
475 475   {{html wiki=false clean=false}}
476 476   <form action="" class="xformInline" method="post" name="User Registration Form">
477 - <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
509 +<head>
510 +<style>
511 +#cecTable {
512 + font-family: Arial, Helvetica, sans-serif;
513 + border-collapse: collapse;
514 + border-color: #007d84
515 + width: 100%;
516 +}
517 +
518 +#cecTable td, #cecTable th {
519 + border: 1px solid #007d84;
520 + padding: 8px;
521 +}
522 +
523 +#cecTable tr:nth-child(even){background-color: #d0d3d4;}
524 +
525 +#cecTable tr:hover {background-color: #ddd;}
526 +
527 +#cecTable th {
528 + padding-top: 12px;
529 + padding-bottom: 12px;
530 + text-align: left;
531 + background-color: #007d84;
532 + color: white;
533 +}
534 +</style>
535 +</head>
536 + <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
478 478   <col style="width:30%">
479 479   <col style="width:70%">
539 + <th colspan = "2">
540 + <b>Company Information</b>
541 + </th>
480 480   <tr>
481 481   <td align="left" class="style1">Company name:</td>
482 482   <td class="style1">
... ... @@ -485,6 +485,45 @@
485 485   </td>
486 486   </tr>
487 487   <tr>
550 + <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
551 + <td class="style1">
552 + <input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyAddress}" size="100">
553 + ${xcontext.strCompanyAddress}
554 + </td>
555 + </tr>
556 + <tr>
557 + <td align="left" class="style1">Registered Business Address - City:</td>
558 + <td class="style1">
559 + <input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyCity}" size="100">
560 + ${xcontext.strCompanyCity}
561 + </td>
562 + </tr>
563 + <tr>
564 + <td align="left" class="style1">Registered Business Address - Postal Code:</td>
565 + <td class="style1">
566 + <input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100">
567 + ${xcontext.strCompanyPostcode}
568 + </td>
569 + </tr>
570 + <tr>
571 + <td align="left" class="style1">Registered Business Address - Province or State:</td>
572 + <td class="style1">
573 + <input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100">
574 + ${xcontext.strCompanyProvince}
575 + </td>
576 + </tr>
577 + <tr>
578 + <td align="left" class="style1">Registered Business Address - Country:</td>
579 + <td class="style1">
580 + <input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50">
581 + ${xcontext.strCompanyCountry}
582 + </td>
583 + </tr>
584 + <th colspan = "2">
585 + <b>Your Contact Information</b>
586 + </th>
587 +
588 + <tr>
488 488   <td align="hidden" class="style1">Title:</td>
489 489   <td class="style1">
490 490   <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
© 2022 TruCert Assessment Services Inc.
V01-00