Rename credits to about.

This commit is contained in:
David Molineus
2015-01-19 09:54:33 +01:00
parent 687e2166b9
commit abab5e4dc5
7 changed files with 17 additions and 11 deletions

BIN
module/assets/img/about.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 657 B

View File

@@ -41,11 +41,11 @@ array_insert(
'icon' => 'system/modules/leaflet/assets/img/layers.png',
'stylesheet' => 'system/modules/leaflet/assets/css/backend.css',
),
'leaflet_credits' => array
'leaflet_about' => array
(
'callback' => 'Netzmacht\Contao\Leaflet\Backend\Credits',
'icon' => 'system/modules/leaflet/assets/img/info.png',
'stylesheet' => 'system/modules/leaflet/assets/css/credits.css',
'callback' => 'Netzmacht\Contao\Leaflet\Backend\About',
'icon' => 'system/modules/leaflet/assets/img/about.png',
'stylesheet' => 'system/modules/leaflet/assets/css/about.css',
)
)
)

View File

@@ -6,8 +6,8 @@ $GLOBALS['TL_LANG']['MOD']['leaflet_map'][0] = 'Leaflet Maps';
$GLOBALS['TL_LANG']['MOD']['leaflet_map'][1] = 'Manage Leaflet maps';
$GLOBALS['TL_LANG']['MOD']['leaflet_layer'][0] = 'Map Layers';
$GLOBALS['TL_LANG']['MOD']['leaflet_layer'][1] = 'Manage map layers';
$GLOBALS['TL_LANG']['MOD']['leaflet_credits'][0] = 'Support it';
$GLOBALS['TL_LANG']['MOD']['leaflet_credits'][1] = 'Contao leaflet integration credits';
$GLOBALS['TL_LANG']['MOD']['leaflet_about'][0] = 'About';
$GLOBALS['TL_LANG']['MOD']['leaflet_about'][1] = 'About the Leaflet integration for Contao';
$GLOBALS['TL_LANG']['MOD']['tl_leaflet_map'] = 'Maps';
$GLOBALS['TL_LANG']['MOD']['tl_leaflet_layer'] = 'Layers';

View File

@@ -88,6 +88,12 @@
<td><a href="http://creativecommons.org/licenses/by/3.0/us/" target="_blank">CC BY 3.0 US</a></td>
<td><a href="http://www.fatcow.com/free-icons" target="_blank">fatcow.com/free-icons</a></td>
</tr>
<tr>
<td>Web Blog Icons by SEM Labs</td>
<td>3.9.2</td>
<td><a href="http://creativecommons.org/licenses/by/4.0/" target="_blank">CC BY 4.0</a></td>
<td><a href="http://semlabs.co.uk/" target="_blank">semlabs.co.uk</a></td>
</tr>
<?php if ($this->dependencies): ?>
<tr><th colspan="4" class="subtitle">Dependencies</th> </tr>
<?php endif; ?>

View File

@@ -16,7 +16,7 @@ namespace Netzmacht\Contao\Leaflet\Backend;
*
* @package Netzmacht\Contao\Leaflet\Backend
*/
class Credits
class About
{
/**
* Generate the backend view.