summaryrefslogtreecommitdiff
path: root/views/mailtemplates
diff options
context:
space:
mode:
Diffstat (limited to 'views/mailtemplates')
-rw-r--r--views/mailtemplates/html/customer.phtml1
-rw-r--r--views/mailtemplates/html/logo.phtml7
2 files changed, 7 insertions, 1 deletions
diff --git a/views/mailtemplates/html/customer.phtml b/views/mailtemplates/html/customer.phtml
index f016d78..181fbcc 100644
--- a/views/mailtemplates/html/customer.phtml
+++ b/views/mailtemplates/html/customer.phtml
@@ -1,3 +1,4 @@
+
<?php if ($this->hasMod('wpsg_mod_shippingadress') && $this->callMod('wpsg_mod_shippingadress', 'check_different_shippingadress', array('k_id' => $this->view['basket']['checkout']['k_id'], 'o_id' => $this->view['o_id']))) { ?>
<h2><?php echo __('Rechnungsadresse:', 'wpsg'); ?></h2>
diff --git a/views/mailtemplates/html/logo.phtml b/views/mailtemplates/html/logo.phtml
index a080084..c4ecb8d 100644
--- a/views/mailtemplates/html/logo.phtml
+++ b/views/mailtemplates/html/logo.phtml
@@ -4,6 +4,9 @@
</style>
<?php
+
+ $logoPath = '';
+
if($this->get_option('wpsg_email_logo_activated'))
{
@@ -26,8 +29,10 @@
}
?>
-<?php if(file_exists($logoPath) && $this->get_option('wpsg_email_logo_activated')) { ?>
+<?php if (file_exists($logoPath) && $this->get_option('wpsg_email_logo_activated')) { ?>
+
<?php echo "<div class='email-logo $logoWatermark' style='text-align:$logoAlignment; opacity:$logoTransparency;'>" ?>
<?php echo "<img alt='Emaillogo' class='email-logo-$logoAlignment' src='$logoBase64'>"; ?>
<?php echo "</div>"; ?>
+
<?php } ?>