hopefully last bugfix in Logo...

This commit is contained in:
dg9vh 2016-11-07 11:31:54 +01:00
parent 73ca577fb8
commit 53dc465e61

View file

@ -55,12 +55,12 @@ include "version.php";
<?php <?php
$logourl = ""; $logourl = "";
if (getDMRNetwork() == "BrandMeister") { if (getDMRNetwork() == "BrandMeister") {
if (strlen(BRANDMEISTERLOGO)>0) { if (constant('BRANDMEISTERLOGO') !== NULL) {
$logourl = BRANDMEISTERLOGO; $logourl = BRANDMEISTERLOGO;
} }
} }
if (getDMRNetwork() == "DMRplus") { if (getDMRNetwork() == "DMRplus") {
if (strlen(DMRPLUSLOGO)>0) { if (constant('DMRPLUSLOGO') !== NULL) {
$logourl = DMRPLUSLOGO; $logourl = DMRPLUSLOGO;
} }
} }
@ -69,7 +69,6 @@ include "version.php";
$logourl = LOGO; $logourl = LOGO;
} }
echo $logourl;
if ($logourl !== "") { if ($logourl !== "") {
?> ?>
<div id="Logo" style="position:absolute;top:-43px;right:10px;"><img src="<?php echo $logourl ?>" width="250px" style="width:250px; border-radius:10px;box-shadow:2px 2px 2px #808080; padding:1px;background:#FFFFFF;border:1px solid #808080;" border="0" hspace="10" vspace="10" align="absmiddle"></div> <div id="Logo" style="position:absolute;top:-43px;right:10px;"><img src="<?php echo $logourl ?>" width="250px" style="width:250px; border-radius:10px;box-shadow:2px 2px 2px #808080; padding:1px;background:#FFFFFF;border:1px solid #808080;" border="0" hspace="10" vspace="10" align="absmiddle"></div>