Ignore:
Timestamp:
Oct 4, 2013, 10:09:05 PM (11 years ago)
Author:
mistic100
Message:

add light mode: no script loaded
tests in migration task
add an id to the div on picture page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SocialButtons/template/pinterest.tpl

    r23201 r24757  
    11{strip}
    2 {combine_script id='pinterest_pinit' load='footer' path='https://assets.pinterest.com/js/pinit.js'}
    3 
    4 <a href="http://pinterest.com/pin/create/button/?url={$SOCIALBUTT.share_url|urlencode}&media={$SOCIALBUTT.PINTEREST.source|urlencode}&description={$SOCIALBUTT.PINTEREST.title|cat:' '|cat:$SOCIALBUTT.copyright|urlencode}"
    5   class="pin-it-button" count-layout="{$SOCIALBUTT.PINTEREST.layout}"><img border="0" src="http://assets.pinterest.com/images/PinExt.png" title="Pin It"/></a>
     2<a href="http://pinterest.com/pin/create/button/?url={$SOCIALBUTT.share_url|urlencode}&media={$SOCIALBUTT.PINTEREST.source|urlencode}&description={$SOCIALBUTT.PINTEREST.title|cat:' '|cat:$SOCIALBUTT.copyright|urlencode}" rel="nofollow"
     3{if $SOCIALBUTT.light}
     4  onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=470,width=600');return false;" target="_blank"
     5{else}
     6  class="pin-it-button" count-layout="{$SOCIALBUTT.PINTEREST.layout}"
     7  {combine_script id='pinterest_pinit' load='footer' path='https://assets.pinterest.com/js/pinit.js'}
     8{/if}
     9><img border="0" src="http://assets.pinterest.com/images/PinExt.png" title="Pin It"/></a>
    610{/strip}
Note: See TracChangeset for help on using the changeset viewer.