Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r10138: LJINT-411 (Additional logout link)

Committer: ailyin
LJINT-411 (Additional logout link)
U   trunk/cgi-bin/LJ/PartnerSite.pm
U   trunk/htdocs/gadgets/loginstatus.bml
Modified: trunk/cgi-bin/LJ/PartnerSite.pm
===================================================================
--- trunk/cgi-bin/LJ/PartnerSite.pm	2011-02-28 08:08:49 UTC (rev 10137)
+++ trunk/cgi-bin/LJ/PartnerSite.pm	2011-02-28 10:23:46 UTC (rev 10138)
@@ -545,12 +545,13 @@
             = URI->new( $self->xdreceiver_url( $opts->{'partner_domain'} ) );
         $uri->query_form( $uri->query_form,
                           'mode' => 'check_domain',
-                          'logged_in' => LJ::get_remote() ? 1 : 0 );
+                          'logged_in' => LJ::get_remote() ? 1 : 0,
+                          'from' => $opts->{'from'} || 'logcom' );
 
         my $url = $uri->as_string;
 
         return qq[
-            <iframe src="$url" class="iframe-crossdomain" frameborder="0"></iframe>
+            <iframe src="$url" class="iframe-crossdomain" frameborder="0" class="iframe-crossdomain"></iframe>
         ];
     } elsif ( $opts->{'mode'} eq 'jsonp' ) {
         my $code = $opts->{'code'};

Modified: trunk/htdocs/gadgets/loginstatus.bml
===================================================================
--- trunk/htdocs/gadgets/loginstatus.bml	2011-02-28 08:08:49 UTC (rev 10137)
+++ trunk/htdocs/gadgets/loginstatus.bml	2011-02-28 10:23:46 UTC (rev 10138)
@@ -25,6 +25,7 @@
         {
             'mode'           => 'logcom',
             'partner_domain' => $domain,
+            'from'           => 'loginstatus',
         }
     );
 

Tags: andy, bml, ljcom, pm
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