[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/auth/email/ -> config.html (source)

   1  <!-- No config needed -->
   2  <?php
   3      // set to defaults if undefined
   4      if (!isset($config->recaptcha)) {
   5          $config->recaptcha = false;
   6      }
   7  
   8      $yesno = array( get_string('no'), get_string('yes') );
   9  
  10  ?>
  11  
  12  <table cellspacing="0" cellpadding="5" border="0">
  13  <tr>
  14     <td colspan="3">
  15          <h2 class="main"><?php print_string('auth_emailsettings', 'auth_email') ?> </h2>
  16     </td>
  17  </tr>
  18  <tr>
  19      <td align="right"><label for="menurecaptcha"><?php print_string('auth_emailrecaptcha_key', 'auth_email') ?></label></td>
  20      <td><?php
  21          global $OUTPUT;
  22          echo html_writer::select($yesno, 'recaptcha', $config->recaptcha, false);
  23          ?></td>
  24      <td><?php print_string('auth_emailrecaptcha', 'auth_email') ?></td>
  25  </tr>
  26  <?php
  27  
  28  print_auth_lock_options($this->authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
  29  
  30  ?>
  31  </table>


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1