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

[ljcom] r11105: LJSUP-10062: Incorrect page for nonexist...

Committer: gprochaev
LJSUP-10062: Incorrect page for nonexistent image or album

U   trunk/cgi-bin/LJ/Widget/ErrorPage.pm
Modified: trunk/cgi-bin/LJ/Widget/ErrorPage.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/ErrorPage.pm	2011-10-18 09:31:20 UTC (rev 11104)
+++ trunk/cgi-bin/LJ/Widget/ErrorPage.pm	2011-10-18 10:13:09 UTC (rev 11105)
@@ -88,6 +88,15 @@
         };
     },
 
+    'e404_ljphoto' => sub {
+        return {
+            'title'       => LJ::Lang::ml('.errorpage.not_found.title'),
+            'description' => LJ::Lang::ml('.errorpage.not_found.description'),
+            'links'       => [qw( photos recent home faq sitemap status )],
+            'ads_location' => 'error_page.not_found',
+        };
+    },
+
     'baduser' => sub {
         my %args             = @_;
         my $journal_username = $args{'journal_username'};

Tags: gprochaev, ljcom, 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