mail.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <table cellspacing="0" cellpadding="0" border="0" width="100%">
  2. <tr><td>
  3. <table cellspacing="0" cellpadding="0" border="0" width="600px">
  4. <tr>
  5. <td bgcolor="<?php p($theme->getMailHeaderColor());?>" width="20px">&nbsp;</td>
  6. <td bgcolor="<?php p($theme->getMailHeaderColor());?>">
  7. <img src="<?php p(OC_Helper::makeURLAbsolute(image_path('', 'logo-mail.gif'))); ?>" alt="<?php p($theme->getName()); ?>"/>
  8. </td>
  9. </tr>
  10. <tr><td colspan="2">&nbsp;</td></tr>
  11. <tr>
  12. <td width="20px">&nbsp;</td>
  13. <td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">
  14. <?php
  15. print_unescaped($l->t('Hey there,<br><br>just letting you know that %s shared <strong>%s</strong> with you.<br><a href="%s">View it!</a><br><br>', array($_['user_displayname'], $_['filename'], $_['link'])));
  16. if ( isset($_['expiration']) ) {
  17. p($l->t("The share will expire on %s.", array($_['expiration'])));
  18. print_unescaped('<br><br>');
  19. }
  20. p($l->t('Cheers!'));
  21. ?>
  22. </td>
  23. </tr>
  24. <tr><td colspan="2">&nbsp;</td></tr>
  25. <tr>
  26. <td width="20px">&nbsp;</td>
  27. <td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">--<br>
  28. <?php p($theme->getName()); ?> -
  29. <?php p($theme->getSlogan()); ?>
  30. <br><a href="<?php p($theme->getBaseUrl()); ?>"><?php p($theme->getBaseUrl());?></a>
  31. </td>
  32. </tr>
  33. <tr>
  34. <td colspan="2">&nbsp;</td>
  35. </tr>
  36. </table>
  37. </td></tr>
  38. </table>