string, // Title of link * 'url' => string, // URL for the link * 'class' => string // Class of the li element * 'id' => string, // ID of the li element * 'selected' => bool // if this li element is currently selected * 'url_class' => string, // Class to pass to the link * 'url_id' => string, // ID to pass to the link * ) */ $type = elgg_extract('type', $vars, 'horizontal'); if ($type == 'horizontal') { $type_class = "elgg-tabs elgg-htabs"; } else { $type_class = "elgg-tabs elgg-vtabs"; } if (isset($vars['class'])) { $type_class = "$type_class {$vars['class']}"; } if (isset($vars['tabs']) && is_array($vars['tabs']) && !empty($vars['tabs'])) { ?>