From 3500fcfa23ec6d140b88ab0f75b2116b12d739c6 Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 3 Dec 2010 13:01:01 +0000 Subject: removed extra div in navigation/tabs git-svn-id: http://code.elgg.org/elgg/trunk@7515 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/navigation/tabs.php | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'views/default/navigation') diff --git a/views/default/navigation/tabs.php b/views/default/navigation/tabs.php index 582b56bbe..9d634a35a 100644 --- a/views/default/navigation/tabs.php +++ b/views/default/navigation/tabs.php @@ -11,24 +11,24 @@ * 'class' => string // Class of the li element. * 'selected' => bool // if this link is currently selected * ) - **/ + */ -$type = (isset($vars['type'])) ? $vars['type'] : 'horizontal'; +$type = elgg_get_array_value('type', $vars, 'horizontal'); if ($type == 'horizontal') { - $type_class = "elgg-horizontal-tabbed-nav margin-top"; + $type_class = "elgg-horizontal-tabbed-nav mtm"; } else { $type_class = "elgg_vertical_tabbed_nav"; } if (isset($vars['tabs']) && is_array($vars['tabs']) && !empty($vars['tabs'])) { - ?> -
-