Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Update view_photo.html #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions upload/styles/cb_28/layout/view_photo.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h2 class="user-title">
<div class="clearfix subscribe-col col-lg-6 col-md-6 col-sm-6 col-xs-12">
{if $photo.userid != userid()}
<a id="subscribeUser" class="btn btn-subscribe btn-primary" href="javascript:void(0)" onclick="subscriber('{$user.userid}','subscribe_user','video_detail_result_cont')">
<span>{lang('Subscribe')}</span>
<span>{lang('subscribe')}</span>
</a>
{/if}
</div>
Expand All @@ -78,35 +78,35 @@ <h2 class="user-title">
<div class="view-tabs clearfix">
<ul class="clearfix nav nav-tabs">
<li class="active">
<a href="#cb-item-info" data-toggle="tab"><span class="icon-info"></span>{lang('Info')}</a>
<a href="#cb-item-info" data-toggle="tab"><span class="icon-info"></span>{lang('info')}</a>
</li>
<li>
<a href="#cb-item-share" data-toggle="tab"><span class="icon-share"></span>Share/Embed</a>
</li>
<li>
<a href="#cb-item-addto" data-toggle="tab"><span class="icon-plusrounded"></span>{lang('Add to')}</a>
<a href="#cb-item-addto" data-toggle="tab"><span class="icon-plusrounded"></span>{lang('add_to')}</a>
</li>
<li>
<a href="#cb-item-report" data-toggle="tab"><span class="icon-flag"></span>{lang('Report')}
<a href="#cb-item-report" data-toggle="tab"><span class="icon-flag"></span>{lang('report')}
</a>
</li>
</ul>
<div class="tab-content clearfix">
<div class="tab-pane fade in clearfix active" id="cb-item-info">
<div class="clearfix watch-vid-details">
<ul class="clearfix desc-list">
<li><strong>{lang('Photo description: ')}</strong> <span id="description"></span>:&nbsp;{$photo.photo_description|truncate:90}</li>
<li><strong>{lang('photo_description')}</strong> <span id="description"></span>:&nbsp;{$photo.photo_description|truncate:90}</li>

{assign var=category value=$userquery->get_category($user.category)}

<li id="category"></li>

<li><strong>{lang('Category')}</strong>:&nbsp;{$category.category_name}
<li><strong>{lang('category')}</strong>:&nbsp;{$category.category_name}
<span id="category"></span>
</li>
<li><strong>{lang('Tags')}</strong>:&nbsp;<span id="tags"></span></strong>{$photo.photo_tags|tags:photos}</li>
<li><strong>{lang('tags')}</strong>:&nbsp;<span id="tags"></span></strong>{$photo.photo_tags|tags:photos}</li>

<li><strong>{lang('Views')}</strong>:&nbsp; <span id="views">{$photo.views}</span></li>
<li><strong>{lang('views')}</strong>:&nbsp; <span id="views">{$photo.views}</span></li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -172,7 +172,7 @@ <h2><span>{$photo.total_comments}
{if $myquery->is_commentable($photo,'p')}
{include file="$style_dir/blocks/comments/add_comment.html" id=$photo.photo_id type=p}
{else}
<div class="alert alert-warning">{lang code='Comments disabled for this photo'}</div>
<div class="alert alert-warning">{lang code='comments_disabled_for_this_photo'}</div>
{/if}
</div>
<div id="comments"></div>
Expand All @@ -185,7 +185,7 @@ <h2><span>{$photo.total_comments}

<aside id="sidebar">
<div class="box-ad ad">{AD place='ad_300x250'}</div>
<h2>{lang code='Related Photos'}</h2>
<h2>{lang code='related_photos'}</h2>
<div class="clearfix sidebar-items">

{$related_photos=get_photos(['title'=>$photo.photo_title,'tags'=>$photo.photo_tags,
Expand Down Expand Up @@ -283,4 +283,4 @@ <h2>{lang code="top_collections"}</h2>
});

*/
</script>
</script>