[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 <?php 2 3 // set to defaults if undefined 4 if (!isset($config->host)) { 5 $config->host = "127.0.0.1"; 6 } 7 if (!isset($config->fppport)) { 8 $config->fppport = "3333"; 9 } 10 if (!isset($config->userid)) { 11 $config->userid = "fcMoodle"; 12 } 13 if (!isset($config->passwd)) { 14 $config->passwd = ""; 15 } 16 if (!isset($config->creators)) { 17 $config->creators = ""; 18 } 19 if (!isset($config->changepasswordurl)) { 20 $config->changepasswordurl = ''; 21 } 22 if (!isset($config->changepasswordurl)) { 23 $config->changepasswordurl = ''; 24 } 25 26 ?> 27 <table cellspacing="0" cellpadding="5" border="0"> 28 29 <tr valign="top" class="required"> 30 <td align="right"><label for="host"><?php print_string("auth_fchost_key", "auth_fc") ?>:</label></td> 31 <td> 32 <input name="host" id="host" type="text" size="30" value="<?php echo $config->host?>" /> 33 <?php if (isset($err["host"])) echo $OUTPUT->error_text($err["host"]); ?> 34 </td> 35 <td> 36 <?php print_string("auth_fchost", "auth_fc") ?> 37 </td> 38 </tr> 39 40 <tr valign="top" class="required"> 41 <td align="right"><label for="fppport"><?php print_string("auth_fcfppport_key", "auth_fc") ?>: </label></td> 42 <td> 43 <input name="fppport" id="fppport" type="text" size="30" value="<?php echo $config->fppport?>" /> 44 <?php if (isset($err["fppport"])) echo $OUTPUT->error_text($err["host"]); ?> 45 </td> 46 <td> 47 <?php print_string("auth_fcfppport", "auth_fc") ?> 48 </td> 49 </tr> 50 51 <tr valign="top" class="required"> 52 <td align="right"><label for="userid"><?php print_string("auth_fcuserid_key", "auth_fc") ?>:</label></td> 53 <td> 54 <input name="userid" id="userid" type="text" size="30" maxlength="15" value="<?php echo $config->userid?>" /> 55 <?php if (isset($err["userid"])) echo $OUTPUT->error_text($err["userid"]); ?> 56 </td> 57 <td> 58 <?php print_string("auth_fcuserid", "auth_fc") ?> 59 </td> 60 </tr> 61 <tr valign="top" class="required"> 62 <td align="right"><label for="passwd"><?php print_string("auth_fcpasswd_key", "auth_fc") ?>:</label></td> 63 <td> 64 <input name="passwd" id="passwd" type="password" size="30" maxlength="12" value="<?php echo $config->passwd?>" autocomplete="off"/> 65 <?php if (isset($err["passwd"])) echo $OUTPUT->error_text($err["passwd"]); ?> 66 </td> 67 <td> 68 <?php print_string("auth_fcpasswd", "auth_fc") ?> 69 </td> 70 </tr> 71 72 <tr valign="top" class="required"> 73 <td align="right"><label for="creators"><?php print_string("auth_fccreators_key", "auth_fc") ?>: </label></td> 74 <td> 75 <input name="creators" id="creators" type="text" size="30" value="<?php echo $config->creators?>" /> 76 <?php if (isset($err["creators"])) echo $OUTPUT->error_text($err["creators"]); ?> 77 </td> 78 <td> 79 <?php print_string("auth_fccreators", "auth_fc") ?> 80 </td> 81 </tr> 82 83 <tr valign="top"> 84 <td align="right"><label for="changepasswordurl"><?php print_string('auth_fcchangepasswordurl', 'auth_fc') ?>: </label></td> 85 <td> 86 <input name="changepasswordurl" id="changepasswordurl" type="text" value="<?php echo $config->changepasswordurl ?>" /> 87 <?php 88 89 if (isset($err['changepasswordurl'])) { 90 echo $OUTPUT->error_text($err['changepasswordurl']); 91 } 92 93 ?> 94 </td> 95 <td><?php print_string('changepasswordhelp', 'auth') ?></td> 96 </tr> 97 98 <?php 99 100 print_auth_lock_options($this->authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false); 101 102 ?> 103 </table>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |