mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
40 lines
No EOL
1.8 KiB
PHP
40 lines
No EOL
1.8 KiB
PHP
<li>
|
|
<ul class="left-side">
|
|
<li style="max-width: 40px;">
|
|
<?php
|
|
echo getHamburgerButton('buttonMenu', 'x', 'class="btn btn-default pull-left hamburger" data-toggle="tooltip" title="' . __("Main Menu") . '" data-placement="right"');
|
|
?>
|
|
<?php
|
|
if ($advancedCustom->disableNavBarInsideIframe) {
|
|
?>
|
|
<script>
|
|
$(document).ready(function () {
|
|
YPTHidenavbar();
|
|
});
|
|
</script>
|
|
<?php
|
|
}
|
|
?>
|
|
</li>
|
|
<li style="width: 100%; text-align: center;">
|
|
<a class="navbar-brand" id="mainNavbarLogo" href="<?php echo empty($advancedCustom->logoMenuBarURL) ? $global['webSiteRootURL'] : $advancedCustom->logoMenuBarURL; ?>" >
|
|
<img src="<?php echo getCDN(), $config->getLogo(true); ?>" alt="<?php echo $config->getWebSiteTitle(); ?>" class="img-responsive ">
|
|
</a>
|
|
</li>
|
|
<?php
|
|
if (!empty($advancedCustomUser->keepViewerOnChannel) && !empty($_SESSION['channelName'])) {
|
|
$user = User::getChannelOwner($_SESSION['channelName']);
|
|
?>
|
|
<li>
|
|
<a class="navbar-brand" href="#" onclick="avideoModalIframeFull('<?php echo User::getChannelLinkFromChannelName($_SESSION['channelName']); ?>');
|
|
return false;" >
|
|
<img src="<?php echo User::getPhoto($user['id']); ?>" alt="<?php echo User::getNameIdentificationById($user['id']); ?>"
|
|
class="img img-circle " style="height: 33px; width: 33px; margin-right: 15px;">
|
|
</a>
|
|
</li>
|
|
<?php
|
|
}
|
|
?>
|
|
|
|
</ul>
|
|
</li>
|