modified: embed codes under share/embed section added

This commit is contained in:
Awais-cb 2017-05-09 12:29:02 +05:00
parent 3133dd2a75
commit d08c128918

View file

@ -8,7 +8,7 @@
{$shareableThumb = get_photo_file($photo.photo_id)}
{$shareableThumb = $shareableThumb.0}
<div class="clearfix">
<div class="clearfix">
<section id="content" class="clearfix">
<div class="clearfix leaderboard-ad ad">
{AD place='ad_728x90'}
@ -86,7 +86,7 @@
<a href="#cb-item-info" data-toggle="tab"><span class="icon-info"></span>{lang code='info'}</a>
</li>
<li>
<a href="#cb-item-share" data-toggle="tab"><span class="icon-share"></span>{lang code='Share'}</a>
<a href="#cb-item-share" data-toggle="tab"><span class="icon-share"></span>{lang code='Share / Embed'}</a>
</li>
<li>
<a href="#cb-item-addto" data-toggle="tab"><span class="icon-plusrounded"></span>{lang('add_to')}</a>
@ -138,10 +138,7 @@
</a>
</li>
</ul>
{show_share_form id=$photo.photo_id type=Photo}
</div>
<div class="tab-pane fade in clearfix" id="cb-item-addto">
<!-- Embeding code to own forum -->
<div class="clearfix form-horizontal row">
{$codes=$cbphoto->photo_embed_codes(['type'=>'all','with_url'=>true, 'details'=>$photo])}
{foreach from=$codes item=item}
@ -155,6 +152,13 @@
{/foreach}
</div>
<!-- Embeding code to own forum -->
{show_share_form id=$photo.photo_id type=Photo}
</div>
<div class="tab-pane fade in clearfix" id="cb-item-addto">
<!-- add photo to fav -->
<div class="clearfix btn-fav">
<div id="video_action_result_cont"></div>
@ -196,9 +200,9 @@
</div>
</div>
</div>
</section>
</section>
<aside id="sidebar">
<aside id="sidebar">
<div class="box-ad ad">{AD place='ad_300x250'}</div>
<h2>{lang code='related_photos'}</h2>
<div class="clearfix sidebar-items">
@ -240,16 +244,16 @@
{/if}
</div>
{/if}
</aside>
{*section name=list loop=$uphotos}
{include file="$style_dir/blocks/photo.html" display_type="related_photos" photo=$uphotos[list]}
{/section*}
</div>
</aside>
{*section name=list loop=$uphotos}
{include file="$style_dir/blocks/photo.html" display_type="related_photos" photo=$uphotos[list]}
{/section*}
</div>
<script type="text/javascript">
var seoUrls = "{$Cbucket->configs.seo}";
var srcFirst = "{$srcfirst}";
var seoUrls = "{$Cbucket->configs.seo}";
var srcFirst = "{$srcfirst}";
var key_globel; // image source key0
var first_source;
var collection_id;
@ -276,10 +280,10 @@ $(document).ready(function()
}
});
comments_voting = 'no';
comments_voting = 'no';
getComments('p','{$photo.photo_id}','{$photo.last_commented}',1,'{$photo.total_comments}','{$object_type}')
{rdelim}
);
{rdelim}
);
/*$(document).ready(function(){
var form_selector = 'comment_form';
@ -297,5 +301,5 @@ comments_voting = 'no';
});
});
*/
*/
</script>