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

[ljcom] r9373: 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-23 03:01:38 UTC (rev 9372)
+++ trunk/htdocs/error-page.bml	2010-08-23 06:02:14 UTC (rev 9373)
@@ -68,7 +68,7 @@
     $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.recent_entries', { aopts => "href='".$user->journal_base."'" } ) if $user && $user->statusvis eq 'V';
     push @links, LJ::Lang::ml('.errorpage.link.go_home',   { aopts => "href='$LJ::SITEROOT'" });
     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/'" });
@@ -87,7 +87,7 @@
     $title = LJ::Lang::ml('.errorpage.suspended_post.title');
     $description = LJ::Lang::ml('.errorpage.suspended_post.description.alien', { username => $user } );
     $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.recent_entries', { aopts => "href='".$user->journal_base."'" } ) if $user && $user->statusvis eq 'V';
     push @links, LJ::Lang::ml('.errorpage.link.go_home',   { aopts => "href='$LJ::SITEROOT'" });
     push @links, LJ::Lang::ml('.errorpage.suspend_post.link.faq', { aopts => "href='$LJ::SITEROOT/support/faqbrowse.bml?faqid=106'" });
     push @links, LJ::Lang::ml('.errorpage.not_found.link.site_map',  { aopts => "href='$LJ::SITEROOT/site/'" });
@@ -127,10 +127,10 @@
     $title = LJ::Lang::ml('.errorpage.private.title');
     $description = LJ::Lang::ml('.errorpage.private.description', { username => $user } );
     $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.recent_entries', { aopts => "href='".$user->journal_base."'" } ) if $user && $user->statusvis eq 'V';
     push @links, LJ::Lang::ml('.errorpage.link.go_home',   { aopts => "href='$LJ::SITEROOT'" });
     push @links, LJ::Lang::ml('.errorpage.private.link.faq', { aopts => "href='$LJ::SITEROOT/support/faqbrowse.bml?faqid=24'" });
-    push @links, LJ::Lang::ml('.errorpage.private.link.lastentries', { aopts => "href='".$user->journal_base."'" }) if $user;
+    #push @links, LJ::Lang::ml('.errorpage.private.link.lastentries', { aopts => "href='".$user->journal_base."'" }) if $user;
     push @links, LJ::Lang::ml('.errorpage.not_found.link.site_map',  { aopts => "href='$LJ::SITEROOT/site/'" });
     $ad_html = LJ::get_ads( { location => 'error_page.private', journalu => $remote } );
 } else {

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