Ignore:
Timestamp:
03/07/14 10:28:23 (6 years ago)
Author:
plg
Message:

comment feature upload_picture, since it hasn't been working for months (changes on Facebook)

Location:
extensions/FacebookPlug/Plugin/tpl
Files:
2 edited

Legend:

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

    r22632 r27588  
    240240  </ul> 
    241241</fieldset> 
     242{* 
    242243<fieldset> 
    243244  <legend>{'Upload'|@translate}</legend> 
     
    251252    </li> 
    252253</fieldset> 
     254*} 
    253255{/if}{* isset $button*} 
    254256 
  • extensions/FacebookPlug/Plugin/tpl/buttons.tpl

    r8817 r27588  
    2727{/if} {* $fbp.share_picture or $fbp.share_album *} 
    2828{* --------------------------------------------------------------------------- *} 
     29{* 
    2930{if $fbp.upload_picture and $FBP_SCRIPT_BASENAME == 'picture' and in_array($fbp_page.url_image|get_extension|strtoupper, $fbp_page.available_upload_ext)} 
    3031<a class="pwg-state-default pwg-button" 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_Upload','width=250,height=50,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{/if} *} {* $fbp.upload_picture  and $FBP_SCRIPT_BASENAME == 'picture' *} 
    3233{* --------------------------------------------------------------------------- *} 
Note: See TracChangeset for help on using the changeset viewer.