ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[ljcom] r9056: LJSUP-6182: Offerpal Integration - LJSUP...

Committer: ssafronova
LJSUP-6182: Offerpal Integration - LJSUP-6186: Add OfferPal block to the /shop/wallet.bml
A   trunk/cgi-bin/LJ/Widget/IPPU/Offerpal.pm
Added: trunk/cgi-bin/LJ/Widget/IPPU/Offerpal.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/IPPU/Offerpal.pm	                        (rev 0)
+++ trunk/cgi-bin/LJ/Widget/IPPU/Offerpal.pm	2010-06-15 03:12:33 UTC (rev 9056)
@@ -0,0 +1,13 @@
+package LJ::Widget::IPPU::Offerpal;
+
+use strict;
+use base qw(LJ::Widget::IPPU);
+
+sub render_body {
+    my ($class, %opts) = @_;
+    
+    my $remote = LJ::get_remote();
+    return '<iframe src="' . $LJ::OFFERPAL_URL . $remote->userid . '" width="404" height="329" border="0"></iframe>';
+}
+
+1;

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