Update from Dirk

This commit is contained in:
Philipp Dunkel 2009-06-23 20:44:25 +00:00
parent ec76acc02b
commit babc43c014

View file

@ -148,7 +148,7 @@
$this->SetFont('SJIS','',9); $this->SetFont('SJIS','',9);
$this->MultiCell($this->w - 29, 3, recode($_SESSION['_config']['recode'], _("I agree to the CAcert Community Agreement.")." ( http://www.cacert.org/policy/CAcertCommunityAgreement.php )")); $this->MultiCell($this->w - 29, 3, recode($_SESSION['_config']['recode'], _("I agree to the CAcert Community Agreement.")." ( http://www.cacert.org/policy/CAcertCommunityAgreement.php )"));
// new da end // new da end
$this->SetXY(17, $top + 55); //45->55 $this->SetXY(13, $top + 55); //45->55
$this->Write(0, recode($_SESSION['_config']['recode'], _("Applicant's signature")).": __________________________________"); $this->Write(0, recode($_SESSION['_config']['recode'], _("Applicant's signature")).": __________________________________");
$this->SetXY(135, $top + 55);//45->55 $this->SetXY(135, $top + 55);//45->55
$this->Write(0, recode($_SESSION['_config']['recode'], _("Date (YYYY-MM-DD)")).": "); $this->Write(0, recode($_SESSION['_config']['recode'], _("Date (YYYY-MM-DD)")).": ");
@ -173,23 +173,25 @@
$this->SetFont("Arial", "", "9"); $this->SetFont("Arial", "", "9");
if($_SESSION['_config']['language'] == "ja_JP") if($_SESSION['_config']['language'] == "ja_JP")
$this->SetFont('SJIS','',9); $this->SetFont('SJIS','',9);
$this->SetXY(17, $top + 15); $this->SetXY(13, $top + 15);
if($assurer) if($assurer)
{ {
$this->Write(0, recode($_SESSION['_config']['recode'], _("Assurer's Name")).": "); $this->Write(0, recode($_SESSION['_config']['recode'], _("Assurer's Name")).": ");
$this->SetFont("Arial", "U", "10"); $this->SetFont("Arial", "", "10");
if($_SESSION['_config']['language'] == "ja_JP") if($_SESSION['_config']['language'] == "ja_JP")
$this->SetFont('SJIS','U',10); $this->SetFont('SJIS','U',10);
// $this->MultiCell($this->w - 70, 2, recode($_SESSION['_config']['recode'], $assurer));
$this->Write(0, str_pad($assurer, 50, " ")); $this->Write(0, str_pad($assurer, 50, " "));
} else { } else {
$this->SetFont("Arial", "U", "10");
$this->Write(0, recode($_SESSION['_config']['recode'], _("Assurer's Name")).": ________________________________________________________________"); $this->Write(0, recode($_SESSION['_config']['recode'], _("Assurer's Name")).": ________________________________________________________________");
} }
$this->SetFont("Arial", "", "9"); $this->SetFont("Arial", "", "9");
if($_SESSION['_config']['language'] == "ja_JP") if($_SESSION['_config']['language'] == "ja_JP")
$this->SetFont('SJIS','',9); $this->SetFont('SJIS','',9);
$this->SetXY(17, $top + 22); $this->SetXY(13, $top + 22);
$this->MultiCell($this->w - 34, 3, recode($_SESSION['_config']['recode'], _("Photo ID Shown: (ID types, not numbers. eg Drivers license, Passport)"))); $this->MultiCell($this->w - 34, 3, recode($_SESSION['_config']['recode'], _("Photo ID Shown: (ID types, not numbers. eg Drivers license, Passport)")));
$this->SetXY(17, $top + 30); $this->SetXY(13, $top + 30);
if($document1 == "") if($document1 == "")
{ {
$this->Write(0, "1. __________________________________________________________________"); $this->Write(0, "1. __________________________________________________________________");
@ -203,7 +205,7 @@
$this->SetFont("Arial", "", "9"); $this->SetFont("Arial", "", "9");
if($_SESSION['_config']['language'] == "ja_JP") if($_SESSION['_config']['language'] == "ja_JP")
$this->SetFont('SJIS','',9); $this->SetFont('SJIS','',9);
$this->SetXY(17, $top + 35); $this->SetXY(13, $top + 35);
if($document2 == "") if($document2 == "")
{ {
$this->Write(0, "2. __________________________________________________________________"); $this->Write(0, "2. __________________________________________________________________");
@ -217,7 +219,7 @@
$this->SetFont("Arial", "", "9"); $this->SetFont("Arial", "", "9");
if($_SESSION['_config']['language'] == "ja_JP") if($_SESSION['_config']['language'] == "ja_JP")
$this->SetFont('SJIS','',9); $this->SetFont('SJIS','',9);
$this->SetXY(17, $top + 45); $this->SetXY(13, $top + 45);
$this->Write(0, recode($_SESSION['_config']['recode'], _("Location of Face-to-face Meeting")).": "); $this->Write(0, recode($_SESSION['_config']['recode'], _("Location of Face-to-face Meeting")).": ");
if($location == "") if($location == "")
{ {
@ -231,23 +233,25 @@
$this->SetFont("Arial", "", "9"); $this->SetFont("Arial", "", "9");
if($_SESSION['_config']['language'] == "ja_JP") if($_SESSION['_config']['language'] == "ja_JP")
$this->SetFont('SJIS','',9); $this->SetFont('SJIS','',9);
$this->SetXY(17, $top + 50); $this->SetXY(13, $top + 50);
$this->Write(0, recode($_SESSION['_config']['recode'], _("Points Allocated")).": ______________");
if($maxpoints > 0) if($maxpoints > 0)
{ {
$this->SetXY(17, $top + 50);
$this->Write(0, recode($_SESSION['_config']['recode'], _("Maximum Points")).": ".$maxpoints); $this->Write(0, recode($_SESSION['_config']['recode'], _("Maximum Points")).": ".$maxpoints);
} else {
$this->Write(0, recode($_SESSION['_config']['recode'], _("Points Allocated")).": ______________");
} }
$this->SetFont("Arial", "", "9"); $this->SetFont("Arial", "", "9");
if($_SESSION['_config']['language'] == "ja_JP") if($_SESSION['_config']['language'] == "ja_JP")
$this->SetFont('SJIS','',9); $this->SetFont('SJIS','',9);
$this->SetXY(17, $top + 56); $this->SetXY(13, $top + 54);
$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 - 33, 3, recode($_SESSION['_config']['recode'], _("I, the Assurer, hereby confirm that I have verified the Member according to CAcert Assurance Policy.")));
$this->SetXY(13, $top + 59);
$this->MultiCell($this->w - 33, 3, recode($_SESSION['_config']['recode'], _("I am a CAcert Community Member, have passed the Assurance Challenge, and have been assured with at least 100 Assurance Points.")));
$this->SetFont("Arial", "", "9"); $this->SetFont("Arial", "", "9");
if($_SESSION['_config']['language'] == "ja_JP") if($_SESSION['_config']['language'] == "ja_JP")
$this->SetFont('SJIS','',9); $this->SetFont('SJIS','',9);
$this->SetXY(17, $top + 74); //22->67 $this->SetXY(13, $top + 74); //22->67
$this->Write(0, recode($_SESSION['_config']['recode'], _("Assurer's signature")).": __________________________________"); $this->Write(0, recode($_SESSION['_config']['recode'], _("Assurer's signature")).": __________________________________");
$this->SetXY(135, $top + 74); //22->67 $this->SetXY(135, $top + 74); //22->67
$this->Write(0, recode($_SESSION['_config']['recode'], _("Date (YYYY-MM-DD)")).": "); $this->Write(0, recode($_SESSION['_config']['recode'], _("Date (YYYY-MM-DD)")).": ");