summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-01-15 01:03:11 +0100
committerMichael Tänzer <neo@nhng.de>2014-01-15 01:03:11 +0100
commitbc5cb72198019f4b27aa8e11b250c65cc8ca5717 (patch)
tree2970ddbd2bfcb5caf8224377ea203f1ccaf7ff1d /www
parent41e6ea88f5a2a6ac374f26f2239f87e1d7164255 (diff)
parent1cbbc32a0b73db83460cf947228bb12ef339ac5a (diff)
downloadcacert-devel-bc5cb72198019f4b27aa8e11b250c65cc8ca5717.tar.gz
cacert-devel-bc5cb72198019f4b27aa8e11b250c65cc8ca5717.tar.xz
cacert-devel-bc5cb72198019f4b27aa8e11b250c65cc8ca5717.zip
Merge remote-tracking branch 'origin/bug-1137' into release
Diffstat (limited to 'www')
-rw-r--r--www/wot.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/www/wot.php b/www/wot.php
index 8395a58..7200517 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -371,7 +371,8 @@ $iecho= "c";
`when`=NOW()";
//record active acceptance by Assurer
if (check_date_format(trim($_REQUEST['date']),2010)) {
- write_user_agreement($_SESSION['profile']['id'], "CCA", "Assurance", "Assurer", 1, $_SESSION['_config']['notarise']['id']);
+ write_user_agreement($_SESSION['profile']['id'], "CCA", "assurance", "Assuring", 1, $_SESSION['_config']['notarise']['id']);
+ write_user_agreement($_SESSION['_config']['notarise']['id'], "CCA", "assurance", "Being assured", 0, $_SESSION['profile']['id']);
}
if($_SESSION['profile']['ttpadmin'] == 1 && ($_POST['method'] == 'Trusted 3rd Parties' || $_POST['method'] == 'Trusted Third Parties')) {
$query .= ",\n`method`='TTP-Assisted'";
@@ -379,10 +380,6 @@ $iecho= "c";
mysql_query($query);
fix_assurer_flag($_SESSION['_config']['notarise']['id']);
include_once("../includes/notary.inc.php");
-/*to be activated after CCA accept option is implemented in form
- write_user_agreement($_SESSION['profile']['id'], "CCA", "assurance", "Assuring", 1, $_SESSION['_config']['notarise']['id']);}*/
-/* to be activated after the CCA recording is announced
- write_user_agreement($_SESSION['_config']['notarise']['id'], "CCA", "assurance", "Being assured", 0, $_SESSION['profile']['id']); */
if($_SESSION['profile']['points'] < 150)
{