Bugfix to make logo working as wanted
This commit is contained in:
parent
8dcc0e7678
commit
73ca577fb8
2 changed files with 7 additions and 3 deletions
|
@ -55,17 +55,21 @@ include "version.php";
|
||||||
<?php
|
<?php
|
||||||
$logourl = "";
|
$logourl = "";
|
||||||
if (getDMRNetwork() == "BrandMeister") {
|
if (getDMRNetwork() == "BrandMeister") {
|
||||||
if (defined(BRANDMEISTERLOGO))
|
if (strlen(BRANDMEISTERLOGO)>0) {
|
||||||
$logourl = BRANDMEISTERLOGO;
|
$logourl = BRANDMEISTERLOGO;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (getDMRNetwork() == "DMRplus") {
|
if (getDMRNetwork() == "DMRplus") {
|
||||||
if (defined(DMRPLUSLOGO))
|
if (strlen(DMRPLUSLOGO)>0) {
|
||||||
$logourl = DMRPLUSLOGO;
|
$logourl = DMRPLUSLOGO;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($logourl == "") {
|
if ($logourl == "") {
|
||||||
$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>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
define("VERSION", "20161107-1");
|
define("VERSION", "20161107-2");
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue