additional_plugins/alpha/serendipity_event_findmore/plugin_findmore.tpl
2016-09-26 11:36:53 +02:00

153 lines
12 KiB
Smarty

<div class="serendipity_findmore">
{if NOT $findmore_disabled_services.twitter}
<a rel="nofollow" href="http://twitter.com/intent/tweet?text={$entrydata.title|escape}%20-%20{$entrydata.url|escape:url}" title="Twitter"><img src="{$entrydata.path}twitter.png" title="Twitter" alt="Twitter" class="socialbkmark" /></a>
{/if}
{if NOT $findmore_disabled_services.delicious}
<a rel="nofollow" href="http://del.icio.us/post?url={$entrydata.url|escape:url}&amp;title={$entrydata.title|escape:url}" title="Bookmark {$entrydata.title|escape} at del.icio.us"><img width="18" height="18" src="{$entrydata.path}delicious.png" class="socialbkmark" alt="Bookmark {$entrydata.title|escape} at del.icio.us"/></a>
{/if}
{if NOT $findmore_disabled_services.facebook}
<a rel="nofollow" href="http://www.facebook.com/share.php?u={$entrydata.url|escape:url}&amp;t={$entrydata.title|escape}" title="Facebook"><img src="{$entrydata.path}facebook.png" title="Facebook" alt="Facebook" class="socialbkmark" /></a>
{/if}
{if NOT $findmore_disabled_services.google}
<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk={$entrydata.url|escape:url}&amp;title={$entrydata.title|escape}" title="Google Bookmarks"><img src="{$entrydata.path}googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="socialbkmark" /></a>
{/if}
{if NOT $findmore_disabled_services.friendfeed}
<a rel="nofollow" href="http://www.friendfeed.com/share?title={$entrydata.title|escape}&amp;link={$entrydata.url|escape:url}" title="FriendFeed"><img src="{$entrydata.path}friendfeed.png" title="FriendFeed" alt="FriendFeed" class="socialbkmark" /></a>
{/if}
{if NOT $findmore_disabled_services.digg}
<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url={$entrydata.url|escape:url}" title="Digg {$entrydata.title|escape} "><img src="{$entrydata.path}diggman.png" width="16" height="14" class="socialbkmark" alt="Digg {$entrydata.title|escape} "/></a>
{/if}
{if NOT $findmore_disabled_services.mixx}
<a rel="nofollow" href="http://www.mixx.com/submit?page_url={$entrydata.url|escape:url}" title="Mixx {$entrydata.title|escape} "><img src="{$entrydata.path}mixx-button4.png" width="18" height="18" class="socalbkmark" alt="Mixx {$entrydata.title|escape} "/></a>
{/if}
{if NOT $findmore_disabled_services.bloglines}
<a rel="nofollow" href="http://www.bloglines.com/citations?url={$entrydata.url|escape:url}" title="Bloglines {$entrydata.title|escape} "><img src="{$entrydata.path}bloglines.png" width="18" height="18" class="socialbkmark" alt="Bloglines {$entrydata.title|escape} "/></a>
{/if}
{if NOT $findmore_disabled_services.technorati}
<a rel="nofollow" href="http://technorati.com/search/{$entrydata.url|escape:url}" title="Technorati {$entrydata.title|escape}"><img src="{$entrydata.path}technorati.png" width="18" height="18" class="socialbkmark" alt="Technorati {$entrydata.title|escape} "/></a>
{/if}
{if NOT $findmore_disabled_services.fark}
<a rel="nofollow" href="http://cgi.fark.com/cgi/fark/edit.pl?new_url={$entrydata.url|escape:url}&amp;new_comment={$entrydata.title|escape:url}&amp;new_link_other=&amp;linktype=Misc" title="Fark this: {$entrydata.title|escape} "><img width="15" height="18" src="{$entrydata.path}fark.png" class="socialbkmark" alt="Fark this: {$entrydata.title|escape} "/></a>
{/if}
{if NOT $findmore_disabled_services.yahoo}
<a rel="nofollow" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?t={$entrydata.title|escape:url}&amp;u={$entrydata.url|escape:url}" title="Bookmark {$entrydata.title|escape} at YahooMyWeb"><img width="18" height="18" src="{$entrydata.path}yahoomyweb.png" class="socialbkmark" alt="Bookmark {$entrydata.title|escape} at YahooMyWeb"/></a>
{/if}
{if NOT $findmore_disabled_services.furl}
<a rel="nofollow" href="http://www.furl.net/storeIt.jsp?t={$entrydata.title|escape:url}&amp;u={$entrydata.url|escape:url}" title="Bookmark {$entrydata.title|escape} at Furl.net"><img src="{$entrydata.path}furl.png" width="16" height="17" class="socialbkmark" alt="Bookmark {$entrydata.title|escape} at Furl.net"/></a>
{/if}
{if NOT $findmore_disabled_services.reddit}
<a rel="nofollow" href="http://reddit.com/submit?url={$entrydata.url|escape:url}&amp;title={$entrydata.title|escape:url}" title="Bookmark {$entrydata.title|escape} at reddit.com"><img src="{$entrydata.path}reddit.png" width="18" height="18" class="socialbkmark" alt="Bookmark {$entrydata.title|escape} at reddit.com"/></a>
{/if}
{if NOT $findmore_disabled_services.blinklist}
<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=&amp;Url={$entrydata.url|escape:url}&amp;Title={$entrydata.title|escape:url}" title="Bookmark {$entrydata.title|escape} at blinklist.com"><img width="18" height="18" src="{$entrydata.path}blinklist.png" class="socialbkmark" alt="Bookmark {$entrydata.title|escape} at blinklist.com"/></a>
{/if}
{if NOT $findmore_disabled_services.spurl}
<a rel="nofollow" href="http://www.spurl.net/spurl.php?title={$entrydata.title|escape:url}&amp;url={$entrydata.url|escape:url}" title="Bookmark {$entrydata.title|escape} at Spurl.net"><img width="16" height="16" src="{$entrydata.path}spurl.png" class="socialbkmark" alt="Bookmark {$entrydata.title|escape} at Spurl.net"/></a>
{/if}
{if NOT $findmore_disabled_services.newsvine}
<a rel="nofollow" href="http://www.newsvine.com/_tools/seed&amp;save?u={$entrydata.url|escape:url}&amp;h={$entrydata.title|escape:url}" title="Bookmark {$entrydata.title|escape} at NewsVine"><img width="16" height="16" src="{$entrydata.path}newsvine.png" class="socialbkmark" alt="Bookmark {$entrydata.title|escape} at NewsVine"/></a>
{/if}
{if NOT $findmore_disabled_services.simpy}
<a rel="nofollow" href="http://www.simpy.com/simpy/LinkAdd.do?href={$entrydata.url|escape:url}&amp;title={$entrydata.title|escape:url}" title="Bookmark {$entrydata.title|escape} at Simpy.com"><img width="16" height="16" src="{$entrydata.path}simpy.png" class="socialbkmark" alt="Bookmark {$entrydata.title|escape} at Simpy.com"/></a>
{/if}
{if NOT $findmore_disabled_services.blogmarks}
<a rel="nofollow" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url={$entrydata.url|escape:url}&amp;title={$entrydata.title|escape:url}" title="Bookmark {$entrydata.title|escape} at blogmarks"><img width="16" height="16" src="{$entrydata.path}blogmarks.png" class="socialbkmark" alt="Bookmark {$entrydata.title|escape} at blogmarks"/></a>
{/if}
{if NOT $findmore_disabled_services.wists}
<a rel="nofollow" href="http://wists.com/r.php?c=&amp;r={$entrydata.url|escape:url}&amp;title={$entrydata.title|escape:url}" title="Bookmark {$entrydata.title|escape} with wists"><img width="16" height="16" src="{$entrydata.path}wists.png" class="socialbkmark" alt="Bookmark {$entrydata.title|escape} with wists"/></a>
{/if}
{if NOT $findmore_disabled_services.misterwong}
<a rel="nofollow" href="http://www.mister-wong.de/index.php?action=addurl&amp;bm_url={$entrydata.url|escape:url}&amp;bm_description={$entrydata.title|escape:url}" title="wong it! {$entrydata.title|escape}"><img width="18" height="18" src="{$entrydata.path}wong18.gif" alt="wong it!" class="socialbkmark" /></a>
{/if}
{if NOT $findmore_disabled_services.addthis}
<a rel="nofollow" href="http://www.addthis.com/bookmark.php?pub=&amp;url={$entrydata.url|escape:url}&amp;title={$entrydata.title|escape:url}" title="Bookmark using any bookmark manager! {$entrydata.title|escape}"><img src="{$entrydata.path}button0-bm.gif" alt="Bookmark using any bookmark manager!" width="83" height="16" class="socialbkmark" /></a>
{/if}
{if NOT $findmore_disabled_services.stumbleupon}
<a rel="nofollow" href="http://www.stumbleupon.com/submit?url={$entrydata.url|escape:url}" title="Stumble It!"><img border=0 src="{$entrydata.path}stumbleupon.gif" alt="Stumble It!" width="16" height="16" class="socialbkmark" /></a>
{/if}
{if NOT $findmore_disabled_services.printthis}
<a rel="nofollow" href="http://www.printfriendly.com/print?url={$entrydata.url|escape:url}" title="Print this article!"><img src="{$entrydata.path}printfriendly.png" title="Print this article!" alt="Print this article!" class="socialbkmark" /></a>
{/if}
{if NOT $findmore_disabled_services.tellafriend}
<a rel="nofollow" href="mailto:?subject={$entrydata.title|escape}&amp;body={$entrydata.url|escape:url}';" title="E-mail this story to a friend!"><img src="{$entrydata.path}email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="socialbkmark" /></a>
{/if}
{if NOT $findmore_disabled_services.identica}
<a rel="nofollow" href="http://identi.ca/notice/new?status_textarea={$entrydata.title|escape:url}%20-%20{$entrydata.url|escape:url}" title="Identi.ca"><img src="{$entrydata.path}identica.png" title="Identi.ca" alt="Identi.ca" class="socialbkmark" /></a>
{/if}
</div>
{if NOT $findmore_disabled_services.facebook OR NOT $findmore_disabled_services.gplus OR NOT $findmore_disabled_services.spreadly}
<ul class="serendipity_findmore_like plainList">
{if NOT $findmore_disabled_services.facebook}
<li class="facebook_like findmore_like_button">
{if $findmore_lazyload}
<script type="text/javascript">
var fb_like = '<iframe src="http://www.facebook.com/plugins/like.php?href={$entrydata.url|@escape:url}&amp;layout=standard&amp;show-faces=true&amp;width=300&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe>';
insertLazyLoadButton(fb_like, "facebook", '{$entrydata.path}', '{$findmore_lazyload_text}');
</script>
{else}
<iframe src="http://www.facebook.com/plugins/like.php?href={$entrydata.url|@escape:url}&amp;layout=standard&amp;show-faces=true&amp;width=300&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100%; height:30px"></iframe>
{/if}
</li>
{/if}
{if NOT $findmore_disabled_services.plusone}
<li class="google_like findmore_like_button">
{if $findmore_lazyload}
<script type="text/javascript">
var gplus_like = '<div class="gplus_like"><div class="g-plusone" data-size="medium" data-href="{$entrydata.url}"></div>{literal}<script type="text/javascript">window.___gcfg = {lang: "en"}; (function() { var po = document.createElement("script"); po.type = "text/javascript"; po.async = true; po.src = "https://apis.google.com/js/plusone.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s); })(); <\/script></div>';
{/literal}
insertLazyLoadButton(gplus_like, "gplus", '{$entrydata.path}', '{$findmore_lazyload_text}');
</script>
{else}
<g:plusone annotation="none" href="{$entrydata.url}"></g:plusone>
{/if}
</li>
{/if}
{if NOT $findmore_disabled_services.spreadly}
<li class="spreadly_like findmore_like_button">
{if $findmore_lazyload}
<a href="http://spread.ly/?url={$entrydata.url|@escape:url}&amp;title={$entrydata.title|@escape:url}&amp;tags={$entrydata.properties.freetag_tagList|@escape:url}&amp;social={if $findmore_spreadly_social}1{else}0{/if}" rel="like">
<img src="http://spread.ly/img/like-button.jpg" alt="Like" />
</a>
{else}
<iframe scrolling="no" frameborder="0" marginwidth="0" marginheight="0"
style="overflow: hidden; width: 100px; height: {if $findmore_spreadly_social}24px;{else}24px{/if}"
src="http://button.spread.ly/?url={$entrydata.url|@escape:url}&amp;title={$entrydata.title|@escape:url}&amp;tags={$entrydata.properties.freetag_tagList|@escape:url}&amp;social={if $findmore_spreadly_social}1{else}0{/if}"
allowtransparency="true">
</iframe>
{/if}
</li>
{/if}
</ul>
{/if}