/** * Get the link fo a tab. * * @param Node $node The node * @param array $error * * @return string HTML code with link */ public function getTabLink($node, $error) { if (count($node->getTabs($node->m_action)) < 2) { return ''; } return '<a href="javascript:void(0)" onclick="showTab(\'' . $error['tab'] . '\'); return false;">' . $this->getTabLabel($node, $error['tab']) . '</a>'; }