Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r22563: LJSV-888 (Scrapbook userlog)

Committer: ailyin
LJSV-888 (Scrapbook userlog)
U   trunk/htdocs/admin/userlog.bml
Modified: trunk/htdocs/admin/userlog.bml
===================================================================
--- trunk/htdocs/admin/userlog.bml	2012-08-03 09:31:57 UTC (rev 22562)
+++ trunk/htdocs/admin/userlog.bml	2012-08-03 11:52:46 UTC (rev 22563)
@@ -75,7 +75,7 @@
 
         my $cmd = LJ::eurl("finduser $email");
         return qq{
-            <a href="$LJ::SITEROOT/admin/console?prefill=$cmd">$email</a>
+            <a href="$LJ::SITEROOT/admin/console/?prefill=$cmd">$email</a>
         };
     };
 
@@ -164,6 +164,15 @@
         } elsif ($row->{action} eq 'custom_ratings_unscreen') {
             my $u = LJ::load_userid($row->{actiontarget});
             $action = "Uncreened in customized rating " . LJ::ljuser($u) if $u;
+        } elsif ( $row->{'action'} eq 'photo_delete' ) {
+            $action = 'Deleted photo ' . $extra->{'id'} .
+                ' from album ' . $extra->{'album'};
+        } elsif ( $row->{'action'} eq 'album_delete' ) {
+            $action = 'Deleted album ' . $extra->{'id'} . ' with ' .
+                $extra->{'photos_count'} . ' photo(s)';
+        } elsif ( $row->{'action'} eq 'photo_tag_delete' ) {
+            $action = 'Deleted tag "' . $extra->{'id'} .
+                '" in the photo hosting';
         } else {
             $action = "Unknown action ($row->{action})";
         }

Tags: ailyin, andy, bml, livejournal
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