mail.php 1.4 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::$server->getURLGenerator()->getAbsoluteURL(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. // TRANSLATORS term at the end of a mail
  21. p($l->t('Cheers!'));
  22. ?>
  23. </td>
  24. </tr>
  25. <tr><td colspan="2">&nbsp;</td></tr>
  26. <tr>
  27. <td width="20px">&nbsp;</td>
  28. <td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">--<br>
  29. <?php p($theme->getName()); ?> -
  30. <?php p($theme->getSlogan()); ?>
  31. <br><a href="<?php p($theme->getBaseUrl()); ?>"><?php p($theme->getBaseUrl());?></a>
  32. </td>
  33. </tr>
  34. <tr>
  35. <td colspan="2">&nbsp;</td>
  36. </tr>
  37. </table>
  38. </td></tr>
  39. </table>