1
0

mail.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /** @var OC_Theme $theme */
  3. /** @var array $_ */
  4. ?>
  5. <table cellspacing="0" cellpadding="0" border="0" width="100%">
  6. <tr><td>
  7. <table cellspacing="0" cellpadding="0" border="0" width="600px">
  8. <tr>
  9. <td colspan="2" bgcolor="<?php p($theme->getColorPrimary());?>">
  10. <img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL(image_path('', 'logo-mail.png'))); ?>" alt="<?php p($theme->getName()); ?>"/>
  11. </td>
  12. </tr>
  13. <tr><td colspan="2">&nbsp;</td></tr>
  14. <tr>
  15. <td width="20px">&nbsp;</td>
  16. <td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">
  17. <?php
  18. print_unescaped($l->t('Hey there,<br><br>the admin enabled server-side-encryption. Your files were encrypted using the password <strong>%s</strong>.<br><br>Please login to the web interface, go to the section "basic encryption module" of your personal settings and update your encryption password by entering this password into the "old log-in password" field and your current login-password.<br><br>', [$_['password']]));
  19. // TRANSLATORS term at the end of a mail
  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>