mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-05-28 11:30:47 +00:00
Add icons for admin menu and toolbar
This commit is contained in:
parent
1037d7f22d
commit
3bb367319f
Binary file not shown.
After Width: | Height: | Size: 733 B |
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
|
@ -27,12 +27,13 @@
|
|||
<filename>patchtester.php</filename>
|
||||
</files>
|
||||
<administration>
|
||||
<menu img="class:patchtester">com_patchtester</menu>
|
||||
<menu img="components/com_patchtester/assets/images/icon-16-patchtester.png">com_patchtester</menu>
|
||||
<files folder="admin">
|
||||
<filename>access.xml</filename>
|
||||
<filename>config.xml</filename>
|
||||
<filename>controller.php</filename>
|
||||
<filename>patchtester.php</filename>
|
||||
<folder>assets</folder>
|
||||
<folder>controllers</folder>
|
||||
<folder>models</folder>
|
||||
<folder>sql</folder>
|
||||
|
|
|
@ -44,7 +44,11 @@ class PatchtesterViewPulls extends JView
|
|||
*/
|
||||
protected function addToolbar()
|
||||
{
|
||||
JToolBarHelper::title('Joomla! Patch Tester');
|
||||
JToolBarHelper::title('Joomla! Patch Tester', 'patchtester');
|
||||
JToolBarHelper::preferences('com_patchtester');
|
||||
|
||||
JFactory::getDocument()->addStyleDeclaration(
|
||||
'.icon-48-patchtester {background-image: url(components/com_patchtester/assets/images/icon-48-patchtester.png);}'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user