Slight improvements to file security (scan for more bad characters)
[moodle.git] / auth / db / config.html
CommitLineData
35a48c9a 1<tr valign="top">
2 <TD ALIGN=RIGHT><P>auth_dbhost:</TD>
3 <TD>
4 <INPUT name=auth_dbhost TYPE=text SIZE=30 VALUE="<?=$config->auth_dbhost?>">
5 <? formerr($err["auth_dbhost"]); ?>
6 </TD>
7 <TD>
8 <? print_string("auth_dbhost","auth") ?>
9 </TD>
10</TR>
11
12<TR VALIGN=TOP>
13 <TD ALIGN=RIGHT><P>auth_dbtype:</TD>
14 <TD>
15 <? $dbtypes = array("access","ado_access", "ado", "ado_mssql", "borland_ibase", "csv", "db2", "fbsql", "firebird", "ibase", "informix72", "informix", "mssql", "mysql", "mysqlt", "oci805", "oci8", "oci8po", "odbc", "odbc_mssql", "odbc_oracle", "oracle", "postgres64", "postgres7", "postgres", "proxy", "sqlanywhere", "sybase", "vfp");
16 choose_from_menu($dbtypes, "auth_dbtype", $config->auth_dbtype, "");
17 ?>
18
19 </TD>
20 <TD>
21 <? print_string("auth_dbtype","auth") ?>
22 </TD>
23</TR>
24
25<TR VALIGN=TOP>
26 <TD ALIGN=RIGHT><P>auth_dbname:</TD>
27 <TD>
28 <INPUT name=auth_dbname TYPE=text SIZE=30 VALUE="<?=$config->auth_dbname?>">
29 <? formerr($err["auth_dbname"]); ?>
30 </TD>
31 <TD>
32 <? print_string("auth_dbname","auth") ?>
33 </TD>
34</TR>
35
36<TR VALIGN=TOP>
37 <TD ALIGN=RIGHT><P>auth_dbuser:</TD>
38 <TD>
39 <INPUT name=auth_dbuser TYPE=text SIZE=30 VALUE="<?=$config->auth_dbuser?>">
40 <? formerr($err["auth_dbuser"]); ?>
41 </TD>
42 <TD>
43 <? print_string("auth_dbuser","auth") ?>
44 </TD>
45</TR>
46
47<TR VALIGN=TOP>
48 <TD ALIGN=RIGHT><P>auth_dbpass:</TD>
49 <TD>
50 <INPUT name="auth_dbpass" TYPE="text" SIZE="30" VALUE="<?=$config->auth_dbpass?>">
51 <? formerr($err["auth_dbpass"]); ?>
52 </TD>
53 <TD>
54 <? print_string("auth_dbpass","auth") ?>
55 </TD>
56</TR>
57
58<TR VALIGN=TOP>
59 <TD ALIGN=RIGHT><P>auth_dbtable:</TD>
60 <TD>
61 <INPUT name="auth_dbtable" TYPE="text" SIZE="30" VALUE="<?=$config->auth_dbtable?>">
62 <? formerr($err["auth_dbtable"]); ?>
63 </TD>
64 <TD>
65 <? print_string("auth_dbtable","auth") ?>
66 </TD>
67</TR>
68
69<TR VALIGN=TOP>
70 <TD ALIGN=RIGHT><P>auth_dbfielduser:</TD>
71 <TD>
72 <INPUT name="auth_dbfielduser" TYPE="text" SIZE="30" VALUE="<?=$config->auth_dbfielduser?>">
73 <? formerr($err["auth_dbfielduser"]); ?>
74 </TD>
75 <TD>
76 <? print_string("auth_dbfielduser","auth") ?>
77 </TD>
78</TR>
79
80<TR VALIGN=TOP>
81 <TD ALIGN=RIGHT><P>auth_dbfieldpass:</TD>
82 <TD>
83 <INPUT name="auth_dbfieldpass" TYPE="text" SIZE="30" VALUE="<?=$config->auth_dbfieldpass?>">
84 <? formerr($err["auth_dbfieldpass"]); ?>
85 </TD>
86 <TD>
87 <? print_string("auth_dbfieldpass","auth") ?>
88 </TD>
89</TR>
90
91<TR VALIGN=TOP>
92 <TD ALIGN=RIGHT><P>auth_instructions:</TD>
93 <TD>
94 <TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><? p($config->auth_instructions) ?></TEXTAREA>
95 </TD>
96 <TD>
97 <? print_string("authinstructions","auth") ?>
98 <? helpbutton("text", get_string("helptext")) ?>
99 </TD>
100</TR>