1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 12:41:51 +02:00

Added link_active for use by e_sitelink custom dynamic navigation functions.

This commit is contained in:
Cameron 2013-11-06 17:31:02 -08:00
parent 2f50b43529
commit 6265b1e48c

View File

@ -1555,6 +1555,12 @@ class e_navigation
return true;
}
if($data['link_active'] == true) // Can be used by e_sitelink.php
{
return true;
}
// XXX Temporary Fix - TBD.
// Set the URL matching in the page itself. see: forum_viewforum.php and forum_viewtopic.php
if(defined("NAVIGATION_ACTIVE") && !$data['link_sub'])