diff options
author | Michael Tänzer <neo@nhng.de> | 2012-05-07 23:36:56 +0200 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2012-05-07 23:36:56 +0200 |
commit | 7f66d27da25a092be5059a8749723216a0aad339 (patch) | |
tree | 63fe719c94b247515d3a04a43b5cb2043d0c7738 /scripts/cron/permissionreview.php | |
parent | aa129fc590ef57c3c21e3e449d87cf67f9f8d543 (diff) | |
download | cacert-devel-7f66d27da25a092be5059a8749723216a0aad339.tar.gz cacert-devel-7f66d27da25a092be5059a8749723216a0aad339.tar.xz cacert-devel-7f66d27da25a092be5059a8749723216a0aad339.zip |
bug 1003: Correct layout
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'scripts/cron/permissionreview.php')
-rwxr-xr-x | scripts/cron/permissionreview.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/cron/permissionreview.php b/scripts/cron/permissionreview.php index a33c9ca..c35787d 100755 --- a/scripts/cron/permissionreview.php +++ b/scripts/cron/permissionreview.php @@ -110,11 +110,12 @@ foreach ($flags as $flag => $flag_properties) { $message = <<<EOF Hello $admin[fname], -you get this message, because you are listed as $description on +you get this message, because you are listed as $flag_properties[name] on CAcert.org. Please review the following list of persons with the same privilege and report to the responsible team leader or board ($BOARD_PRIVATE) if you spot any errors. + EOF; foreach ($adminlist[$flag] as $colleague) { @@ -190,11 +191,12 @@ responsible for an up-to-date copy of access lists not directly recorded in the web application (critical admins, software assessors etc.) + EOF; foreach ($flags as $flag => $flag_properties) { if ($flag_properties[$key]) { - $message .= "List of $flag_properties[name]s:\n"; + $message .= "List of $flag_properties[name]s:\n\n"; foreach ($adminlist[$flag] as $colleague) { $message .= "$colleague[fname] $colleague[lname] $colleague[email]\n"; } @@ -203,9 +205,10 @@ EOF; $message .= <<<EOF + Best Regards, CAcert Support EOF; - + sendmail($values['email'], "Permissions Review", $message, 'support@cacert.org'); } |