Lines Matching refs:tab
997 * Prints HTML code for the given tab structure
999 * @param array $tabs tab structure
1000 * @param string $current_tab the current tab id
1007 foreach ($tabs as $id => $tab) {
1008 html_tab($tab['href'], $tab['caption'], $id === $current_tab);
1015 * Prints a single tab
1020 * @param string $href - tab href
1021 * @param string $caption - tab caption
1022 * @param boolean $selected - is tab selected
1028 $tab = '<li>';
1030 $tab .= '<strong>';
1032 $tab .= '<a href="' . hsc($href) . '">';
1034 $tab .= hsc($caption)
1037 echo $tab;