Файл: content/themes/facebook/templates/ajax.publisher.scraper.tpl
Строк: 171
<form class="publisherContent {if $view == 'video'}postVideo{elseif
$view == 'music'}postMusic{else}postLink{/if}">
<div
class="pt10 pb10 pr10 pl10">
{if $view == 'video'}
<div class="dataContent mb10">
<a class="uiMediaThumb playVideo">
<i class="videoThumbnail"
style="background-image:
url("{$link.thumbnail}");"></i>
<i class="plyrBtn"></i>
</a>
<input type="hidden"
name="video[id]" value="{$link.id}" />
<input type="hidden" name="video[type]"
value="{$link.type}" />
<input
type="hidden" name="video[thumbnail]"
value="{$link.thumbnail}" />
</div>
{elseif $view == 'music'}
<div
class="dataContent mb10">
<div
class="uiMusicThumb playVideo">
<span
class="mr5 gray">Title:</span><span
class="blue">{$link.title}</span><br />
<span class="mr5 gray">Info:
</span><span>{$link.description|truncate:65}</span>
<i class="plyrBtn"></i>
</div>
<input type="hidden"
name="music[id]" value="{$link.id}" />
<input type="hidden" name="music[title]"
value="{$link.title}" />
<input
type="hidden" name="music[description]"
value="{$link.description}" />
</div>
{else}
<div
class="dataContent mb10">
<div
class="dataLinkContent">
{if
$link.imgsCount > 0}
<div
class="dataLinkContent-thumbnail mr10">
{foreach $link.imgs as $img}
<img
class="linkThumbnail {if $img@index != 0}hidden{/if}"
src="{$img.src}" width="{$img.w}px" alt=""
/>
{/foreach}
</div>
{/if}
<div
class="dataLinkContent-body">
<div
class="dataContent mb10"><a
href="{$link.url}"><strong id="linkTitle"
class="mb5">{$link.title}</strong></a><br/><span
id="linkHost">{$link.host}</span></div>
<div class="dataContent mb10 gray"
id="linkDescription">{$link.description}</div>
{if $link.imgsCount > 0}
<div class="dataContent mb5">
<div class="linkThumbControl">
<div class="linkThumbBtn getPrev
disactive"><i
class="arrowLeft"></i></div>
<div class="linkThumbBtn getNext {if $link.imgsCount
== 1}disactive{/if}"><i
class="arrowRight"></i></div>
<div class="linkThumbTxt"><span
class="ml5 mr10"><span
class="thumbnailId">1</span> of <span
class="totalThumbnails">{$link.imgsCount}</span></span><span
class="gray">Choose a Thumbnail</span></div>
</div>
</div>
<div
class="dataContent">
<label for="removeThumbnil"
class="removeThumbnil">
<input type="checkbox" id="removeThumbnil" />
<span>No Thumbnail</span>
</label>
</div>
{/if}
</div>
</div>
<input
type="hidden" name="link[title]"
value="{$link.title}" />
<input
type="hidden" name="link[url]"
value="{$link.url}" />
<input
type="hidden" name="link[img]"
value="{$link.imgs[0].src}" />
<input
type="hidden" name="link[host]"
value="{$link.host}" />
<input
type="hidden" name="link[description]"
value="{$link.description}" />
</div>
{/if}
</div>
<div
class="publisherFooter">
<div>
<textarea class="uiInput saySomeThing expand">Say something
about this link...</textarea>
</div>
<div
class="tright mt10">
<div {if
$userArray.fb_connected == Y}title="do not post to facebook"
class="button-fbShare left mr5 active"{else}title="post to
facebook" class="button-fbShare left
mr5"{/if}></div>
<div {if
$userArray.tw_connected == Y}title="do not post to twitter"
class="button-twShare left active"{else}title="post to
twitter" class="button-twShare left
mr5"{/if}></div>
<input class="uiButton
bigButton" type="submit" value="Share" />
</div>
</div>
</form>