tabs = $tabs;
$this->current_key = $current_key;
$this->jscallback = $jscallback;
}
function display()
{
ob_start();
?>
tabs as $tab)
{
$TITLE = $tab['title'];
$LI_ID = "";
$A_ID = "";
if ( ! empty($tab['hidden']) && $tab['hidden'] == true)
{
$LI_ID = "style=\"display: none\"";
$A_ID = "style=\"display: none\"";
} else if ( $this->current_key == $tab['key'])
{
$LI_ID = "class=\"active\"";
$A_ID = "class=\"current\"";
}
$LINK = "- $TITLE
";
?>