Only show "last maintainer" warning to community admins.
Patch by denise.
diffs (12 lines):
diff -r 8c91bda1aac5 -r baea7ab6dbd5 htdocs/community/leave.bml
--- a/htdocs/community/leave.bml Thu Oct 22 15:51:46 2009 -0500
+++ b/htdocs/community/leave.bml Fri Oct 23 00:04:21 2009 -0500
@@ -62,7 +62,7 @@
} else {
# show a confirmation form
$body .= "<?h1 $ML{'.sure'} h1?>";
- $body .= "<p>" . BML::ml( '.label.lastmaintainer.deletedcomm' ) .
"</p>" if $cu->is_deleted;
+ $body .= "<?p $ML{'.label.lastmaintainer.deletedcomm'} p?>" if
$cu->is_deleted && $remote->can_manage( $cu );
$body .= "<?p ";
if ($watching && !$memberof) {
$body .= BML::ml('.label.buttontostopwatch', { commname => $ecname
});
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog