33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-23 03:19:00 +00:00

Merge pull request #23 from zero-24/patch-1

Icon for the Toolbar in 3.x
This commit is contained in:
Michael Babker 2014-04-27 10:47:22 -05:00
commit f18da366ff

View File

@ -116,12 +116,8 @@ class PatchtesterViewPulls extends JViewLegacy
*/
protected function addToolbar()
{
JToolBarHelper::title(JText::_('COM_PATCHTESTER'), 'patchtester');
JToolBarHelper::title(JText::_('COM_PATCHTESTER'), '');
JToolbarHelper::custom('purge', 'delete.png', 'delete_f2.png', 'COM_PATCHTESTER_PURGE_CACHE', false);
JToolBarHelper::preferences('com_patchtester');
JFactory::getDocument()->addStyleDeclaration(
'.icon-48-patchtester {background-image: url(components/com_patchtester/assets/images/icon-48-patchtester.png);}'
);
}
}