Add variable $current_tab to output_titles() and output_content()