1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-08 05:11:01 +02:00

Youtube browser now supports searching by video and playlist ids. eg. video:_j0b9syAuIk

This commit is contained in:
Cameron
2015-03-31 14:48:07 -07:00
parent 20f2b552da
commit 7c602253be
7 changed files with 164 additions and 28 deletions

View File

@@ -30,10 +30,7 @@ class sitelinks
{
while ($row = $sql->fetch())
{
if(!empty($row['link_sefurl']) && !empty($row['link_owner']))
{
$this->sefList[$row['link_sefurl']] = e107::url($row['link_owner'],$row['link_url']);
}
// if (substr($row['link_name'], 0, 8) == 'submenu.'){
// $tmp=explode('.', $row['link_name'], 3);
@@ -259,6 +256,7 @@ class sitelinks
if(vartrue($linkInfo['link_sefurl']))
{
$linkInfo['link_url'] = $linkInfo['link_sefurl'];
}
// If submenu: Fix Name, Add Indentation.