summaryrefslogtreecommitdiff
path: root/pages/wot
diff options
context:
space:
mode:
Diffstat (limited to 'pages/wot')
-rw-r--r--pages/wot/1.php2
-rw-r--r--pages/wot/12.php4
-rw-r--r--pages/wot/15.php2
-rw-r--r--pages/wot/6.php6
4 files changed, 4 insertions, 10 deletions
diff --git a/pages/wot/1.php b/pages/wot/1.php
index a45b5df..fa391a0 100644
--- a/pages/wot/1.php
+++ b/pages/wot/1.php
@@ -109,7 +109,7 @@
<? while($row = mysql_fetch_assoc($list)) { ?>
<tr>
<td class="DataTD" width="100"><nobr><?=$row['fname']?> <?=substr($row['lname'], 0, 1)?></nobr></td>
- <td class="DataTD"><?=maxpoints($row['id'])?></td>
+ <td class="DataTD"><?=max_points($row['id'])?></td>
<td class="DataTD"><?=$row['contactinfo']?></td>
<td class="DataTD"><a href="wot.php?id=9&amp;userid=<?=intval($row['id'])?>"><?=_("Email Me")?></a></td>
<td class="DataTD"><?=$row['assurer']?_("Yes"):("<font color=\"#ff0000\">"._("Not yet!")."</font>")?></td>
diff --git a/pages/wot/12.php b/pages/wot/12.php
index a0bbf50..85d986b 100644
--- a/pages/wot/12.php
+++ b/pages/wot/12.php
@@ -119,9 +119,7 @@ document.f.location.focus();
</tr>
<? while($row = mysql_fetch_assoc($res))
{
- $points = maxpoints($row['uid']);
- if($points > 35)
- $points = 35;
+ $points = max_points($row['uid']);
?>
<tr>
<td class="DataTD" width="100"><nobr><?=$row['name']?></nobr></td>
diff --git a/pages/wot/15.php b/pages/wot/15.php
index 8579588..0ad7fa2 100644
--- a/pages/wot/15.php
+++ b/pages/wot/15.php
@@ -16,8 +16,6 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
- include_once($_SESSION['_config']['filepath']."/includes/wot.inc.php");
-
$userid = intval($_SESSION['profile']['id']);
output_ranking($userid);
diff --git a/pages/wot/6.php b/pages/wot/6.php
index 28c1875..a27fccd 100644
--- a/pages/wot/6.php
+++ b/pages/wot/6.php
@@ -40,19 +40,17 @@
$name = $fname." ".$mname." ".$lname." ".$suffix;
$_SESSION['_config']['wothash'] = md5($name."-".$dob);
- include_once($_SESSION['_config']['filepath']."/includes/wot.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"),$name);
AssureTextLine(_("Date of Birth"),$dob." ("._("YYYY-MM-DD").")");
AssureBoxLine("certify",sprintf(_("I certify that %s %s %s has appeared in person"), $fname, $mname, $lname),array_key_exists('certify',$_POST) && $_POST['certify'] == 1);
AssureInboxLine("location",_("Location"),array_key_exists('location',$_SESSION['_config'])?$_SESSION['_config']['location']:"","");
AssureInboxLine("date",_("Date"),array_key_exists('date',$_SESSION['_config'])?$_SESSION['_config']['date']:date("Y-m-d"),"<br/>"._("Please adjust the date if you assured the person on a different day"));
- AssureMethodLine(_("Method"),$methods,_("Only tick the next box if the Assurance was face to face."));
+ AssureMethodLine(_("Method"),$methods,"");
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."),array_key_exists('assertion',$_POST) && $_POST['assertion'] == 1);
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."),array_key_exists('rules',$_POST) && $_POST['rules'] == 1);
AssureTextLine(_("Policy"),"<a href=\"/policy/AssurancePolicy.php\" target=\"_blank\">"._("Assurance Policy")."</a> - <a href=\"http://wiki.cacert.org/AssuranceHandbook2\" target=\"_blank\">"._("Assurance Handbook")."</a>");
- AssureInboxLine("points",_("Points"),"","<br />(Max. ".maxpoints().")");
+ AssureInboxLine("points",_("Points"),"","<br />(Max. ".max_points($_SESSION['profile']['id']).")");
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>"));
AssureFoot($id,_("I confirm this Assurance"));