summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2020-05-05 12:04:06 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2020-05-05 12:04:06 +0000
commit5d557ade80fc0153ac6b9ee7599df783b55760ab (patch)
tree9e92ff9b9111354b245ce73a57db005f9ead50d4 /views
parent7ba075c9740ec5d1c2f108fcd806488fcaf15da3 (diff)
- Bugfix: Logo in E-Mail Konfiguration lässt sich speichern / Task #726
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7716 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
-rw-r--r--views/css/admin.css1
-rw-r--r--views/mailtemplates/html/logo.phtml4
2 files changed, 3 insertions, 2 deletions
diff --git a/views/css/admin.css b/views/css/admin.css
index 29f8e16..f40bc15 100644
--- a/views/css/admin.css
+++ b/views/css/admin.css
@@ -78,6 +78,7 @@
.branch-5-3.wp-admin #wpsg-bs .checkbox input:before { margin:1px 0 0 1px; width:10px; height:10px; }
.branch-5-3 #wpsg-bs input[type=checkbox], input[type=radio] { width:16px; height:16px; }
.branch-5-3 #wpsg-bs input[type=checkbox]:checked::before { width:14px; height:14px; margin:0; }
+.branch-5-3 #wpsg-bs input[type=radio]:checked::before { width:6px; height:6px; margin:4px; }
/* Allgemeine Klassen */
.wpsg_grey { color:#999999; }
diff --git a/views/mailtemplates/html/logo.phtml b/views/mailtemplates/html/logo.phtml
index c4ecb8d..bbd3b1d 100644
--- a/views/mailtemplates/html/logo.phtml
+++ b/views/mailtemplates/html/logo.phtml
@@ -21,9 +21,9 @@
if(file_exists($logoPath))
{
- $logoType = pathinfo($logoPath);
+ $logoType = mime_content_type($logoPath);
$logoData = file_get_contents($logoPath);
- $logoBase64 = 'data:image/' . $logoType . ';base64,' . base64_encode($logoData);
+ $logoBase64 = 'data:'.$logoType.';base64,'.base64_encode($logoData);
}
}