mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
115 lines
8.5 KiB
Twig
115 lines
8.5 KiB
Twig
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
<title>{{ subject }}</title>
|
|
</head>
|
|
<body>
|
|
<!-- Wrapper Table: to control the width and the background color consistently, instead of setting attributes on the body tag. -->
|
|
<table cellpadding="0" cellspacing="0" border="0" style="margin:0; padding:0; width:100% !important; line-height: 100% !important;">
|
|
<tr>
|
|
<td>
|
|
<!-- Header table -->
|
|
<table cellpadding="0" cellspacing="0" border="0" align="center" style="border-style:solid; border-width:1px; border-color:#494949; background-color: #494949;">
|
|
<tr>
|
|
<td width="10" height="40" valign="center" align="left" style="font-size:0px;"></td>
|
|
<td width="150" height="40" valign="center" align="left" style="font-family:Tahoma,sans-serif; font-size:22px; font-weight:normal; color:#FFF;">
|
|
{% if logoUrl is not none %}
|
|
<img src="{{ logoUrl }}" alt="{{ logoText }}" title="{{ logoText }}" width="140" height="30" style="display:block; outline:none; text-decoration:none; -ms-interpolation-mode: bicubic;" />
|
|
{% else %}
|
|
{{ logoText }}
|
|
{% endif %}
|
|
</td>
|
|
<td width="400" height="40" valign="center" align="center" style="font-family:Tahoma,sans-serif; font-size:14px; font-weight:bold; color:#FFF;">
|
|
{{ subject }}
|
|
</td>
|
|
<td width="160" height="40" valign="center" align="left" style="font-size:0px;"></td>
|
|
</tr>
|
|
</table>
|
|
<!-- End of header table -->
|
|
<!-- Content table -->
|
|
<table cellpadding="0" cellspacing="0" border="0" align="center" style="border-style:solid; border-width:1px; border-color:#494949; background-color:#FFF;">
|
|
<tr>
|
|
<td width="100" height="130" valign="top" align="center" style="font-size:0px;"></td>
|
|
<td width="620" height="130" valign="center" align="center">
|
|
<!-- Message Table -->
|
|
<table cellpadding="0" cellspacing="0" border="0" align="center">
|
|
<tr>
|
|
<td width="620" height="15" valign="center" align="center" style="font-size:0px;"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="620" height="115" valign="center" align="left" style="font-family:sans-serif,'Lucida Console'; font-size:14px; color:#494949;">
|
|
{% if senderName is not none and senderMail is not none %}
|
|
{{ senderName }} - <a href="mailto:{{ senderMail }}" target="_blank" style="color:#FFA500; color:#FFA500 !important; text-decoration:underline; cursor:pointer;">
|
|
<span style="color:#FFA500; color:#FFA500 !important; text-decoration:underline; cursor:pointer;">{{ senderMail }}</span></a><br/>
|
|
{% endif %}
|
|
<br/>
|
|
{{ messageText | nl2br }}
|
|
<br/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- End of message table -->
|
|
</td>
|
|
</tr>
|
|
{% if expiration is not none %}
|
|
<tr>
|
|
<td colspan="2" width="720" height="60" valign="center" align="center" style="font-family:sans-serif,'Lucida Console'; font-size:15px; font-weight:bold; text-transform:uppercase; color:#494949;">
|
|
Le lien suivant est valable jusque {{ app['date-formatter'].getDate(expiration) }} {{ app['date-formatter'].getTime(expiration) }}
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% if buttonText is not none and buttonUrl is not none %}
|
|
<tr>
|
|
<td colspan="2" width="720" height="70" valign="center" align="center" style="">
|
|
<!-- Button Table -->
|
|
<table cellpadding="0" cellspacing="0" border="0" align="center">
|
|
<tr>
|
|
<td colspan="3" width="720" height="15" valign="center" align="center" style="font-size:0px;"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="255" height="40" valign="center" align="center" style="font-size:0px;"></td>
|
|
<td width="210" height="40" valign="center" align="center" style="background-color:#FFA500; font-family:sans-serif,'Lucida Console'; font-size:14px; font-weight:bold; color:#FFF;">
|
|
<a href="{{ buttonUrl }}" target="_blank" style="color:#FFFFFF; color:#FFFFFF !important; text-decoration:none; cursor:pointer;">
|
|
<span style="color:#FFFFFF; color:#FFFFFF !important; text-decoration:none; cursor:pointer;">{{ buttonText }}</span>
|
|
</a>
|
|
</td>
|
|
<td width="255" height="40" valign="center" align="center" style="font-size:0px;"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" width="720" height="15" valign="center" align="center" style="font-size:0px;"></td>
|
|
</tr>
|
|
</table>
|
|
<!-- End of button table -->
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
<tr>
|
|
<td colspan="2" width="720" height="60" valign="center" align="center" style="font-family:sans-serif,'Lucida Console'; font-size:15px; font-weight:bold; text-transform:uppercase; color:#494949;">
|
|
Le contenu de cet email est confidentiel, ne le divulguez pas.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- End of content table -->
|
|
<!-- Footer table -->
|
|
<table cellpadding="0" cellspacing="0" border="0" align="center" style="border-style:solid; border-width:1px; border-color:#494949; background-color:#494949;">
|
|
<tr>
|
|
<td width="10" height="50" valign="center" align="left" style="font-size:0px;"></td>
|
|
<td width="710" height="50" valign="center" align="left" style="font-family:Tahoma,sans-serif; font-size:11px; font-style:italic; color:#FFF;">
|
|
Si cet email contient des liens non cliquables, copiez/collez ces liens dans votre navigateur.<br/>
|
|
Message automatique de Phraseanet - Pour gérer l'envoi d'email automatique, connectez-vous à
|
|
<a href="{{ phraseanetURL }}" target="_blank" style="color:#FFA500; color:#FFA500 !important; text-decoration:underline; font-weight:bold; cursor:pointer;">
|
|
<span style="color:#FFA500; color:#FFA500 !important; text-decoration:underline; font-weight:bold; cursor:pointer;">{{ phraseanetTitle }}</span>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- End of footer table -->
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- End of wrapper table -->
|
|
</body>
|
|
</html>
|