Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r21964: LJSUP-10266: Mass mailing feature

Committer: amyshkin
LJSUP-10266: Mass mailing feature
U   trunk/cgi-bin/communitylib.pl
Modified: trunk/cgi-bin/communitylib.pl
===================================================================
--- trunk/cgi-bin/communitylib.pl	2012-05-15 13:26:43 UTC (rev 21963)
+++ trunk/cgi-bin/communitylib.pl	2012-05-15 13:27:29 UTC (rev 21964)
@@ -941,12 +941,17 @@
             "<strong>" . LJ::Lang::ml('/community/manage.bml.commlist.actmembers2') . "</strong>" :
             "<a href='$LJ::SITEROOT/community/members.bml?authas=$username'>" . LJ::Lang::ml('/community/manage.bml.commlist.actmembers2') . "</a>",
     );
+
     if (LJ::SUP->is_sup_enabled($comm)) {
         push @links, $page eq "wishlist" ?
             "<strong>" . LJ::Lang::ml('/community/manage.bml.commlist.wishlist') . "</strong>" :
             "<a href='".$comm->wishlist_url."'>" . LJ::Lang::ml('/community/manage.bml.commlist.wishlist') . "</a>";
     }
 
+    push @links, $page eq 'massmailing'
+        ? '<strong>' . LJ::Lang::ml('/community/manage.bml.commlist.massmailing') . '</strong>'
+        : "<a href='$LJ::SITEROOT/community/mailing.bml?authas=$username'>" . LJ::Lang::ml('/community/manage.bml.commlist.massmailing') . "</a>";
+
     my $ret .= "<strong>" . LJ::Lang::ml('/community/manage.bml.managelinks', { user => $comm->ljuser_display }) . "</strong> ";
     $ret .= join(" | ", @links);
 

Tags: amyshkin, livejournal, pl, zilogic
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments