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

[livejournal] r18283: LJSUP-7908: Link to mobile

Committer: wisest-owl
LJSUP-7908: Link to mobile

U   trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/weblib.pl
===================================================================
--- trunk/cgi-bin/weblib.pl	2011-02-11 10:32:38 UTC (rev 18282)
+++ trunk/cgi-bin/weblib.pl	2011-02-11 10:46:07 UTC (rev 18283)
@@ -2198,9 +2198,11 @@
         my $is_ssl = $LJ::IS_SSL = LJ::run_hook("ssl_check");
         my $proto = $is_ssl ? "https://" : "http://";
         my $url = LJ::eurl ($proto.$hostname.$uri.$args_wq);
-        $mobile_link = "<table><tr><td style='color:#FFFFFF'>".LJ::Lang::ml('link.mobile', { url => $url })."</td></tr></table>";
+        $mobile_link .= "<div class='b-message-mobile'><div class='b-message-mobile-wrapper'>";
+	    $mobile_link .= LJ::Lang::ml('link.mobile', { url => $url });
+	    $mobile_link .="</div></div>";
     }
-    return "<table id='lj_controlstrip' cellpadding='0' cellspacing='0'><tr><td colspan='5'>$mobile_link</td></tr><tr valign='top'>$ret</tr><tr><td colspan='5'>$message</td></tr></table>";
+    return "<table id='lj_controlstrip' cellpadding='0' cellspacing='0'><tr valign='top'>$ret</tr><tr><td colspan='5'>$message</td></tr></table> $mobile_link";
 }
 
 sub control_strip_js_inject

Tags: livejournal, pl, 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