From 8a240ab0ff0d8a4978e780c0d8b207893fe6868a Mon Sep 17 00:00:00 2001 From: David Molineus Date: Fri, 6 Oct 2017 15:06:35 +0200 Subject: [PATCH] Adjust assets path. --- src/Resources/contao/config/config.php | 12 ++++++------ src/Resources/contao/dca/tl_leaflet_icon.php | 6 +++--- src/Resources/contao/dca/tl_leaflet_layer.php | 8 ++++---- src/Resources/contao/dca/tl_leaflet_map.php | 2 +- src/Resources/contao/dca/tl_leaflet_marker.php | 4 ++-- src/Resources/contao/dca/tl_leaflet_popup.php | 6 +++--- src/Resources/contao/dca/tl_leaflet_style.php | 6 +++--- src/Resources/contao/dca/tl_leaflet_vector.php | 4 ++-- .../contao/templates/be_leaflet_about.html5 | 2 +- 9 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/Resources/contao/config/config.php b/src/Resources/contao/config/config.php index 55db360..9dda154 100644 --- a/src/Resources/contao/config/config.php +++ b/src/Resources/contao/config/config.php @@ -30,8 +30,8 @@ array_insert( 'tl_leaflet_map', 'tl_leaflet_control', ), - 'icon' => 'system/modules/leaflet/assets/img/map.png', - 'stylesheet' => 'system/modules/leaflet/assets/css/backend.css', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/map.png', + 'stylesheet' => 'bundles/netzmachtcontaoleaflet/css/backend.css', ), 'leaflet_layer' => array ( @@ -44,14 +44,14 @@ array_insert( 'tl_leaflet_style', 'tl_leaflet_popup', ), - 'icon' => 'system/modules/leaflet/assets/img/layers.png', - 'stylesheet' => 'system/modules/leaflet/assets/css/backend.css', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/layers.png', + 'stylesheet' => 'bundles/netzmachtcontaoleaflet/css/backend.css', ), 'leaflet_about' => array ( 'callback' => 'Netzmacht\Contao\Leaflet\Backend\About', - 'icon' => 'system/modules/leaflet/assets/img/about.png', - 'stylesheet' => 'system/modules/leaflet/assets/css/about.css', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/about.png', + 'stylesheet' => 'bundles/netzmachtcontaoleaflet/css/about.css', ) ) ) diff --git a/src/Resources/contao/dca/tl_leaflet_icon.php b/src/Resources/contao/dca/tl_leaflet_icon.php index b1f681d..17be690 100644 --- a/src/Resources/contao/dca/tl_leaflet_icon.php +++ b/src/Resources/contao/dca/tl_leaflet_icon.php @@ -49,21 +49,21 @@ $GLOBALS['TL_DCA']['tl_leaflet_icon'] = array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_icon']['layersBtn'], 'href' => 'table=tl_leaflet_layer', - 'icon' => 'system/modules/leaflet/assets/img/layers.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/layers.png', 'attributes' => 'onclick="Backend.getScrollOffset();" accesskey="e"' ), 'styles' => array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_icon']['styles'], 'href' => 'table=tl_leaflet_style', - 'icon' => 'system/modules/leaflet/assets/img/style.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/style.png', 'attributes' => 'onclick="Backend.getScrollOffset();"' ), 'popups' => array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_icon']['popups'], 'href' => 'table=tl_leaflet_popup', - 'icon' => 'system/modules/leaflet/assets/img/popup.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/popup.png', 'attributes' => 'onclick="Backend.getScrollOffset();"' ), 'all' => array diff --git a/src/Resources/contao/dca/tl_leaflet_layer.php b/src/Resources/contao/dca/tl_leaflet_layer.php index 17e1504..9a70e95 100644 --- a/src/Resources/contao/dca/tl_leaflet_layer.php +++ b/src/Resources/contao/dca/tl_leaflet_layer.php @@ -37,7 +37,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = [ 'mode' => 5, 'fields' => ['title'], 'flag' => 1, - 'icon' => 'system/modules/leaflet/assets/img/layers.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/layers.png', 'panelLayout' => 'filter;search,limit', 'paste_button_callback' => ['netzmacht.contao_leaflet_maps.listeners.dca.layer', 'getPasteButtons'], ], @@ -50,19 +50,19 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = [ 'styles' => [ 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['styles'], 'href' => 'table=tl_leaflet_style', - 'icon' => 'system/modules/leaflet/assets/img/style.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/style.png', 'attributes' => 'onclick="Backend.getScrollOffset();"', ], 'icons' => [ 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['icons'], 'href' => 'table=tl_leaflet_icon', - 'icon' => 'system/modules/leaflet/assets/img/icons.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/icons.png', 'attributes' => 'onclick="Backend.getScrollOffset();"', ], 'popups' => [ 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['popups'], 'href' => 'table=tl_leaflet_popup', - 'icon' => 'system/modules/leaflet/assets/img/popup.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/popup.png', 'attributes' => 'onclick="Backend.getScrollOffset();"', ], 'all' => [ diff --git a/src/Resources/contao/dca/tl_leaflet_map.php b/src/Resources/contao/dca/tl_leaflet_map.php index 1bbfb05..63dc70c 100644 --- a/src/Resources/contao/dca/tl_leaflet_map.php +++ b/src/Resources/contao/dca/tl_leaflet_map.php @@ -68,7 +68,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_map'] = array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_map']['controls'], 'href' => 'table=tl_leaflet_control', - 'icon' => 'system/modules/leaflet/assets/img/control.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/control.png', 'attributes' => 'onclick="Backend.getScrollOffset();" accesskey="e"' ), 'copy' => array diff --git a/src/Resources/contao/dca/tl_leaflet_marker.php b/src/Resources/contao/dca/tl_leaflet_marker.php index dda7d75..5ccc567 100644 --- a/src/Resources/contao/dca/tl_leaflet_marker.php +++ b/src/Resources/contao/dca/tl_leaflet_marker.php @@ -55,14 +55,14 @@ $GLOBALS['TL_DCA']['tl_leaflet_marker'] = array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_marker']['icons'], 'href' => 'table=tl_leaflet_icon&id=', - 'icon' => 'system/modules/leaflet/assets/img/icons.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/icons.png', 'attributes' => 'onclick="Backend.getScrollOffset();" accesskey="e"' ), 'popups' => array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_marker']['popups'], 'href' => 'table=tl_leaflet_popup', - 'icon' => 'system/modules/leaflet/assets/img/popup.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/popup.png', 'attributes' => 'onclick="Backend.getScrollOffset();"' ), 'all' => array diff --git a/src/Resources/contao/dca/tl_leaflet_popup.php b/src/Resources/contao/dca/tl_leaflet_popup.php index 2269ec0..1b595cc 100644 --- a/src/Resources/contao/dca/tl_leaflet_popup.php +++ b/src/Resources/contao/dca/tl_leaflet_popup.php @@ -49,21 +49,21 @@ $GLOBALS['TL_DCA']['tl_leaflet_popup'] = array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_popup']['layersBtn'], 'href' => 'table=tl_leaflet_layer', - 'icon' => 'system/modules/leaflet/assets/img/layers.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/layers.png', 'attributes' => 'onclick="Backend.getScrollOffset();" accesskey="e"' ), 'styles' => array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_popup']['styles'], 'href' => 'table=tl_leaflet_style', - 'icon' => 'system/modules/leaflet/assets/img/style.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/style.png', 'attributes' => 'onclick="Backend.getScrollOffset();"' ), 'icons' => array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_popup']['icons'], 'href' => 'table=tl_leaflet_icon', - 'icon' => 'system/modules/leaflet/assets/img/icons.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/icons.png', 'attributes' => 'onclick="Backend.getScrollOffset();"' ), 'all' => array diff --git a/src/Resources/contao/dca/tl_leaflet_style.php b/src/Resources/contao/dca/tl_leaflet_style.php index 53987be..39c19d2 100644 --- a/src/Resources/contao/dca/tl_leaflet_style.php +++ b/src/Resources/contao/dca/tl_leaflet_style.php @@ -49,21 +49,21 @@ $GLOBALS['TL_DCA']['tl_leaflet_style'] = array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_style']['layersBtn'], 'href' => 'table=tl_leaflet_layer', - 'icon' => 'system/modules/leaflet/assets/img/layers.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/layers.png', 'attributes' => 'onclick="Backend.getScrollOffset();" accesskey="e"' ), 'icons' => array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_style']['icons'], 'href' => 'table=tl_leaflet_icon', - 'icon' => 'system/modules/leaflet/assets/img/icons.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/icons.png', 'attributes' => 'onclick="Backend.getScrollOffset();"' ), 'popups' => array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_style']['popups'], 'href' => 'table=tl_leaflet_popup', - 'icon' => 'system/modules/leaflet/assets/img/popup.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/popup.png', 'attributes' => 'onclick="Backend.getScrollOffset();"' ), 'all' => array diff --git a/src/Resources/contao/dca/tl_leaflet_vector.php b/src/Resources/contao/dca/tl_leaflet_vector.php index b5c969c..d5a13c9 100644 --- a/src/Resources/contao/dca/tl_leaflet_vector.php +++ b/src/Resources/contao/dca/tl_leaflet_vector.php @@ -55,14 +55,14 @@ $GLOBALS['TL_DCA']['tl_leaflet_vector'] = array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_vector']['styles'], 'href' => 'table=tl_leaflet_style', - 'icon' => 'system/modules/leaflet/assets/img/style.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/style.png', 'attributes' => 'onclick="Backend.getScrollOffset();"' ), 'popups' => array ( 'label' => &$GLOBALS['TL_LANG']['tl_leaflet_vector']['popups'], 'href' => 'table=tl_leaflet_popup', - 'icon' => 'system/modules/leaflet/assets/img/popup.png', + 'icon' => 'bundles/netzmachtcontaoleaflet/img/popup.png', 'attributes' => 'onclick="Backend.getScrollOffset();"' ), 'all' => array diff --git a/src/Resources/contao/templates/be_leaflet_about.html5 b/src/Resources/contao/templates/be_leaflet_about.html5 index 84c8e0c..c859416 100644 --- a/src/Resources/contao/templates/be_leaflet_about.html5 +++ b/src/Resources/contao/templates/be_leaflet_about.html5 @@ -18,7 +18,7 @@
> - +

netzmacht
David Molineus