alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r20103: LJSUP-9812: there is link to Mark as Spa...

Committer: afedorov
LJSUP-9812: there is link to Mark as Spam in Entries&Comments

U   trunk/cgi-bin/LJ/Widget/InboxFolder.pm
Modified: trunk/cgi-bin/LJ/Widget/InboxFolder.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/InboxFolder.pm	2011-09-21 08:52:21 UTC (rev 20102)
+++ trunk/cgi-bin/LJ/Widget/InboxFolder.pm	2011-09-22 03:11:31 UTC (rev 20103)
@@ -115,9 +115,9 @@
                                 <input type="button" id="Page_Next_$sfx" value="$BML::ML{'.btn.next'}" $next_disabled />
                             </span>
                             <input type="submit" name="markRead_$sfx" value="$BML::ML{'.btn.read'}" $disabled id="${name}_MarkRead_$sfx" />
-                            <input type="submit" name="markUnread_$sfx" value="$BML::ML{'.btn.unread'}" id="${name}_MarkUnread_$sfx" />
-                            <input type="submit" name="spam_$sfx" value="$BML::ML{'.btn.spam'}" id="${name}_Spam_$sfx" />
-                            <input type="submit" name="delete_$sfx" value="$BML::ML{'.btn.delete'}" id="${name}_Delete_$sfx" />
+                            <input type="submit" name="markUnread_$sfx" value="$BML::ML{'.btn.unread'}" id="${name}_MarkUnread_$sfx" /> } .
+                            ( ( $view eq 'all' || $view eq 'usermsg_recvd' ) ? qq { <input type="submit" name="spam_$sfx" value="$BML::ML{'.btn.spam'}" id="${name}_Spam_$sfx" /> } : '' ) .
+                            qq { <input type="submit" name="delete_$sfx" value="$BML::ML{'.btn.delete'}" id="${name}_Delete_$sfx" />
                         </td>
                 </tr>
             };

Tags: livejournal, pm, red_alf
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