From 7ecf07fbecc37be7fe4e58a6532b096accc624d9 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Mon, 9 Sep 2013 02:20:57 +0200 Subject: 1208: Split long lines for better readability --- pages/wot/6.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'pages/wot') diff --git a/pages/wot/6.php b/pages/wot/6.php index ceb36e5..52bc7e7 100644 --- a/pages/wot/6.php +++ b/pages/wot/6.php @@ -55,13 +55,20 @@ $name = $fname." ".$mname." ".$lname." ".$suffix; //needed? $dob_date = explode( '-', $dob); - $dob_print = sprintf("%s-%s-%s (%d %s %d)", $dob_date[0], $dob_date[1], $dob_date[2], intval($dob_date[2], 10), $mnames[$dob_date[1]], intval($dob_date[0], 10)); + $dob_print = sprintf( + '%s-%s-%s (%d %s %d)', + $dob_date[0], $dob_date[1], $dob_date[2], + intval($dob_date[2], 10), $mnames[$dob_date[1]], intval($dob_date[0], 10) + ); $_SESSION['_config']['wothash'] = md5($name."-".$dob); require_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); 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)); - AssureTextLine(_("Name"),sprintf("%s %s %s %s %s", $fname, $mname, $lname, $suffix); + AssureTextLine(_("Name"), sprintf( + "%s %s %s %s", + $fname, $mname, $lname, $suffix + ); AssureTextLine(_("Date of Birth"),$dob_print); AssureMethodLine(_("Method"),$methods,''); AssureBoxLine("certify",sprintf(_("I certify that %s %s %s has appeared in person."), $fname, $mname, $lname),array_key_exists('certify',$_POST) && $_POST['certify'] == 1); -- cgit v1.2.1