Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jul 24, 2024
1 parent 7e45d06 commit 5988ebe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/TopMenu/actionButtonNetflix.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
$videos_id = getVideos_id();
}
?>
<!-- action menu flix start -->
<!-- action menu flix start videos_id=<?php echo $videos_id; ?> -->
<?php
foreach ($menu as $key => $value) {
$menuItems = MenuItem::getAllFromMenu($videos_id, true);
foreach ($menuItems as $key2 => $value2) {
?>
<!-- typeActionMenu -->
<!-- typeActionMenu videos_id=<?php echo $videos_id; ?> -->
<a href="<?php echo $value2['finalURL']; ?>" <?php echo $value2['target']; ?> class="btn btn-default no-outline">
<?php
if (!empty($value2['icon'])) {
Expand All @@ -34,7 +34,7 @@
}
}
$menu = Menu::getAllActive(Menu::$typeActionMenuCustomURL);
echo PHP_EOL.'<!-- action menu typeActionMenuCustomURL start count='.count($menu).' -->'.PHP_EOL;
echo PHP_EOL.'<!-- action menu typeActionMenuCustomURL start count='.count($menu).' videos_id='.$videos_id.'; ?> -->'.PHP_EOL;

foreach ($menu as $key => $value) {
$menuItems = MenuItem::getAllFromMenu($videos_id, true);
Expand Down

0 comments on commit 5988ebe

Please sign in to comment.