/** * Add the page title and toolbar. * * @since 1.6 */ protected function addToolbar() { $user = JFactory::getUser(); // Get the toolbar object instance $bar = JToolBar::getInstance('toolbar'); JToolbarHelper::title(JText::_('TRANSLATION_MANAGER'), 'article.png'); JToolbarHelper::preferences('com_jalang'); if (JalangHelper::isInstalled('com_flexicontent')) { JToolBarHelper::custom('tool.bindFLEXI', 'copy', '', JText::_('Transfer to FLEXI')); } if (JalangHelper::isJoomla3x()) { JHtmlSidebar::setAction('index.php?option=com_jalang&view=tool'); } }