Moodle authentication plugin for Macaroons

config.html 670B

123456789101112131415161718192021222324
  1. <?php
  2. if(!isset($config->email_config)) {
  3. $config->email_config = '';
  4. }
  5. ?>
  6. <table cellspacing="0" cellpadding="5" border="0">
  7. <tr>
  8. <td colspan="3">
  9. <h3>Macaroons configuration</h3>
  10. </td>
  11. </tr>
  12. <tr>
  13. <td align="right">
  14. <label for="email_config">
  15. E-mail template
  16. </label>
  17. </td>
  18. <td>
  19. <input name="email_config" id="email_config" type="text" size="50" value="<?php echo $config->email_config; ?>" />
  20. </td>
  21. <td>Template for emails. Available placeholders are {{firstname}} and {{lastname}}.<br />
  22. eg: {{firstname}}.{{lastname}}@company.tld</td>
  23. </tr>
  24. </table>