mimemail-message.tpl.php 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to format an HTML mail.
  5. *
  6. * Copy this file in your default theme folder to create a custom themed mail.
  7. * Rename it to mimemail-message--[key].tpl.php to override it for a
  8. * specific mail.
  9. *
  10. * Available variables:
  11. * - $recipient: The recipient of the message
  12. * - $subject: The message subject
  13. * - $body: The message body
  14. * - $css: Internal style sheets
  15. * - $key: The message identifier
  16. *
  17. * @see template_preprocess_mimemail_message()
  18. */
  19. ?>
  20. <html>
  21. <head>
  22. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  23. <?php if ($css): ?>
  24. <style type="text/css">
  25. <!--
  26. <?php print $css ?>
  27. -->
  28. </style>
  29. <?php endif; ?>
  30. </head>
  31. <body id="mimemail-body" style="font-family: "Ubuntu", Arial, "MS Trebuchet", sans-serif; background-color: #FEFEFE; color: #000000 !important; margin-bottom: 0; margin-left: 0px; margin-right: 0;
  32. margin-top: 0px; width: 500px;" bgcolor="#FEFEFE"
  33. <?php if ($key): print 'class="'. $key .'"'; endif; ?>>
  34. <center id="maildrupal">
  35. <!-- // Début du tableau \\ -->
  36. <table width="500px" cellspacing="0" cellpadding="0" border="0" style="align:left; border-color:#FFFFFF; background-color: #FEFEFE; border-width:0px; border-style:none;
  37. border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none;
  38. border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px;
  39. margin-right: 0px; margin-top: 0px;" bgcolor="#FEFEFE">
  40. <!-- // Début du Template Header\\ -->
  41. <table border="0" style=" width: 500px; align: left; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
  42. border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; " >
  43. <!-- <thead border="0" style=" width: 500px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
  44. border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; " >
  45. <tr border="0" style=" width: 500px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
  46. border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
  47. <td class="headerContent" style=" width: 500px; border-bottom-style: none; border-width:0px; border-style:none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
  48. border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
  49. <!-- <img src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/mailheader_600.gif" alt="materiO'" style="max-width:600px;"
  50. id="headerImage campaign-icon" mc:label="header_image" mc:edit="header_image" mc:allowdesigner mc:allowtext /> -->
  51. <!--
  52. </td>
  53. </tr> -->
  54. </thead>
  55. </table>
  56. <!-- // Fin du Template Header\\ -->
  57. <!-- // Début du Template Body\\ -->
  58. <center>
  59. <table border="0" style="width: 500px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
  60. border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; padding:10px;" >
  61. <tbody border="0" cellpadding="20" cellspacing="0" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px;
  62. border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px;
  63. border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
  64. <tr>
  65. <td valign="left" class="bodyContent" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px;
  66. border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px;
  67. border-top-style: none; border-top-width: 0px; padding:10px; padding-top:10px; padding-right:0px; padding-bottom:10px; padding-left:10px; ">
  68. <?php print $body; ?>
  69. </td>
  70. </tr>
  71. </tbody>
  72. </table>
  73. <!-- // Fin du Template Body\\ -->
  74. <!-- // Début du Template Footer\\ -->
  75. <table border="0" style="width: 500px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
  76. border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; padding:10px;" >
  77. <tfoot border="0" cellpadding="15" cellspacing="0" class="templateButton" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px;
  78. border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px;
  79. border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
  80. <tr>
  81. <td valign="left" class="templateButtonContent" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse;
  82. border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none;
  83. border-top-width: 0px; padding:5px; padding-top:5px; padding-right:0px; padding-bottom: 0px; padding-left:10px;">
  84. <!-- signature -->
  85. <div mc:edit="std_content01" >
  86. <a href="http://www.materio.com/" target="_blank"><img src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/logo_materio.png" alt="materiO'" style="max-width:200px; width:150;"
  87. id="signimage campaign-icon" mc:label="sign_image" mc:edit="sign_image" mc:allowdesigner mc:allowtext /></a><br>
  88. <div class= "boutons" style="margin:10px; margin-top:10px; margin-right:0px; margin-bottom:0px; margin-left:0px;">
  89. <p></p>
  90. <a title="Partager avec Twitter" href="http://twitter.com/intent/tweet?url=http://www.materio.com/">
  91. <img src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/bouton-twitter-160px.png"
  92. style="border:0 none; height:25px;" alt="Partager avec Twitter"></a>
  93. <a href="https://www.facebook.com/pages/mat%C3%A9riO/133485040188070?ref=hl">
  94. <img title="Facebook Page" src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/facebook_logo_transparent.png" style="border:0 none; height:25px;" alt="Facebook Page" />
  95. </a>
  96. <a href="http://facebook.com/sharer.php?u=http://www.materio.com/">
  97. <img title="Facebook Share Button" src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/partager-sur-facebook.jpg" style="border:0 none; height:25px;" alt="Facebook Share Button" />
  98. </a>
  99. <p></p>
  100. </div>
  101. <span class='adressContent' style="color: #202020; font-size: 11px; line-height: auto; padding-top:4px;">
  102. matériO' SAS <br>8, rue Chaptal<br>75009 Paris<br>info@materio.com</span>
  103. </div>
  104. </td>
  105. </tr>
  106. <tr>
  107. <td valign="left" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse;
  108. border-left-style: none;border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;
  109. font-size:11px; padding:10px; padding-top:10px; padding-right:0px; padding-bottom: 40px; padding-left:10px;">
  110. <div mc:edit="std_footer">
  111. <em>Copyright &copy; 2013 materiO', All rights reserved.</em>
  112. </div>
  113. </td>
  114. </tr>
  115. <tr>
  116. <td valign="left" id="utility" style="width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
  117. border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
  118. <div mc:edit="std_utility">
  119. </div>
  120. </td>
  121. </tr>
  122. </tfoot>
  123. </table>
  124. <!-- // Fin du Template Footer\\ -->
  125. </center>
  126. </table>
  127. <!-- // Fin du tableau \\ -->
  128. </center>
  129. </body>
  130. </html>