view photo subscription if condition corrected....
This commit is contained in:
parent
b6c5d1db27
commit
6981ae93b5
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
|||
<div class="watch-vid-user-name mtm">
|
||||
<a href="{$userquery->profile_link($user)}"> {$user.username}</a>
|
||||
</div>
|
||||
{if !$user.username}
|
||||
{if $photo.userid != userid()}
|
||||
<button class="btn btn-primary btn-sm btn-xs" onclick="subscriber('{$user.userid}','subscribe_user','video_detail_result_cont')">{lang code='subscribe'}</button>{/if}
|
||||
</div>
|
||||
<div class="watch-vid-rating-sec">
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<div class="watch-vid-user-name mtm">
|
||||
<a href="{$userquery->profile_link($video)}"> {$video.username}</a>
|
||||
</div>
|
||||
{if $video.userid != userid()}
|
||||
{if $video.userid != userid()}
|
||||
<a id="subscribeUser" class="btn btn-xs btn-primary" href="javascript:void(0)">
|
||||
{lang('Subscribe')}
|
||||
</a>{/if}
|
||||
|
|
Loading…
Add table
Reference in a new issue