From e981df426bd2ad973cb379a53402b92fe6ffeb1c Mon Sep 17 00:00:00 2001 From: Philipp Dunkel Date: Mon, 1 Jun 2009 23:18:59 +0000 Subject: [PATCH] Removed old codex --- www/cap.php | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/www/cap.php b/www/cap.php index b618eca..fe3d251 100644 --- a/www/cap.php +++ b/www/cap.php @@ -184,24 +184,6 @@ } else { $this->Write(0, recode($_SESSION['_config']['recode'], _("Assurer's Name")).": ________________________________________________________________"); } -//moved down -// $this->SetFont("Arial", "", "9"); -// if($_SESSION['_config']['language'] == "ja_JP") -// $this->SetFont('SJIS','',9); -// $this->SetXY(17, $top + 22); -// $this->Write(0, recode($_SESSION['_config']['recode'], _("Assurer's signature")).": __________________________________"); -// $this->SetXY(135, $top + 22); -// $this->Write(0, recode($_SESSION['_config']['recode'], _("Date (YYYY-MM-DD)")).": "); -// if($date == "") -// { -// $this->Write(0, "20___-___-___"); -// } else { -// $this->SetFont("Arial", "U", "10"); -// if($_SESSION['_config']['language'] == "ja_JP") -// $this->SetFont('SJIS','U',10); -// $this->Write(0, str_pad($date, 13, " ")); -// } -// end $this->SetFont("Arial", "", "9"); if($_SESSION['_config']['language'] == "ja_JP") $this->SetFont('SJIS','',9); @@ -256,13 +238,11 @@ $this->SetXY(17, $top + 50); $this->Write(0, recode($_SESSION['_config']['recode'], _("Maximum Points")).": ".$maxpoints); } -//from above $this->SetFont("Arial", "", "9"); if($_SESSION['_config']['language'] == "ja_JP") $this->SetFont('SJIS','',9); - $this->SetXY(17, $top + 57); + $this->SetXY(17, $top + 56); $this->MultiCell($this->w - 33, 3, recode($_SESSION['_config']['recode'], _("I, the Assurer, hereby confirm that I have verified the Member according to CAcert Assurance Policy.")."\n"._("I am a CAcert Community Member, have passed the Assurance Challenge, and have been assured with at least 100 Assurance Points."))); -// $this->MultiCell($this->w - 29, 3, recode($_SESSION['_config']['recode'], _("I have read and agree to the CAcert Community Agreement")."( http://www.cacert.org/policy/CAcertCommunityAgreement.php )")); $this->SetFont("Arial", "", "9"); if($_SESSION['_config']['language'] == "ja_JP") @@ -291,8 +271,6 @@ $maxpoints = array_key_exists('maxpoints',$_REQUEST)?intval($_GET['maxpoints']):0; if($maxpoints < 0) $maxpoints = 0; -// if($maxpoints == 0) -// $maxpoints = intval(maxpoints()); $pdf = new PDF('P', 'mm', $format); if($_SESSION['_config']['language'] == "ja_JP")