Revision [16570]

This is an old revision of AddThisAction made by CimNine on 2007-05-17 16:00:15.

 

AddThisAction


This is the development page for the AddThisAction AddThis action.
 

This Action provides you a button for the ""AddThis"-Service ( http://www.addthis.com/ ).

<?php
/*
AddThis plugin created by CimNine.

Licensed under Terms of GPLv2 or newer.
(c) by CimNine.
All rights reserved.

USE: {{addthis [type='1|2|3']}}
Default: 2
*/


if ($type == "1")
{
    print '<a href="http://www.addthis.com/bookmark.php" onclick="addthis_url   = location.href; addthis_title = document.title; return addthis_click(this);" target="_blank"><img src="http://s7.addthis.com/button0-bm.gif" width="125" height="16" border="0" alt="AddThis Social Bookmark Button" /></a> <script type="text/javascript">var addthis_pub = \'R54S805PWAV8G068\';</script><script type="text/javascript" src="http://s7.addthis.com/js/widget.php?v=10"></script>';
} elseif ($type == "3")
{
    print '<a href="http://www.addthis.com/bookmark.php" onclick="addthis_url   = location.href; addthis_title = document.title; return addthis_click(this);" target="_blank"><img src="http://s7.addthis.com/button2-bm.png" width="160" height="24" border="0" alt="AddThis Social Bookmark Button" /></a> <script type="text/javascript">var addthis_pub = \'R54S805PWAV8G068\';</script><script type="text/javascript" src="http://s7.addthis.com/js/widget.php?v=10"></script>';
} else
{
    print '<a href="http://www.addthis.com/bookmark.php" onclick="addthis_url   = location.href; addthis_title = document.title; return addthis_click(this);" target="_blank"><img src="http://s7.addthis.com/button1-bm.gif" width="125" height="16" border="0" alt="AddThis Social Bookmark Button" /></a> <script type="text/javascript">var addthis_pub = \'R54S805PWAV8G068\';</script><script type="text/javascript" src="http://s7.addthis.com/js/widget.php?v=10"></script>';
}
?>



CategoryDevelopmentActions - CategoryUserContributions
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki