wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r17333: LJSUP-6763

Committer: gprochaev
LJSUP-6763

U   trunk/cgi-bin/LJ/Event/CommunityJoinReject.pm
U   trunk/htdocs/community/pending.bml
Modified: trunk/cgi-bin/LJ/Event/CommunityJoinReject.pm
===================================================================
--- trunk/cgi-bin/LJ/Event/CommunityJoinReject.pm	2010-09-10 04:26:37 UTC (rev 17332)
+++ trunk/cgi-bin/LJ/Event/CommunityJoinReject.pm	2010-09-10 04:30:26 UTC (rev 17333)
@@ -127,7 +127,7 @@
     if ($cu->is_community && $mt->can_manage ($cu)) {
         my $rej_user = LJ::load_userid($self->{'args'}[2]);
         my $lang    = $mt->prop('browselang');
-        return LJ::Lang::get_text($lang, 'esn.comm_join_reject.maint.email_subject', undef, { 'username' => $rej_user->{user}, 'community' => $cu->{user} });
+        return LJ::Lang::get_text($lang, 'esn.comm_join_reject.maint.email_subject', undef, { 'username' => $rej_user->{name}, 'community' => $cu->{user} });
     } else {
         my $lang    = $u->prop('browselang');
         return LJ::Lang::get_text($lang, 'esn.comm_join_reject.email_subject', undef, { 'community' => $cu->{user} });

Modified: trunk/htdocs/community/pending.bml
===================================================================
--- trunk/htdocs/community/pending.bml	2010-09-10 04:26:37 UTC (rev 17332)
+++ trunk/htdocs/community/pending.bml	2010-09-10 04:30:26 UTC (rev 17333)
@@ -95,7 +95,7 @@
             } else {
                 $ret .= "<form method='post' action='pending.bml?authas=$cname'>\n";
                 $ret .= LJ::form_auth();
-                $ret .= '<ul class="b-pending-users"><li>' . join (",</li><li>", map { "<span><a href='" . $_->journal_base . "' target='_blank'>" . $_->{user} . "</a><i id=\"reject_user_id_".$_->{userid}."\" class='i-pending-close' title='" . $ML{'.button.remove'} . "'></i></span>" } @to_show) . "</li></ul>\n";
+                $ret .= '<ul class="b-pending-users"><li>' . join (",</li><li>", map { "<span><a href='" . $_->journal_base . "' target='_blank'>" . $_->{name} . "</a><i id=\"reject_user_id_".$_->{userid}."\" class='i-pending-close' title='" . $ML{'.button.remove'} . "'></i></span>" } @to_show) . "</li></ul>\n";
                 $ret .= LJ::html_hidden('ids', join(',', map { $_->{'userid'} } @to_show)) . "\n";
                 $ret .= "<textarea name='reason' rows='7' cols='50' class='b-pending-reason' placeholder='".$ML{'.reason.default.text'}."'></textarea>\n";
                 $ret .= LJ::html_hidden('reject_done', 1);

Tags: bml, livejournal, pm, wisest-owl
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