email.new_user.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 you now have an %s account.<br><br>Your username: %s<br>Access it: <a href="%s">%s</a><br><br>', array($theme->getName(), $_['username'], $_['url'], $_['url'])));
  16. // TRANSLATORS term at the end of a mail
  17. p($l->t('Cheers!'));
  18. ?>
  19. </td>
  20. </tr>
  21. <tr><td colspan="2">&nbsp;</td></tr>
  22. <tr>
  23. <td width="20px">&nbsp;</td>
  24. <td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">--<br>
  25. <?php p($theme->getName()); ?> -
  26. <?php p($theme->getSlogan()); ?>
  27. <br><a href="<?php p($theme->getBaseUrl()); ?>"><?php p($theme->getBaseUrl());?></a>
  28. </td>
  29. </tr>
  30. <tr>
  31. <td colspan="2">&nbsp;</td>
  32. </tr>
  33. </table>
  34. </td></tr>
  35. </table>