Skip to Content.
Sympa Menu

cacert-devel - Patch request: Bug #1075

Subject: CAcert Code Development list.

List archive

Patch request: Bug #1075

Chronological Thread 
  • From: Michael Tänzer <michael.taenzer AT>
  • To: "critical-admin AT" <critical-admin AT>
  • Cc: cacert-devel AT, Ulrich Schröter CAce rt <ulrich AT>, Dirk Astrath <dirk.astrath AT>, Marcus Mängel <inopiae AT>, Martin Gummi <martin.gummi AT>
  • Subject: Patch request: Bug #1075
  • Date: Wed, 25 Jul 2012 02:16:52 +0200
  • Openpgp: id=9940BEF1

Hi folks,

We have a fix for

The fix was reviewed by Dirk Astrath (dastrath) and me (NEOatNHNG) and
tested by Ulrich Schröter (Uli60), Marcus Mängel (INOPIAE), Martin Gummi

Diff is attached. Please also run the locale makefile so that our
translators see the new strings (if present) on and new translations get imported into
the system.

Changed files:

Have a nice day,
Michael Tänzer

diff --git a/pages/wot/6.php b/pages/wot/6.php
index e648ed4..28c1875 100644
--- a/pages/wot/6.php
+++ b/pages/wot/6.php
@@ -17,10 +17,6 @@
 */ ?>
-function makecap()
           echo "Error: No user data found.";
@@ -44,8 +40,6 @@ function makecap()
 	$name = $fname." ".$mname." ".$lname." ".$suffix;
 	$_SESSION['_config']['wothash'] = md5($name."-".$dob);
-	$cap=makecap($fname,$mname,$lname,$suffix,$dob,$row['email'],$_SESSION['profile']['fname'],$_SESSION['profile']['mname'],$_SESSION['profile']['lname'],$_SESSION['profile']['suffix']);
 	AssureHead(_("Assurance Confirmation"),sprintf(_("Please check the following details match against what you witnessed when you met %s in person. You MUST NOT proceed unless you are sure the details are correct. You may be held responsible by the CAcert Arbitrator for any issues with this Assurance."), $fname));
@@ -61,6 +55,5 @@ function makecap()
 	AssureInboxLine("points",_("Points"),"","<br />(Max. ".maxpoints().")");
 	AssureCCABoxLine("CCAAgreed",sprintf(_("Check this box only if %s agreed to the <a href=\"/policy/CAcertCommunityAgreement.php\">CAcert Community Agreement</a>"),$fname));
 	AssureCCABoxLine("CCAAgree",_("Check this box only if YOU agree to the <a href=\"/policy/CAcertCommunityAgreement.php\">CAcert Community Agreement</a>"));
-	AssureTextLine(_("WoT Form"),"<a href=\"".$cap."\" target=\"_blank\">A4 - "._("WoT Form")."</a> <a href=\"".$cap."&amp;format=letter\" target=\"_blank\">US - "._("WoT Form")."</a>");
 	AssureFoot($id,_("I confirm this Assurance"));

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Archive powered by MHonArc 2.6.16.

Top of Page