1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
Daniel Neto 2024-04-09 09:41:00 -03:00
parent 2da8b46bd1
commit c18728ba64
2 changed files with 12 additions and 10 deletions

View file

@ -6327,13 +6327,13 @@ if (!class_exists('Video')) {
$content = local_get_contents($template);
$channelLinkImageClass = '';
$channelLinkNameClass = '';
if ($small || !empty($advancedCustom->showChannelPhotoOnVideoItem)) {
if (!empty($advancedCustom->showChannelPhotoOnVideoItem)) {
$photo = User::getPhoto($users_id);
}else{
$photo = '';
$channelLinkImageClass = 'hidden';
}
if ($small || !empty($advancedCustom->showChannelNameOnVideoItem)) {
if (!empty($advancedCustom->showChannelNameOnVideoItem)) {
$name = strip_tags(User::getNameIdentificationById($users_id));
}else{
$name = '';

View file

@ -1,11 +1,13 @@
<div class="videoCreatorSmall">
<a href="{channelLink}">
<div class="videoCreatorSmall clearfix">
<a href='{channelLink}' class="pull-left {channelLinkImageClass}">
<img src="{photo}" alt="{name} Photo"
class="img img-responsive img-rounded" style="width:40px;"/>
<span class="">
class="img img-responsive img-rounded" style="width:40px;" />
</a>
<div class="pull-left">
<a href='{channelLink}' class="btn btn-link {channelLinkNameClass}">
{name}
{icon}
</span>
</a>
{html}
</div>
</a>
</div>
</div>
{html}