summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-07-23 23:39:34 +0200
committerBenny Baumann <BenBE@geshi.org>2013-07-23 23:39:34 +0200
commit33bd853d0e7034f1ad0755dd717655b650ba541f (patch)
treed108a1d9a489ffad6e603f27c5908af37021141d /includes
parent5ee8783a5b5012d89ce3ea040a8ad5a14fb2dbbe (diff)
parentd4f46a86d354f1f434e0a6b2f16a4d5fef96b9fa (diff)
downloadcacert-devel-33bd853d0e7034f1ad0755dd717655b650ba541f.tar.gz
cacert-devel-33bd853d0e7034f1ad0755dd717655b650ba541f.tar.xz
cacert-devel-33bd853d0e7034f1ad0755dd717655b650ba541f.zip
Merge branch 'bug-1177' into bug-1137
Diffstat (limited to 'includes')
-rw-r--r--includes/notary.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index 32839fe..b8cdb1b 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -266,7 +266,7 @@
{
?>
<tr>
- <td class="DataTD" colspan="5"><strong><?=$points_txt?>:</strong></td>
+ <td<?=($support == "1")?' colspan="5"':' colspan="3"'?> class="DataTD"><strong><?=$points_txt?>:</strong></td>
<td class="DataTD"><?=$points?></td>
<td class="DataTD">&nbsp;</td>
<td class="DataTD"><strong><?=$experience_txt?>:</strong></td>
@@ -591,14 +591,14 @@
return $issue_points;
}
- function output_given_assurances($userid,$support)
+ function output_given_assurances($userid,$support=0)
{
output_assurances_header(_("Assurance Points You Issued"),$support);
output_given_assurances_content($userid,$points,$sum_experience,$support);
output_assurances_footer(_("Total Points Issued"),$points,_("Total Experience Points"),$sum_experience,$support);
}
- function output_received_assurances($userid,$support)
+ function output_received_assurances($userid,$support=0)
{
output_assurances_header(_("Your Assurance Points"),$support);
output_received_assurances_content($userid,$points,$sum_experience,$support);