madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20876: LJSV-1722: Current subfolder class appen...

Committer: sbelyaev
LJSV-1722: Current subfolder class appends to "Refresh" link (inbox)
U   trunk/htdocs/inbox/index.bml
Modified: trunk/htdocs/inbox/index.bml
===================================================================
--- trunk/htdocs/inbox/index.bml	2011-12-30 10:10:33 UTC (rev 20875)
+++ trunk/htdocs/inbox/index.bml	2012-01-10 08:04:30 UTC (rev 20876)
@@ -130,9 +130,14 @@
 
     $body .= LJ::error_list(@errors) if (@errors);
 
+    my $selected_inbox = "";
+    if ($view) {
+        $selected_inbox = "view=$view&";
+    }
+    
     $body .= qq{
     <div class="inbox_newitems pkg">
-        <span class="esnlinks"><a href="$LJ::SITEROOT/inbox/?page=$page" id="RefreshLink"><?_ml inbox.refresh _ml?></a> | <a href="$LJ::SITEROOT/manage/subscriptions/"><?_ml inbox.manage_settings _ml?></a></span>
+        <span class="esnlinks"><a href="$LJ::SITEROOT/inbox/?${selected_inbox}page=$page" id="RefreshLink"><?_ml inbox.refresh _ml?></a> | <a href="$LJ::SITEROOT/manage/subscriptions/"><?_ml inbox.manage_settings _ml?></a></span>
     </div> };
 
     # Inbox Nav

Tags: bml, livejournal, madeon, sbelyaev
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