Ignore:
Timestamp:
Jan 2, 2011, 7:53:55 PM (13 years ago)
Author:
rub
Message:

Add upload button on image page

File:
1 moved

Legend:

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

    r8439 r8440  
    1 {if $FBP_SHARE_LI}<li>{/if}
     1{* --------------------------------------------------------------------------- *}
     2{if $fbp.share_picture or $fbp.share_album}
     3{if $FBP_SCRIPT_BASENAME == 'index'}<li>{/if}
    24{* method 1 *}
    35{*
     
    2224</script>
    2325{/literal}
    24 {if $FBP_SHARE_LI}</li>{/if}
     26{if $FBP_SCRIPT_BASENAME == 'index'}</li>{/if}
     27{/if} {* $fbp.share_picture or $fbp.share_album *}
     28{* --------------------------------------------------------------------------- *}
     29{if $fbp.upload_picture and $FBP_SCRIPT_BASENAME == 'picture'}
     30<a href="{$PIWIGO_FACEBOOK_UPLOAD_URL}?u={$fbp_page.url_image|@urlencode}&amp;pu={$fbp_page.url|@urlencode}&amp;pt={$PAGE_TITLE|@replace:'"':' '}&amp;gt={$GALLERY_TITLE|@replace:'"':' '}" title="{'Upload photo on Facebook'|@translate}" rel="nofollow" onclick="window.open(this.href, 'Facebook','width=550,height=350,location=no,status=no,toolbar=no,scrollbars=no,menubar=no'); return false;"><img src="{$FBP_PATH|@cat:'/icon/upload.png'}" class="button" alt="{'Share on Facebook'|@translate}"></a>
     31{/if} {* $fbp.upload_picture  and $FBP_SCRIPT_BASENAME == 'picture' *}
     32{* --------------------------------------------------------------------------- *}
Note: See TracChangeset for help on using the changeset viewer.