Skip to content

Commit

Permalink
Merge pull request #23 from zero-24/patch-1
Browse files Browse the repository at this point in the history
Icon for the Toolbar in 3.x
  • Loading branch information
mbabker committed Apr 27, 2014
2 parents ba76348 + 0d1229a commit f18da36
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,8 @@ public function display($tpl = null)
*/
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);}'
);
}
}

0 comments on commit f18da36

Please sign in to comment.