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

[ljcom] r10038: LJSUP-7908. Link to mobile.

Committer: gprochaev
LJSUP-7908. Link to mobile.

U   trunk/cgi-bin/bml/scheme/lanzelot.look
Modified: trunk/cgi-bin/bml/scheme/lanzelot.look
===================================================================
--- trunk/cgi-bin/bml/scheme/lanzelot.look	2011-02-15 04:50:56 UTC (rev 10037)
+++ trunk/cgi-bin/bml/scheme/lanzelot.look	2011-02-15 08:15:04 UTC (rev 10038)
@@ -134,7 +134,7 @@
     my $proto = $is_ssl ? "https://" : "http://";
     my $url = LJ::eurl ($proto.$hostname.$uri.$args_wq);
     $ret .= "<div class='b-message-mobile b-message-mobile-theme'><div class='b-message-mobile-wrapper'>";
-    $ret .= LJ::Lang::ml('link.mobile', { url => $url });
+    $ret .= LJ::Lang::ml('link.mobile', { href => "href='http://m.livejournal.com/redirect?from=$url'" });
     $ret .= "</div></div>";
 } else {
     $ret .= '';

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