1
0
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:
Cameron
2016-05-07 09:07:38 -07:00
parent 5c3b486adc
commit 996b1f3285
5 changed files with 154 additions and 8 deletions

View File

@@ -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>