// new design for blocknewsletter mails template
This commit is contained in:
1 parent
6a552be7dd
commit
005a57b077
5 files changed
+130
No files matched your search
@@ -0,0 +1,15 @@
|
|||||||
|
<tr>
|
||||||
|
<td class="space_footer"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="footer">
|
||||||
|
<span><?php echo t('<a href="{shop_url}">{shop_name}</a> powered by <a href="http://www.prestashop.com/">PrestaShop™</a>'); ?></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="space"> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
<?php
|
||||||
|
if(!function_exists('t'))
|
||||||
|
{
|
||||||
|
function t($str)
|
||||||
|
{
|
||||||
|
return $str;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!function_exists('findRelativePathToAdminDir'))
|
||||||
|
{
|
||||||
|
function findRelativePathToAdminDir($maxDepth=6)
|
||||||
|
{
|
||||||
|
$path = '';
|
||||||
|
for($i=0; $i<$maxDepth; $i++)
|
||||||
|
{
|
||||||
|
foreach(scandir(dirname(__FILE__).'/'.$path) as $dir)
|
||||||
|
{
|
||||||
|
$candidate = $path.$dir.'/';
|
||||||
|
if(is_dir(dirname(__FILE__).'/'.$candidate.'tabs'))
|
||||||
|
{
|
||||||
|
return $candidate;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$path .= '../';
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$admin = findRelativePathToAdminDir();
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<title><?php echo t('Message from {shop_name}'); ?></title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="<?php echo $admin ?>themes/default/css/admin-theme/email.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table class="table table-mail">
|
||||||
|
<tr>
|
||||||
|
<td class="space"> </td>
|
||||||
|
<td align="center">
|
||||||
|
<table class="table">
|
||||||
|
<tr>
|
||||||
|
<td align="center" class="logo">
|
||||||
|
<a title="{shop_name}" href="{shop_url}">
|
||||||
|
<img src="{shop_logo}" alt="{shop_name}" />
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
<?php include ('header.php'); ?>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td align="center">
|
||||||
|
<span class="title"><?php echo t('Hi,'); ?></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="box">
|
||||||
|
<span><strong>
|
||||||
|
<?php echo t('Thank you for subscribing to our newsletter.'); ?>
|
||||||
|
</strong></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<?php include ('footer.php'); ?>
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
<?php include ('header.php'); ?>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td align="center">
|
||||||
|
<span class="title"><?php echo t('Hi,'); ?></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="box">
|
||||||
|
<span>
|
||||||
|
<?php echo t('Thank you for subscribing to our newsletter, please confirm your request by clicking the link below :'); ?><br/>
|
||||||
|
<span><strong><a href="{verif_url}">{verif_url}</a></strong></span>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<?php include ('footer.php'); ?>
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
<?php include ('header.php'); ?>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td align="center">
|
||||||
|
<span class="title"><?php echo t('Hi,'); ?></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="box">
|
||||||
|
<p>
|
||||||
|
<?php echo t('Newsletter subscription'); ?>
|
||||||
|
</p>
|
||||||
|
<span>
|
||||||
|
<?php echo t('Regarding your newsletter subscription, we are pleased to offer you the following voucher:'); ?> <span><strong>{discount}</strong></span>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<?php include ('footer.php'); ?>
|
||||||
Reference in new issue
Block a user