forked from Snck3rs/contao-leaflet-maps
Adjust assets path.
This commit is contained in:
@@ -30,8 +30,8 @@ array_insert(
|
|||||||
'tl_leaflet_map',
|
'tl_leaflet_map',
|
||||||
'tl_leaflet_control',
|
'tl_leaflet_control',
|
||||||
),
|
),
|
||||||
'icon' => 'system/modules/leaflet/assets/img/map.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/map.png',
|
||||||
'stylesheet' => 'system/modules/leaflet/assets/css/backend.css',
|
'stylesheet' => 'bundles/netzmachtcontaoleaflet/css/backend.css',
|
||||||
),
|
),
|
||||||
'leaflet_layer' => array
|
'leaflet_layer' => array
|
||||||
(
|
(
|
||||||
@@ -44,14 +44,14 @@ array_insert(
|
|||||||
'tl_leaflet_style',
|
'tl_leaflet_style',
|
||||||
'tl_leaflet_popup',
|
'tl_leaflet_popup',
|
||||||
),
|
),
|
||||||
'icon' => 'system/modules/leaflet/assets/img/layers.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/layers.png',
|
||||||
'stylesheet' => 'system/modules/leaflet/assets/css/backend.css',
|
'stylesheet' => 'bundles/netzmachtcontaoleaflet/css/backend.css',
|
||||||
),
|
),
|
||||||
'leaflet_about' => array
|
'leaflet_about' => array
|
||||||
(
|
(
|
||||||
'callback' => 'Netzmacht\Contao\Leaflet\Backend\About',
|
'callback' => 'Netzmacht\Contao\Leaflet\Backend\About',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/about.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/about.png',
|
||||||
'stylesheet' => 'system/modules/leaflet/assets/css/about.css',
|
'stylesheet' => 'bundles/netzmachtcontaoleaflet/css/about.css',
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -49,21 +49,21 @@ $GLOBALS['TL_DCA']['tl_leaflet_icon'] = array
|
|||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_icon']['layersBtn'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_icon']['layersBtn'],
|
||||||
'href' => 'table=tl_leaflet_layer',
|
'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"'
|
'attributes' => 'onclick="Backend.getScrollOffset();" accesskey="e"'
|
||||||
),
|
),
|
||||||
'styles' => array
|
'styles' => array
|
||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_icon']['styles'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_icon']['styles'],
|
||||||
'href' => 'table=tl_leaflet_style',
|
'href' => 'table=tl_leaflet_style',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/style.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/style.png',
|
||||||
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
||||||
),
|
),
|
||||||
'popups' => array
|
'popups' => array
|
||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_icon']['popups'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_icon']['popups'],
|
||||||
'href' => 'table=tl_leaflet_popup',
|
'href' => 'table=tl_leaflet_popup',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/popup.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/popup.png',
|
||||||
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
||||||
),
|
),
|
||||||
'all' => array
|
'all' => array
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = [
|
|||||||
'mode' => 5,
|
'mode' => 5,
|
||||||
'fields' => ['title'],
|
'fields' => ['title'],
|
||||||
'flag' => 1,
|
'flag' => 1,
|
||||||
'icon' => 'system/modules/leaflet/assets/img/layers.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/layers.png',
|
||||||
'panelLayout' => 'filter;search,limit',
|
'panelLayout' => 'filter;search,limit',
|
||||||
'paste_button_callback' => ['netzmacht.contao_leaflet_maps.listeners.dca.layer', 'getPasteButtons'],
|
'paste_button_callback' => ['netzmacht.contao_leaflet_maps.listeners.dca.layer', 'getPasteButtons'],
|
||||||
],
|
],
|
||||||
@@ -50,19 +50,19 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = [
|
|||||||
'styles' => [
|
'styles' => [
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['styles'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['styles'],
|
||||||
'href' => 'table=tl_leaflet_style',
|
'href' => 'table=tl_leaflet_style',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/style.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/style.png',
|
||||||
'attributes' => 'onclick="Backend.getScrollOffset();"',
|
'attributes' => 'onclick="Backend.getScrollOffset();"',
|
||||||
],
|
],
|
||||||
'icons' => [
|
'icons' => [
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['icons'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['icons'],
|
||||||
'href' => 'table=tl_leaflet_icon',
|
'href' => 'table=tl_leaflet_icon',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/icons.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/icons.png',
|
||||||
'attributes' => 'onclick="Backend.getScrollOffset();"',
|
'attributes' => 'onclick="Backend.getScrollOffset();"',
|
||||||
],
|
],
|
||||||
'popups' => [
|
'popups' => [
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['popups'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['popups'],
|
||||||
'href' => 'table=tl_leaflet_popup',
|
'href' => 'table=tl_leaflet_popup',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/popup.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/popup.png',
|
||||||
'attributes' => 'onclick="Backend.getScrollOffset();"',
|
'attributes' => 'onclick="Backend.getScrollOffset();"',
|
||||||
],
|
],
|
||||||
'all' => [
|
'all' => [
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_map'] = array
|
|||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_map']['controls'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_map']['controls'],
|
||||||
'href' => 'table=tl_leaflet_control',
|
'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"'
|
'attributes' => 'onclick="Backend.getScrollOffset();" accesskey="e"'
|
||||||
),
|
),
|
||||||
'copy' => array
|
'copy' => array
|
||||||
|
|||||||
@@ -55,14 +55,14 @@ $GLOBALS['TL_DCA']['tl_leaflet_marker'] = array
|
|||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_marker']['icons'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_marker']['icons'],
|
||||||
'href' => 'table=tl_leaflet_icon&id=',
|
'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"'
|
'attributes' => 'onclick="Backend.getScrollOffset();" accesskey="e"'
|
||||||
),
|
),
|
||||||
'popups' => array
|
'popups' => array
|
||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_marker']['popups'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_marker']['popups'],
|
||||||
'href' => 'table=tl_leaflet_popup',
|
'href' => 'table=tl_leaflet_popup',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/popup.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/popup.png',
|
||||||
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
||||||
),
|
),
|
||||||
'all' => array
|
'all' => array
|
||||||
|
|||||||
@@ -49,21 +49,21 @@ $GLOBALS['TL_DCA']['tl_leaflet_popup'] = array
|
|||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_popup']['layersBtn'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_popup']['layersBtn'],
|
||||||
'href' => 'table=tl_leaflet_layer',
|
'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"'
|
'attributes' => 'onclick="Backend.getScrollOffset();" accesskey="e"'
|
||||||
),
|
),
|
||||||
'styles' => array
|
'styles' => array
|
||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_popup']['styles'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_popup']['styles'],
|
||||||
'href' => 'table=tl_leaflet_style',
|
'href' => 'table=tl_leaflet_style',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/style.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/style.png',
|
||||||
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
||||||
),
|
),
|
||||||
'icons' => array
|
'icons' => array
|
||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_popup']['icons'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_popup']['icons'],
|
||||||
'href' => 'table=tl_leaflet_icon',
|
'href' => 'table=tl_leaflet_icon',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/icons.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/icons.png',
|
||||||
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
||||||
),
|
),
|
||||||
'all' => array
|
'all' => array
|
||||||
|
|||||||
@@ -49,21 +49,21 @@ $GLOBALS['TL_DCA']['tl_leaflet_style'] = array
|
|||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_style']['layersBtn'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_style']['layersBtn'],
|
||||||
'href' => 'table=tl_leaflet_layer',
|
'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"'
|
'attributes' => 'onclick="Backend.getScrollOffset();" accesskey="e"'
|
||||||
),
|
),
|
||||||
'icons' => array
|
'icons' => array
|
||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_style']['icons'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_style']['icons'],
|
||||||
'href' => 'table=tl_leaflet_icon',
|
'href' => 'table=tl_leaflet_icon',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/icons.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/icons.png',
|
||||||
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
||||||
),
|
),
|
||||||
'popups' => array
|
'popups' => array
|
||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_style']['popups'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_style']['popups'],
|
||||||
'href' => 'table=tl_leaflet_popup',
|
'href' => 'table=tl_leaflet_popup',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/popup.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/popup.png',
|
||||||
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
||||||
),
|
),
|
||||||
'all' => array
|
'all' => array
|
||||||
|
|||||||
@@ -55,14 +55,14 @@ $GLOBALS['TL_DCA']['tl_leaflet_vector'] = array
|
|||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_vector']['styles'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_vector']['styles'],
|
||||||
'href' => 'table=tl_leaflet_style',
|
'href' => 'table=tl_leaflet_style',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/style.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/style.png',
|
||||||
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
||||||
),
|
),
|
||||||
'popups' => array
|
'popups' => array
|
||||||
(
|
(
|
||||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_vector']['popups'],
|
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_vector']['popups'],
|
||||||
'href' => 'table=tl_leaflet_popup',
|
'href' => 'table=tl_leaflet_popup',
|
||||||
'icon' => 'system/modules/leaflet/assets/img/popup.png',
|
'icon' => 'bundles/netzmachtcontaoleaflet/img/popup.png',
|
||||||
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
'attributes' => 'onclick="Backend.getScrollOffset();"'
|
||||||
),
|
),
|
||||||
'all' => array
|
'all' => array
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<a href="http://www.netzmacht.de" <?php echo LINK_NEW_WINDOW; ?>>
|
<a href="http://www.netzmacht.de" <?php echo LINK_NEW_WINDOW; ?>>
|
||||||
<img src="system/modules/leaflet/assets/img/logo.png"></a>
|
<img src="bundles/netzmachtcontaoleaflet/img/logo.png"></a>
|
||||||
<p>
|
<p>
|
||||||
<strong class="company">netzmacht </strong><br>
|
<strong class="company">netzmacht </strong><br>
|
||||||
David Molineus<br>
|
David Molineus<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user