mirror of
https://github.com/Piwigo/Piwigo-Social-Buttons.git
synced 2026-03-28 17:42:48 +01:00
switch tumblr button to https
This commit is contained in:
@@ -269,42 +269,42 @@ jQuery(".showInfo").tipTip({
|
||||
</tr>
|
||||
<tr class="button">
|
||||
<td><label>
|
||||
<img src="http://platform.tumblr.com/v1/share_1.png"/>
|
||||
<img src="https://platform.tumblr.com/v1/share_1.png"/>
|
||||
<input type="radio" name="tumblr[type]" value="share_1" {if $tumblr.type=='share_1'}checked="checked"{/if}/>
|
||||
</label></td>
|
||||
<td><label>
|
||||
<input type="radio" name="tumblr[type]" value="share_1T" {if $tumblr.type=='share_1T'}checked="checked"{/if}/>
|
||||
<img src="http://platform.tumblr.com/v1/share_1T.png"/>
|
||||
<img src="https://platform.tumblr.com/v1/share_1T.png"/>
|
||||
</label></td>
|
||||
</tr>
|
||||
<tr class="button">
|
||||
<td><label>
|
||||
<img src="http://platform.tumblr.com/v1/share_2.png"/>
|
||||
<img src="https://platform.tumblr.com/v1/share_2.png"/>
|
||||
<input type="radio" name="tumblr[type]" value="share_2" {if $tumblr.type=='share_2'}checked="checked"{/if}/>
|
||||
</label></td>
|
||||
<td><label>
|
||||
<input type="radio" name="tumblr[type]" value="share_2T" {if $tumblr.type=='share_2T'}checked="checked"{/if}/>
|
||||
<img src="http://platform.tumblr.com/v1/share_2T.png"/>
|
||||
<img src="https://platform.tumblr.com/v1/share_2T.png"/>
|
||||
</label></td>
|
||||
</tr>
|
||||
<tr class="button">
|
||||
<td><label>
|
||||
<img src="http://platform.tumblr.com/v1/share_3.png"/>
|
||||
<img src="https://platform.tumblr.com/v1/share_3.png"/>
|
||||
<input type="radio" name="tumblr[type]" value="share_3" {if $tumblr.type=='share_3'}checked="checked"{/if}/>
|
||||
</label></td>
|
||||
<td><label>
|
||||
<input type="radio" name="tumblr[type]" value="share_3T" {if $tumblr.type=='share_3T'}checked="checked"{/if}/>
|
||||
<img src="http://platform.tumblr.com/v1/share_3T.png"/>
|
||||
<img src="https://platform.tumblr.com/v1/share_3T.png"/>
|
||||
</label></td>
|
||||
</tr>
|
||||
<tr class="button">
|
||||
<td><label>
|
||||
<img src="http://platform.tumblr.com/v1/share_4.png"/>
|
||||
<img src="https://platform.tumblr.com/v1/share_4.png"/>
|
||||
<input type="radio" name="tumblr[type]" value="share_4" {if $tumblr.type=='share_4'}checked="checked"{/if}/>
|
||||
</label></td>
|
||||
<td><label>
|
||||
<input type="radio" name="tumblr[type]" value="share_4T" {if $tumblr.type=='share_4T'}checked="checked"{/if}/>
|
||||
<img src="http://platform.tumblr.com/v1/share_4T.png"/>
|
||||
<img src="https://platform.tumblr.com/v1/share_4T.png"/>
|
||||
</label></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -391,4 +391,4 @@ jQuery(".showInfo").tipTip({
|
||||
<input type="submit" value="{'Save Settings'|translate}" name="submit"/>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</form>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{strip}
|
||||
{if $SOCIALBUTT.basename=='picture'}
|
||||
{capture assign="inline_tags"}{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first},{/if}{$tag.name}{/foreach}{/capture}
|
||||
<a title="Share on tumblr" href="http://www.tumblr.com/share/photo?source={$SOCIALBUTT.source|urlencode}&caption={$PAGE_TITLE|cat:' '|cat:$SOCIALBUTT.copyright|urlencode}&clickthru={$SOCIALBUTT.share_url|urlencode}&tags={$inline_tags|urlencode}"
|
||||
<a title="Share on tumblr" href="https://www.tumblr.com/share/photo?source={$SOCIALBUTT.source|urlencode}&caption={$PAGE_TITLE|cat:' '|cat:$SOCIALBUTT.copyright|urlencode}&clickthru={$SOCIALBUTT.share_url|urlencode}&tags={$inline_tags|urlencode}"
|
||||
{else}
|
||||
<a title="Share on tumblr" href="http://www.tumblr.com/share/link?url={$SOCIALBUTT.share_url|urlencode}&name={$PAGE_TITLE|cat:' | '|cat:$GALLERY_TITLE|urlencode}&description={$CONTENT_DESCRIPTION|cat:$SOCIALBUTT.copyright|urlencode}"
|
||||
<a title="Share on tumblr" href="https://www.tumblr.com/share/link?url={$SOCIALBUTT.share_url|urlencode}&name={$PAGE_TITLE|cat:' | '|cat:$GALLERY_TITLE|urlencode}&description={$CONTENT_DESCRIPTION|cat:$SOCIALBUTT.copyright|urlencode}"
|
||||
{/if}
|
||||
{if $SOCIALBUTT.light}
|
||||
onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=430,width=500');return false;" target="_blank" rel="nofollow"
|
||||
{else}
|
||||
{combine_script id='tumblr_share' load='footer' path='http://platform.tumblr.com/v1/share.js'}
|
||||
{combine_script id='tumblr_share' load='footer' path='https://platform.tumblr.com/v1/share.js'}
|
||||
{/if}
|
||||
><img src="http://platform.tumblr.com/v1/{$SOCIALBUTT.TUMBLR.type}.png" alt="Tumblr"></a>
|
||||
{/strip}
|
||||
><img src="https://platform.tumblr.com/v1/{$SOCIALBUTT.TUMBLR.type}.png" alt="Tumblr"></a>
|
||||
{/strip}
|
||||
|
||||
Reference in New Issue
Block a user