Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Sep 13, 2024
1 parent 2a16b94 commit 614c540
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions plugin/YouPHPFlix2/view/modeFlixBody.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,26 @@
}
$link = PlayLists::getLink($pl['id']);
$linkEmbed = PlayLists::getLink($pl['id'], true);

$videoSerie = Video::getVideoFromSeriePlayListsId($pl['id']);
?>
<div class="row topicRow">
<h2>
<a href="<?php echo $link; ?>" embed="<?php echo $linkEmbed; ?>">
<!-- modeFlixBody line <?php echo __LINE__; ?> -->
<i class="fas fa-list"></i> <?php echo __($pl['name']); ?>
</a>
<?php
if(!empty($videoSerie)){
?>
<span style="margin-left: 10px;">
<?php
echo Video::generatePlaylistButtons($videoSerie['id'], 'btn btn-dark btn-xs', 'color: #4285f4; ', false);
?>
</span>
<?php
}
?>
</h2>
<!-- Date Programs/Playlists 2 -->
<?php
Expand Down

0 comments on commit 614c540

Please sign in to comment.