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

[ljcom] r9371: LJSUP-6532

Committer: gprochaev
LJSUP-6532

U   trunk/htdocs/error-page.bml
Modified: trunk/htdocs/error-page.bml
===================================================================
--- trunk/htdocs/error-page.bml	2010-08-20 10:21:17 UTC (rev 9370)
+++ trunk/htdocs/error-page.bml	2010-08-23 02:42:15 UTC (rev 9371)
@@ -68,6 +68,8 @@
     $frank_img = "/frank-404.png";
     $title = LJ::Lang::ml('.errorpage.not_found.title');
     $description = LJ::Lang::ml('.errorpage.not_found.description');
+    $user = LJ::load_user ($user);
+    push @links, LJ::Lang::ml('.errorpage.recent_entries', { aopts => "href='".$user->journal_base."'" } ) if $user;
     push @links, LJ::Lang::ml('.errorpage.not_found.link.faq',       { aopts => "href='$LJ::SITEROOT/support/faq.bml'" });
     push @links, LJ::Lang::ml('.errorpage.not_found.link.site_map',  { aopts => "href='$LJ::SITEROOT/site/'" });
     push @links, LJ::Lang::ml('.errorpage.not_found.link.lj_status', { aopts => "href='http://status.livejournal.org/'" });

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