source: extensions/Shadogo/trunk/template/thumbnail_shadogo_buttons.tpl @ 31900

Last change on this file since 31900 was 10016, checked in by binaryworld, 13 years ago
File size: 1.3 KB
Line 
1{if isset($thumbnail.NAME) && $shadogo.thumbContentLabel}{$thumbnail.NAME}{/if}
2<span class="thumb-buttons">
3{if !empty($thumbnail.VIDEO_URL) && $shadogo.thumbMediaPlayerIcon}
4        {assign var='U_PLAY_ICON' value=`$shadogo.pluginUrl`/images/play.png}
5        {if file_exists("`$themeconf.icon_dir`/play.png")} {assign var='U_PLAY_ICON' value=`$ROOT_URL``$themeconf.icon_dir`/play.png} {/if}
6        {include file="`$shadogo.overlayLibPath`rel_overlay.tpl" gallery='psplay' assign=rel_overlay}
7        <a href="{$thumbnail.U_OVERLAY}" {$rel_overlay}>
8                <img class="thumb-icon" title="{'shadogo_play'|@translate}" src="{$U_PLAY_ICON}" class="mediaplayer" alt="{'shadogo_play'|@translate}">
9        </a>
10{/if}
11{if $shadogo.thumbContentIcon}
12        {assign var='U_CONTENT_ICON' value=`$shadogo.pluginUrl`/images/content.png}
13        {if file_exists("`$themeconf.icon_dir`/content.png")} {assign var='U_CONTENT_ICON' value=`$ROOT_URL``$themeconf.icon_dir`/content.png} {/if}
14
15        <a href="{$thumbnail.URL}" {if $shadogo.thumbContentInOverlay}  rel="{$thumbnail.REL_OVERLAY}[pspagecontent 80% 80%]" {/if}     >
16                <img class="thumb-icon" title="{if isset($thumbnail.NAME)}{$thumbnail.NAME}{else}{$thumbnail.TN_TITLE}{/if}" src="{$U_CONTENT_ICON}" class="mediaplayer" alt="{'shadogo_content'|@translate}">
17        </a>
18{/if}
19</span>
Note: See TracBrowser for help on using the repository browser.