1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
daniel 2018-10-25 13:29:42 -03:00
parent 9e58006bda
commit 05fa54a165
1246 changed files with 11 additions and 1804 deletions

6
plugin/TopMenu/HTMLMenuRight.php Normal file → Executable file
View file

@ -29,7 +29,11 @@ foreach ($menu as $key => $value) {
foreach ($menuItems as $key2 => $value2) {
$url = $value2['url'];
if(empty($url)){
$url = $global['webSiteRootURL']."plugin/TopMenu/?id={$value2['id']}";
if(!empty($value2['menuSeoUrlItem'])){
$url = $global['webSiteRootURL'] . "menu/{$value2['menuSeoUrlItem']}";
}else{
$url = $global['webSiteRootURL'] . "plugin/TopMenu/?id={$value2['id']}";
}
}
?>
<li style="margin-right: 0;">