From a98bf0e4514b9f42df34c66eceeaec0ccb542953 Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Sun, 2 Dec 2012 18:40:05 +0100 Subject: bug 888: fix for new ttp method "TTP-Assisted" --- includes/wot.inc.php | 2 ++ www/wot.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/wot.inc.php b/includes/wot.inc.php index edc442a..6563778 100644 --- a/includes/wot.inc.php +++ b/includes/wot.inc.php @@ -366,6 +366,8 @@ case 'Trusted Third Parties': // to be revoked in the future? limit to max 35 pts? case '': // to be revoked in the future? limit to max 50 pts? case 'Face to Face Meeting': // normal assurances, limit to 35/50 pts in the future? + case 'TTP-Assisted': // TTP assurances, limit to 35 + case 'TOPUP': // TOPUP to be delevoped in the future, limit to 30 break; default: // should never happen ... ;-) $points = 0; diff --git a/www/wot.php b/www/wot.php index c6c0568..a8506cb 100644 --- a/www/wot.php +++ b/www/wot.php @@ -293,7 +293,7 @@ $iecho= "c"; } else if($_SESSION['profile']['board'] == 1) { $query .= ",\n`method`='".mysql_escape_string(stripslashes($_POST['method']))."'"; } else if($_SESSION['profile']['ttpadmin'] == 1 && ($_POST['method'] == 'Trusted 3rd Parties' || $_POST['method'] == 'Trusted Third Parties')) { - $query .= ",\n`method`='Trusted Third Parties'"; + $query .= ",\n`method`='TTP-Assisted'"; } mysql_query($query); fix_assurer_flag($_SESSION['_config']['notarise']['id']); -- cgit v1.2.1 From a53a87fdb6624bcfece257f861f49a883ed24d2c Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Sun, 2 Dec 2012 23:15:43 +0100 Subject: bug 888: small change in includes/wot.inc.php --- includes/wot.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/wot.inc.php b/includes/wot.inc.php index 6563778..6b3bcc8 100644 --- a/includes/wot.inc.php +++ b/includes/wot.inc.php @@ -364,10 +364,10 @@ break; case 'Unknown': // to be revoked in the future? limit to max 50 pts? case 'Trusted Third Parties': // to be revoked in the future? limit to max 35 pts? - case '': // to be revoked in the future? limit to max 50 pts? - case 'Face to Face Meeting': // normal assurances, limit to 35/50 pts in the future? case 'TTP-Assisted': // TTP assurances, limit to 35 case 'TOPUP': // TOPUP to be delevoped in the future, limit to 30 + case '': // to be revoked in the future? limit to max 50 pts? + case 'Face to Face Meeting': // normal assurances, limit to 35/50 pts in the future? break; default: // should never happen ... ;-) $points = 0; -- cgit v1.2.1