mimemail-message--node.tpl.php 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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: 100%;" bgcolor="#FEFEFE"
  33. <?php if ($key): print 'class="'. $key .'"'; endif; ?>>
  34. <center id="maildrupal">
  35. <!-- // Début du tableau \\ -->
  36. <table width="100%" cellspacing="0" cellpadding="0" border="0" style="align: center; 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: center; 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. </td>
  52. </tr>
  53. </thead>
  54. </table>
  55. <!-- // Fin du Template Header\\ -->
  56. <!-- // Début du Template Body\\ -->
  57. <center>
  58. <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;
  59. 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;" >
  60. <tbody border="0" cellpadding="20" cellspacing="0" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px;
  61. border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px;
  62. border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
  63. <tr>
  64. <td valign="middle" class="bodyContent" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px;
  65. border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px;
  66. border-top-style: none; border-top-width: 0px; padding:30px; padding-top:30px; padding-right:0px; padding-bottom:10px; padding-left:40px; ">
  67. <?php print $body; ?>
  68. </td>
  69. </tr>
  70. </tbody>
  71. </table>
  72. <!-- // Fin du Template Body\\ -->
  73. <!-- // Début du Template Footer\\ -->
  74. <table valign="left" border="0" style="width: 550px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
  75. border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; padding:0px;" >
  76. <tfoot valign="left" border="0" cellpadding="15" cellspacing="0" class="templateButton" style=" width: 540px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px;
  77. border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px;
  78. border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
  79. <tr>
  80. <td valign="left" class="templateButtonContent" style=" width: 550px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse;
  81. border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none;
  82. border-top-width: 0px; padding:0px; padding-top:10px; padding-right:0px; padding-bottom: 0px; padding-left:0px;">
  83. <!-- signature -->
  84. <div mc:edit="std_content01" >
  85. <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;"
  86. id="signimage campaign-icon" mc:label="sign_image" mc:edit="sign_image" mc:allowdesigner mc:allowtext /></a><br>
  87. <div class= "boutons" style="margin:10px; margin-top:10px; margin-right:0px; margin-bottom:0px; margin-left:0px;">
  88. <p></p>
  89. <a title="Partager avec Twitter" href="http://twitter.com/intent/tweet?url=http://www.materio.com/">
  90. <img src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/bouton-twitter-160px.png"
  91. style="border:0 none; height:25px;" alt="Partager avec Twitter"></a>
  92. <a href="https://www.facebook.com/pages/mat%C3%A9riO/133485040188070?ref=hl">
  93. <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" />
  94. </a>
  95. <a href="http://facebook.com/sharer.php?u=http://www.materio.com/">
  96. <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" />
  97. </a>
  98. <a href="http://www.pinterest.com/hello0691/ze-daily-mat%C3%A9rio/">
  99. <img title="Pinterest" src="http://dev.materio.com/sites/all/themes/gui/materiobasetheme/img/pinterest-icon.png" style="border:0 none; height:25px;" alt="Pinterest" />
  100. </a>
  101. <p></p>
  102. </div>
  103. <span class='adressContent' style="color: #202020; font-size: 11px; line-height: auto; padding-top:4px;">
  104. matériO' SAS <br>8, rue Chaptal<br>75009 Paris</span>
  105. </div>
  106. </td>
  107. </tr>
  108. <tr>
  109. <td valign="middle" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse;
  110. 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;
  111. font-size:11px; padding:10px; padding-top:5px; padding-right:0px; padding-bottom: 10px; padding-left:0px;">
  112. <div mc:edit="std_footer">
  113. <em>Copyright &copy; 2015 materiO', All rights reserved.</em>
  114. </div>
  115. </td>
  116. </tr>
  117. <tr>
  118. <td valign="middle" 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;
  119. border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
  120. <div mc:edit="std_utility">
  121. </div>
  122. </td>
  123. </tr>
  124. </tfoot>
  125. </table>
  126. <!-- // Fin du Template Footer\\ -->
  127. </center>
  128. </table>
  129. <!-- // Fin du tableau \\ -->
  130. </center>
  131. </body>
  132. </html>