vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21780: LJSUP-11874: one more parameter for tack...

Committer: vad
LJSUP-11874: one more parameter for tackthis
U   trunk/htdocs/tools/embedcontent.bml
Modified: trunk/htdocs/tools/embedcontent.bml
===================================================================
--- trunk/htdocs/tools/embedcontent.bml	2012-04-23 08:30:09 UTC (rev 21779)
+++ trunk/htdocs/tools/embedcontent.bml	2012-04-23 10:01:06 UTC (rev 21780)
@@ -17,7 +17,8 @@
         ##
         my $api     = $GET{api};
         my $pid_arg = $GET{pid} ? "&pid=$GET{pid}" : ""; ## display specified product id
-        return qq|<script src="http://www.tackthis.com/widget-validate-iframe.php?api=$api$pid_arg" type="text/javascript"></script>|;
+        my $cat_arg = $GET{cid} ? "&cid=$GET{cid}" : ""; ## category id
+        return qq|<script src="http://www.tackthis.com/widget-validate-iframe.php?api=$api$pid_arg$cat_arg" type="text/javascript"></script>|;
 
     } elsif ($mode eq 'lj-embed') {
         # we should have three GET params: journalid, moduleid, auth_token

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