email.new_user.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  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 colspan="2" bgcolor="<?php p($theme->getColorPrimary());?>" bordercolor="<?php p($theme->getColorPrimary());?>" border>
  6. <img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL(image_path('', 'logo-mail.png'))); ?>" alt="<?php p($theme->getName()); ?>"/>
  7. </td>
  8. </tr>
  9. <tr><td colspan="2">&nbsp;</td></tr>
  10. <tr>
  11. <td width="20px">&nbsp;</td>
  12. <td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">
  13. <?php
  14. print_unescaped($l->t('Hey there,<br><br>just letting you know that you now have a %s account.<br><br>Your username: <strong>%s</strong><br>Access it: <strong><a href="%s">%s</a></strong><br><br>', array($theme->getName(), $_['username'], $_['url'], $_['url'])));
  15. // TRANSLATORS term at the end of a mail
  16. p($l->t('Cheers!'));
  17. ?>
  18. </td>
  19. </tr>
  20. <tr><td colspan="2">&nbsp;</td></tr>
  21. <tr>
  22. <td width="20px">&nbsp;</td>
  23. <td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">--<br>
  24. <?php p($theme->getName()); ?> -
  25. <?php p($theme->getSlogan()); ?>
  26. <br><a href="<?php p($theme->getBaseUrl()); ?>"><?php p($theme->getBaseUrl());?></a>
  27. </td>
  28. </tr>
  29. <tr>
  30. <td colspan="2">&nbsp;</td>
  31. </tr>
  32. </table>
  33. </td></tr>
  34. </table>