aff826833089cdd9f9b621107e0fb61e02156f60
[moodle.git] / auth / ldap / config.html
1 <tr valign="top" BGCOLOR="<?=$THEME->cellheading2 ?>">
2         <TD ALIGN=RIGHT><P>ldap_host_url:</TD>
3         <TD>
4         <INPUT name=ldap_host_url TYPE=text SIZE=30 VALUE="<?=$config->ldap_host_url?>">
5         <? formerr($err["ldap_host_url"]); ?>
6         </TD>
7     <TD>
8     <? print_string("auth_ldap_host_url","auth") ?>
9     </TD>
10 </TR>
12 <TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
13         <TD ALIGN=RIGHT><P>ldap_user_context:</TD>
14         <TD>
15     <INPUT name=ldap_contexts TYPE=text SIZE=30 VALUE="<?=$config->ldap_contexts?>">
16     <? formerr($err["ldap_contexts"]); ?>
17     </TD>
18     <TD>
19     <? print_string("auth_ldap_contexts","auth") ?>
20     </TD>
21 </TR>
23 <TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
24         <TD ALIGN=RIGHT><P>ldap_user_attribute:</TD>
25         <TD>
26     <INPUT name=ldap_user_attribute TYPE=text SIZE=30 VALUE="<?=$config->ldap_user_attribute?>">
27     <? formerr($err["ldap_user_attribute"]); ?>
28     </TD>
29     <TD>
30     <? print_string("auth_ldap_user_attribute","auth") ?>
31     </TD>
32 </TR>
34 <TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
35         <TD ALIGN=RIGHT><P>ldap_search_sub:</TD>
36         <TD>
37     <INPUT name=ldap_search_sub TYPE=text SIZE=1 VALUE="<?=$config->ldap_search_sub?>">
38     <? formerr($err["ldap_search_sub"]); ?>
39     </TD>
40     <TD>
41     <? print_string("auth_ldap_search_sub","auth") ?>
42     </TD>
43 </TR>
45 <TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
46         <TD ALIGN=RIGHT><P>ldap_bind_dn:</TD>
47         <TD>
48     <INPUT name=ldap_bind_dn TYPE=text SIZE=30 VALUE="<?=$config->ldap_bind_dn?>">
49     <? formerr($err["ldap_bind_dn"]); ?>
50     </TD><TD>
51     <? print_string("auth_ldap_bind_dn","auth") ?>
52     </TD>
53 </TR>
55 <TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
56         <TD ALIGN=RIGHT><P>ldap_bind_password:</TD>
57         <TD>
58     <INPUT name=ldap_bind_pw TYPE=text SIZE=30 VALUE="<?=$config->ldap_bind_pw?>">
59     <? formerr($err["ldap_bind_pw"]); ?>
60     </TD><TD>
61     <? print_string("auth_ldap_bind_pw","auth") ?>
62     </TD>
63 </TR>
67 <TR>
68         <TD ALIGN=RIGHT><P><? print_string("firstname") ?>:</TD>
69         <TD>
70     <INPUT name="auth_user_firstname" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_firstname?>">
71     </TD>
72     <TD rowspan=12 VALIGN=CENTER>
73     <? print_string("auth_ldapextrafields","auth") ?>
74     </TD>
75 </TR>
77 <TR VALIGN=TOP>
78         <TD ALIGN=RIGHT><P><? print_string("lastname") ?>:</TD>
79         <TD>
80     <INPUT name="auth_user_lastname" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_lastname?>">
81     </TD>
82 </TR>
84 <TR VALIGN=TOP>
85         <TD ALIGN=RIGHT><P><? print_string("email") ?>:</TD>
86         <TD>
87     <INPUT name="auth_user_email" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_email?>">
88     </TD>
89 </TR>
91 <TR VALIGN=TOP>
92         <TD ALIGN=RIGHT><P><? print_string("phone") ?> 1:</TD>
93         <TD>
94     <INPUT name="auth_user_phone1" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_phone1?>">
95     </TD>
96 </TR>
98 <TR VALIGN=TOP>
99         <TD ALIGN=RIGHT><P><? print_string("phone") ?> 2:</TD>
100         <TD>
101     <INPUT name="auth_user_phone2" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_phone2?>">
102     </TD>
103 </TR>
105 <TR VALIGN=TOP>
106         <TD ALIGN=RIGHT><P><? print_string("department") ?>:</TD>
107         <TD>
108     <INPUT name="auth_user_department" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_department?>">
109     </TD>
110 </TR>
112 <TR VALIGN=TOP>
113         <TD ALIGN=RIGHT><P><? print_string("address") ?>:</TD>
114         <TD>
115     <INPUT name="auth_user_address" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_address?>">
116     </TD>
117 </TR>
119 <TR VALIGN=TOP>
120         <TD ALIGN=RIGHT><P><? print_string("city") ?>:</TD>
121         <TD>
122     <INPUT name="auth_user_city" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_city?>">
123     </TD>
124 </TR>
126 <TR VALIGN=TOP>
127         <TD ALIGN=RIGHT><P><? print_string("country") ?>:</TD>
128         <TD>
129     <INPUT name="auth_user_country" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_country?>">
130     </TD>
131 </TR>
133 <TR VALIGN=TOP>
134         <TD ALIGN=RIGHT><P><? print_string("description") ?>:</TD>
135         <TD>
136     <INPUT name="auth_user_description" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_description?>">
137     </TD>
138 </TR>
140 <TR VALIGN=TOP>
141         <TD ALIGN=RIGHT><P><? print_string("idnumber") ?>:</TD>
142         <TD>
143     <INPUT name="auth_user_idnumber" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_idnumber?>">
144     </TD>
145 </TR>
147 <TR VALIGN=TOP>
148         <TD ALIGN=RIGHT><P><? print_string("language") ?>:</TD>
149         <TD>
150     <INPUT name="auth_user_lang" TYPE="text" SIZE="30" VALUE="<?=$config->auth_user_lang?>">
151     </TD>
152 </TR>
155 <TR VALIGN=TOP>
156         <TD ALIGN=RIGHT><P><? print_string("instructions", "auth") ?>:</TD>
157         <TD>
158     <TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><? p($config->auth_instructions) ?></TEXTAREA> 
159     </TD>
160     <TD>
161     <? print_string("authinstructions","auth") ?>
162     <? helpbutton("text", get_string("helptext")) ?>
163     </TD>
164 </TR>