Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r19811: LJINT-452: Comments for side projects (G...

Committer: gariev
LJINT-452: Comments for side projects (Gazeta) - add new css path for m.gazeta.ru

U   trunk/htdocs/gadgets/logcom.bml
Modified: trunk/htdocs/gadgets/logcom.bml
===================================================================
--- trunk/htdocs/gadgets/logcom.bml	2011-08-23 07:31:20 UTC (rev 19810)
+++ trunk/htdocs/gadgets/logcom.bml	2011-08-23 09:02:44 UTC (rev 19811)
@@ -14,6 +14,7 @@
     my $docid   = LJ::Request->get_param('docid');
     my $api_key = LJ::Request->get_param('rsk');
     my $domain  = LJ::Request->get_param('domain');
+    my $type    = LJ::Request->get_patam('type');
 
     ## convert remote-site key to lj.com's community
     my $partner = LJ::PartnerSite->find_by_api_key($api_key);
@@ -74,7 +75,7 @@
                 'journalu'          => $journal,
                 'ditemid'           => $entry->ditemid,
                 'replyto'           => int ($replyto / 256),
-                'resources_html'    => $partner->resources_html,
+                'resources_html'    => $partner->resources_html({ type => $type }),
             });
     } else {
         ## display login widget
@@ -89,7 +90,7 @@
             'embedded'          => 1,
             'partner'           => $partner,
             'js_check_domain'   => $js_check_domain,
-            'resources_html'    => $partner->resources_html,
+            'resources_html'    => $partner->resources_html({ type => $type }),
             'forwhat'           => 'external',
             'thispage'          => $thispage,
             'lj_auth'           => 1,

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