mirror of
https://github.com/e107inc/e107.git
synced 2025-08-26 07:44:49 +02:00
e_sitelink.php now supports html as well as link array. e_sitelink.php example added to Plugin Builder and _blank plugin.
Mega-Menus will be super-easy with this enhancement.
This commit is contained in:
@@ -30,7 +30,7 @@ $NAVIGATION_TEMPLATE['main']['item_active'] = '
|
||||
|
||||
// Main Link which has a sub menu.
|
||||
$NAVIGATION_TEMPLATE['main']['item_submenu'] = '
|
||||
<li class="dropdown">
|
||||
<li class="dropdown {LINK_IDENTIFIER}">
|
||||
<a class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}" title="{LINK_DESCRIPTION}">
|
||||
{LINK_ICON}{LINK_NAME}
|
||||
<span class="caret"></span>
|
||||
@@ -41,7 +41,7 @@ $NAVIGATION_TEMPLATE['main']['item_submenu'] = '
|
||||
|
||||
// Main Link which has a sub menu - active state.
|
||||
$NAVIGATION_TEMPLATE['main']['item_submenu_active'] = '
|
||||
<li class="dropdown active">
|
||||
<li class="dropdown active {LINK_IDENTIFIER}">
|
||||
<a class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}">
|
||||
{LINK_ICON}{LINK_NAME}
|
||||
<span class="caret"></span>
|
||||
|
Reference in New Issue
Block a user