summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authordirk <beliebige_email_adresse@fidocon.de>2011-10-18 23:26:19 +0200
committerdirk <beliebige_email_adresse@fidocon.de>2011-10-18 23:26:19 +0200
commit5006e53c624eb0723833704c0769cea4badfba25 (patch)
treeb721a20108887457709c5989cf4bc2939e29568c /includes
parentd151f600b5601e9ca84b18d360a1aebbf4a7d0f7 (diff)
downloadcacert-devel-5006e53c624eb0723833704c0769cea4badfba25.tar.gz
cacert-devel-5006e53c624eb0723833704c0769cea4badfba25.tar.xz
cacert-devel-5006e53c624eb0723833704c0769cea4badfba25.zip
bug 827 restriced yellow marker <2006-09-1
Diffstat (limited to 'includes')
-rw-r--r--includes/wot.inc.php15
1 files changed, 9 insertions, 6 deletions
diff --git a/includes/wot.inc.php b/includes/wot.inc.php
index 9cc100d..497c569 100644
--- a/includes/wot.inc.php
+++ b/includes/wot.inc.php
@@ -228,7 +228,7 @@
<?
}
- function output_assurances_row($assuranceid,$date,$name,$awarded,$points,$location,$method,$experience)
+ function output_assurances_row($assuranceid,$date,$when,$name,$awarded,$points,$location,$method,$experience)
{
$tdstyle="";
@@ -239,9 +239,12 @@
{
if ($awarded == "0")
{
- $tdstyle="style='background-color: #ffff80'";
- $emopen="<em>";
- $emclose="</em>";
+ if ($when < "2009-09-01")
+ {
+ $tdstyle="style='background-color: #ffff80'";
+ $emopen="<em>";
+ $emclose="</em>";
+ }
}
}
@@ -307,7 +310,7 @@
$fromuser = get_user (intval($row['to']));
calc_experience ($row,$points,$experience,$sum_experience);
$name = show_user_link ($fromuser['fname']." ".$fromuser['lname'],intval($row['to']));
- output_assurances_row (intval($row['id']),$row['date'],$name,intval($row['awarded']),intval($row['points']),$row['location'],$row['method']==""?"":_(sprintf("%s", $row['method'])),$experience);
+ output_assurances_row (intval($row['id']),$row['date'],$row['when'],$name,intval($row['awarded']),intval($row['points']),$row['location'],$row['method']==""?"":_(sprintf("%s", $row['method'])),$experience);
}
}
@@ -323,7 +326,7 @@
$fromuser = get_user (intval($row['from']));
calc_assurances ($row,$points,$experience,$sum_experience,$awarded);
$name = show_user_link ($fromuser['fname']." ".$fromuser['lname'],intval($row['from']));
- output_assurances_row (intval($row['id']),$row['date'],$name,$awarded,intval($row['points']),$row['location'],$row['method']==""?"":_(sprintf("%s", $row['method'])),$experience);
+ output_assurances_row (intval($row['id']),$row['date'],$row['when'],$name,$awarded,intval($row['points']),$row['location'],$row['method']==""?"":_(sprintf("%s", $row['method'])),$experience);
}
}