From 0cdfa51552af94a65d36060af16b000c4fd52c65 Mon Sep 17 00:00:00 2001 From: mcpeace-maw Date: Sun, 10 Apr 2016 00:25:04 +0300 Subject: [PATCH] Update navigation_template.php Changed the order in a logical way. Caret class have span tag in bootstrap. Suggestion: Li don't need attribute role="menuitem", but "a" anchor before dropdown-menu ul need class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" in b3. --- e107_core/templates/navigation_template.php | 69 +++++++++++---------- 1 file changed, 37 insertions(+), 32 deletions(-) diff --git a/e107_core/templates/navigation_template.php b/e107_core/templates/navigation_template.php index 1c89bb2c7..f78143b77 100644 --- a/e107_core/templates/navigation_template.php +++ b/e107_core/templates/navigation_template.php @@ -3,7 +3,7 @@ * Copyright (c) 2012 e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt) * $Id: e_shortcode.php 12438 2011-12-05 15:12:56Z secretr $ * -* Gallery Template +* Navigation Template */ @@ -19,53 +19,63 @@ $NAVIGATION_TEMPLATE['main']['item'] = ' '; -// Main Link which has a sub menu. -$NAVIGATION_TEMPLATE['main']['item_submenu'] = ' - -'; - -$NAVIGATION_TEMPLATE['main']['item_submenu_active'] = ' - -'; - +// Main Link - active state $NAVIGATION_TEMPLATE['main']['item_active'] = '
  • {LINK_ICON} {LINK_NAME}
  • +'; + +// Main Link which has a sub menu. +$NAVIGATION_TEMPLATE['main']['item_submenu'] = ' + +'; + +// Main Link which has a sub menu - active state. +$NAVIGATION_TEMPLATE['main']['item_submenu_active'] = ' + '; $NAVIGATION_TEMPLATE['main']['end'] = ''; - +// Sub menu $NAVIGATION_TEMPLATE['main']['submenu_start'] = ' '; @@ -140,4 +145,4 @@ $NAVIGATION_TEMPLATE['alt'] = $NAVIGATION_TEMPLATE['side']; $NAVIGATION_TEMPLATE['alt5'] = $NAVIGATION_TEMPLATE['side']; $NAVIGATION_TEMPLATE['alt6'] = $NAVIGATION_TEMPLATE['side']; -?> \ No newline at end of file +?>