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

[ljcom] r9372: LJSUP-6532. Move 'recent entries' link a...

Committer: gprochaev
LJSUP-6532. Move 'recent entries' link at first place

U   trunk/htdocs/error-page.bml
Modified: trunk/htdocs/error-page.bml
===================================================================
--- trunk/htdocs/error-page.bml	2010-08-23 02:42:15 UTC (rev 9371)
+++ trunk/htdocs/error-page.bml	2010-08-23 03:01:38 UTC (rev 9372)
@@ -27,7 +27,6 @@
 my $ret = '';
 my ($frank_img, $title, $description, @links, $ad_html);
 my $links_title = LJ::Lang::ml('.errorpage.links');
-push @links, LJ::Lang::ml('.errorpage.link.go_home',   { aopts => "href='$LJ::SITEROOT'" });
 
 ## try to decide journal's user
 my $host = LJ::Request->header_in("Host");
@@ -70,6 +69,7 @@
     $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.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/'" });
     push @links, LJ::Lang::ml('.errorpage.not_found.link.lj_status', { aopts => "href='http://status.livejournal.org/'" });
@@ -78,6 +78,7 @@
     $frank_img = "/frank-404.png";
     $title = LJ::Lang::ml('.errorpage.baduser.title');
     $description = LJ::Lang::ml('.errorpage.baduser.description', { username => $user } );
+    push @links, LJ::Lang::ml('.errorpage.link.go_home',   { aopts => "href='$LJ::SITEROOT'" });
     push @links, LJ::Lang::ml('.errorpage.baduser.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/'" });
     $ad_html = LJ::get_ads( { location => 'error_page.baduser', journalu => $remote } );
@@ -87,6 +88,7 @@
     $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.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/'" });
     $ad_html = LJ::get_ads( { location => 'error_page.suspended', journalu => $remote } );
@@ -97,6 +99,7 @@
     $description = LJ::u_equals($remote, $user)
                     ? LJ::Lang::ml('.errorpage.suspended.description.owner', { username => $user } )
                     : LJ::Lang::ml('.errorpage.suspended.description.alien', { username => $user } );
+    push @links, LJ::Lang::ml('.errorpage.link.go_home',   { aopts => "href='$LJ::SITEROOT'" });
     push @links, LJ::Lang::ml('.errorpage.suspend.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/'" });
     $ad_html = LJ::get_ads( { location => 'error_page.suspended', journalu => $remote } );
@@ -107,6 +110,7 @@
     $description = LJ::u_equals($remote, $user)
                     ? LJ::Lang::ml('.errorpage.deleted.description.owner', { ndays => $LJ::DAYS_BEFORE_EXPUNGE, aopts => "href='$LJ::SITEROOT/accountstatus.bml?authas=$user->{user}'"} )
                     : LJ::Lang::ml('.errorpage.deleted.description.alien', { ndays => $LJ::DAYS_BEFORE_EXPUNGE, aopts => "href='$LJ::SITEROOT/manage/subscriptions/user.bml?journal=$user->{user}'" } );
+    push @links, LJ::Lang::ml('.errorpage.link.go_home',   { aopts => "href='$LJ::SITEROOT'" });
     push @links, LJ::Lang::ml('.errorpage.deleted.link.faq', { aopts => "href='$LJ::SITEROOT/support/faqbrowse.bml?faqid=16'" });
     push @links, LJ::Lang::ml('.errorpage.not_found.link.site_map',  { aopts => "href='$LJ::SITEROOT/site/'" });
     $ad_html = LJ::get_ads( { location => 'error_page.deleted', journalu => $remote } );
@@ -114,6 +118,7 @@
     $frank_img = "/frank-404.png";
     $title = LJ::Lang::ml('.errorpage.expunged.title');
     $description = LJ::Lang::ml('.errorpage.expunged.description', { username => $user, aopts => "href='$LJ::SITEROOT/shop/renameaccount.bml'" } );
+    push @links, LJ::Lang::ml('.errorpage.link.go_home',   { aopts => "href='$LJ::SITEROOT'" });
     push @links, LJ::Lang::ml('.errorpage.expunged.link.faq', { aopts => "href='$LJ::SITEROOT/support/faqbrowse.bml?faqid=16'" });
     push @links, LJ::Lang::ml('.errorpage.not_found.link.site_map',  { aopts => "href='$LJ::SITEROOT/site/'" });
     $ad_html = LJ::get_ads( { location => 'error_page.expunged', journalu => $remote } );
@@ -123,6 +128,7 @@
     $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.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.not_found.link.site_map',  { aopts => "href='$LJ::SITEROOT/site/'" });
@@ -131,6 +137,7 @@
     $frank_img = "/frank-404.png";
     $title = LJ::Lang::ml('.errorpage.unhandled.title');
     $description = LJ::Lang::ml('.errorpage.unhandled.description');
+    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/'" });
 }

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