Changeset 8513


Ignore:
Timestamp:
Jan 8, 2011, 9:55:47 AM (13 years ago)
Author:
rub
Message:

Roolback: Reuse old method to share link.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/FacebookPlug/Plugin/tpl/buttons.tpl

    r8481 r8513  
    1010*}
    1111{* method 2 *}
     12<a href="http://www.facebook.com/sharer.php?u={$fbp_page.url|@urlencode}" title="{'Share on Facebook'|@translate}" rel="nofollow" onclick="window.open(this.href, 'Facebook_Share','width=550,height=350,location=no,status=no,toolbar=no,scrollbars=no,menubar=no'); return false;"><img src="{$FBP_PATH|@cat:'/icon/share.png'}" class="button" alt="{'Share on Facebook'|@translate}"></a>
     13{* method 3 *}
    1214{*
    13 <a href="http://www.facebook.com/sharer.php?u={$fbp_page.url|@urlencode}" title="{'Share on Facebook'|@translate}" rel="nofollow" onclick="window.open(this.href, 'Facebook_Share','width=550,height=350,location=no,status=no,toolbar=no,scrollbars=no,menubar=no'); return false;"><img src="{$FBP_PATH|@cat:'/icon/share.png'}" class="button" alt="{'Share on Facebook'|@translate}"></a>
    14 *}
    15 {* method 3 *}
    1615<a href="{$fbp_page.url}" title="{'Share on Facebook'|@translate}" rel="nofollow"  onclick="share(this.href); return false;"><img src="{$FBP_PATH|@cat:'/icon/share.png'}" class="button" alt="{'Share on Facebook'|@translate}"></a>
    1716{literal}
     
    2423</script>
    2524{/literal}
     25*}
    2626{if $FBP_SCRIPT_BASENAME == 'index'}</li>{/if}
    2727{/if} {* $fbp.share_picture or $fbp.share_album *}
Note: See TracChangeset for help on using the changeset viewer.