change module title logo (D3) source to external asset

This commit is contained in:
Daniel Seifert 2020-06-16 10:05:31 +02:00
parent b0b0c93691
commit 3635f3c7e9
Signed by: DanielS
GPG Key ID: 8A7C4C6ED1915C6F
1 changed files with 2 additions and 4 deletions

View File

@ -13,16 +13,14 @@ use OxidEsales\Eshop\Core\Registry;
*/
$sMetadataVersion = '2.0';
$sStyle = class_exists(D3\Devhelper\Application\Controller\d3dev::class) ? "background-color: darkred; color: white; padding: 0 10px;" : "";
/**
* Module information
*/
$aModule = array(
'id' => 'd3dev',
'title' =>
(class_exists(D3\ModCfg\Application\Model\d3utils::class) ? D3\ModCfg\Application\Model\d3utils::getInstance()->getD3Logo() : 'D³') .
' <span style="'.$sStyle.';">TPL Development Tool</span>',
'<svg style="height:1em;width:1em"><image xlink:href="https://logos.oxidmodule.com/d3logo.svg" style="height:1em;width:1em" /></svg> '.
'TPL Development Tool',
'description' => array(
'de' => '<script type="text/javascript"><!--
function showNote() {