From 29f54cb2cfbc0edac0bd11fb325baf375a8b7e15 Mon Sep 17 00:00:00 2001 From: Ismayil Khayredinov Date: Fri, 23 Dec 2011 23:48:53 +0100 Subject: fixes spacing. add a note on text/title --- views/default/navigation/tabs.php | 77 +++++++++++++++++++-------------------- 1 file changed, 38 insertions(+), 39 deletions(-) (limited to 'views/default/navigation') diff --git a/views/default/navigation/tabs.php b/views/default/navigation/tabs.php index 219646c64..6159fbfa5 100644 --- a/views/default/navigation/tabs.php +++ b/views/default/navigation/tabs.php @@ -5,7 +5,7 @@ * @uses string $vars['type'] horizontal || vertical - Defaults to horizontal * @uses string $vars['class'] Additional class to add to ul * @uses array $vars['tabs'] A multi-dimensional array of tab entries in the format array( - * 'text' => string, // Title of link + * 'text' => string, // The string between the tags. If not set, 'title' parameter will be used instead * 'href' => string, // URL for the link * 'class' => string // Class of the li element * 'id' => string, // ID of the li element @@ -14,7 +14,6 @@ * 'url_id' => string, // ID to pass to the link * ) */ - $options = elgg_clean_vars($vars); $type = elgg_extract('type', $vars, 'horizontal'); @@ -34,49 +33,49 @@ unset($options['type']); $options = elgg_format_attributes($options); if (isset($vars['tabs']) && is_array($vars['tabs']) && !empty($vars['tabs'])) { - ?> - +