mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
some fixes for XHTML compliance
This commit is contained in:
parent
0cdd138180
commit
7ef0797dea
31 changed files with 867 additions and 756 deletions
|
@ -1,4 +1,4 @@
|
|||
<?PHP
|
||||
<?php
|
||||
if (!isset($config->auth_imaphost)) {
|
||||
$config->auth_imaphost = "127.0.0.1";
|
||||
}
|
||||
|
@ -9,51 +9,51 @@
|
|||
$config->auth_imapport = "143";
|
||||
}
|
||||
?>
|
||||
<tr valign="top" BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
||||
<TD ALIGN=RIGHT><P>auth_imaphost:</TD>
|
||||
<TD>
|
||||
<INPUT name=auth_imaphost TYPE=text SIZE=30 VALUE="<?php echo $config->auth_imaphost?>">
|
||||
<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
|
||||
<td align="right"><p>auth_imaphost:</td>
|
||||
<td>
|
||||
<input name="auth_imaphost" type="text" size="30" value="<?php echo $config->auth_imaphost?>" />
|
||||
<?php if (isset($err["auth_imaphost"])) formerr($err["auth_imaphost"]); ?>
|
||||
</TD>
|
||||
<TD>
|
||||
</td>
|
||||
<td>
|
||||
<?php print_string("auth_imaphost","auth") ?>
|
||||
<?php print_string("auth_multiplehosts","auth") ?>
|
||||
</TD>
|
||||
</TR>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
||||
<TD ALIGN=RIGHT><P>auth_imaptype:</TD>
|
||||
<TD>
|
||||
<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
|
||||
<td align="right"><p>auth_imaptype:</td>
|
||||
<td>
|
||||
<?php $imaptypes = array("imap","imapssl", "imapcert", "imaptls");
|
||||
foreach($imaptypes as $imaptype) {
|
||||
$imapoptions[$imaptype] = $imaptype;
|
||||
}
|
||||
choose_from_menu($imapoptions, "auth_imaptype", $config->auth_imaptype, "");
|
||||
?>
|
||||
</TD>
|
||||
<TD>
|
||||
</td>
|
||||
<td>
|
||||
<?php print_string("auth_imaptype","auth") ?>
|
||||
</TD>
|
||||
</TR>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
||||
<TD ALIGN=RIGHT><P>auth_imapport:</TD>
|
||||
<TD>
|
||||
<INPUT name=auth_imapport TYPE=text SIZE=6 VALUE="<?php echo $config->auth_imapport?>">
|
||||
<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
|
||||
<td align="right"><p>auth_imapport:</td>
|
||||
<td>
|
||||
<input name="auth_imapport" type="text" size="6" value="<?php echo $config->auth_imapport?>" />
|
||||
<?php if (isset($err["auth_imapport"])) formerr($err["auth_imapport"]); ?>
|
||||
</TD>
|
||||
<TD>
|
||||
</td>
|
||||
<td>
|
||||
<?php print_string("auth_imapport","auth") ?>
|
||||
</TD>
|
||||
</TR>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<TR VALIGN=TOP>
|
||||
<TD ALIGN=RIGHT><P><?php print_string("instructions", "auth") ?>:</TD>
|
||||
<TD>
|
||||
<TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><?php p($config->auth_instructions) ?></TEXTAREA>
|
||||
</TD>
|
||||
<TD>
|
||||
<tr valign="top">
|
||||
<td align="right"><p><?php print_string("instructions", "auth") ?>:</td>
|
||||
<td>
|
||||
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
|
||||
</td>
|
||||
<td>
|
||||
<?php print_string("authinstructions","auth") ?>
|
||||
<?php helpbutton("text", get_string("helptext")) ?>
|
||||
</TD>
|
||||
</TR>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?PHP // $Id$
|
||||
<?php // $Id$
|
||||
// Authentication by looking up an IMAP server
|
||||
|
||||
function auth_user_login ($username, $password) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue