Skip to content

Commit

Permalink
Fix backend icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Mar 22, 2023
1 parent 17f9ad4 commit 29a6254
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Resources/contao/dca/tl_rocksolid_slide.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@
'edit' => array(
'label' => &$GLOBALS['TL_LANG']['tl_rocksolid_slide']['edit'],
'href' => 'table=tl_content',
'icon' => 'edit.gif',
'icon' => version_compare(\Contao\CoreBundle\ContaoCoreBundle::getVersion(), '5.0', '<') ? 'edit.svg' : 'children.svg',
'attributes' => 'class="contextmenu"',
'button_callback' => array('MadeYourDay\\RockSolidSlider\\Slider', 'editSlideIcon'),
),
'editheader' => array(
'label' => &$GLOBALS['TL_LANG']['tl_rocksolid_slide']['editheader'],
'href' => 'act=edit',
'icon' => 'header.gif',
'icon' => version_compare(\Contao\CoreBundle\ContaoCoreBundle::getVersion(), '5.0', '<') ? 'header.svg' : 'edit.svg',
'attributes' => 'class="edit-header"',
),
'copy' => array(
Expand Down
6 changes: 3 additions & 3 deletions src/Resources/contao/dca/tl_rocksolid_slider.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
'label' => &$GLOBALS['TL_LANG']['tl_rocksolid_slider']['editLicense'],
'href' => 'table=tl_rocksolid_slider_license',
'class' => 'header_icon',
'icon' => 'settings.gif',
'icon' => 'modules_.svg',
'button_callback' => array('MadeYourDay\\RockSolidSlider\\Slider', 'sliderLicenseButton'),
),
'all' => array(
Expand All @@ -69,14 +69,14 @@
'edit' => array(
'label' => &$GLOBALS['TL_LANG']['tl_rocksolid_slider']['edit'],
'href' => 'table=tl_rocksolid_slide',
'icon' => 'edit.gif',
'icon' => version_compare(\Contao\CoreBundle\ContaoCoreBundle::getVersion(), '5.0', '<') ? 'edit.svg' : 'children.svg',
'attributes' => 'class="contextmenu"',
'button_callback' => array('MadeYourDay\\RockSolidSlider\\Slider', 'editSliderIcon'),
),
'editheader' => array(
'label' => &$GLOBALS['TL_LANG']['tl_rocksolid_slider']['editheader'],
'href' => 'act=edit',
'icon' => 'header.gif',
'icon' => version_compare(\Contao\CoreBundle\ContaoCoreBundle::getVersion(), '5.0', '<') ? 'header.svg' : 'edit.svg',
'attributes' => 'class="edit-header"',
),
'copy' => array(
Expand Down

0 comments on commit 29a6254

Please sign in to comment.