Run composer require checker and solve issues.

This commit is contained in:
David Molineus
2018-08-23 14:35:25 +02:00
parent e73a4d4bdf
commit 3d45f6b2eb
29 changed files with 98 additions and 50 deletions

View File

@@ -12,6 +12,8 @@
namespace Netzmacht\Contao\Leaflet\Backend;
use Contao\BackendTemplate;
/**
* Credits backend module.
*
@@ -26,7 +28,7 @@ class About
*/
public function generate()
{
$template = new \BackendTemplate('be_leaflet_about');
$template = new BackendTemplate('be_leaflet_about');
$template->headline = 'Leaftlet maps integration for Contao CMS';
$template->libraries = $this->getLibraries();
@@ -57,9 +59,8 @@ class About
if ($library['homepage']) {
$library['homepage'] = sprintf(
'<a href="%s" %s>%s</a>',
'<a href="%s" target="_blank">%s</a>',
$library['homepage'],
LINK_NEW_WINDOW,
preg_replace('#^(https?://(www)?)#i', '', $library['homepage'])
);
}