diff options
2 files changed, 9 insertions, 3 deletions
diff --git a/includes/ b/includes/
index 2264498..19f56a4 100644
--- a/includes/
+++ b/includes/
@@ -579,8 +579,10 @@ function AssureBoxLine($type,$text)
-function AssureMethodLine($text,$methods,$remark)
+function AssureMethodLine($text,$methods,$remark,$flag)
+ if ($flag = 1)
+ {
<td class="DataTD"><?=$text?></td>
@@ -596,6 +598,11 @@ function AssureMethodLine($text,$methods,$remark)
+ } else {
+ <input type="hidden" name="<?=$val?>" value="<?=$_POST['method']?>">
+ }
function AssureInboxLine($type,$field,$value,$description)
diff --git a/pages/wot/6.php b/pages/wot/6.php
index fe13f4f..c242280 100644
--- a/pages/wot/6.php
+++ b/pages/wot/6.php
@@ -54,8 +54,7 @@ function makecap()
AssureBoxLine("certify",sprintf(_("I certify that %s %s %s has appeared in person"), $fname, $mname, $lname));
AssureInboxLine("date",_("Date"),array_key_exists('date',$_SESSION['_config'])?$_SESSION['_config']['date']:"","<br/>"._("Only fill this in if you assured the person on a different day"));
- if($_SESSION['profile']['ttpadmin'] == 1)
- AssureMethodLine(_("Method"),$methods,_("Only tick the next box if the Assurance was face to face."));
+ AssureMethodLine(_("Method"),$methods,_("Only tick the next box if the Assurance was face to face."),$_SESSION['profile']['ttpadmin']);
AssureBoxLine("assertion",_("I believe that the assertion of identity I am making is correct, complete and verifiable. I have seen original documentation attesting to this identity. I accept that the CAcert Arbitrator may call upon me to provide evidence in any dispute, and I may be held responsible."));
AssureBoxLine("rules",_("I have read and understood the Assurance Policy and the Assurance Handbook and am making this Assurance subject to and in compliance with the policy and handbook."));
AssureTextLine(_("Policy"),"<a href=\"/policy/AssurancePolicy.php\" target=\"_NEW\">"._("Assurance Policy")."</a> - <a href=\"\" target=\"_NEW\">"._("Assurance Handbook")."</a>");