@@ -94,9 +94,9 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?></h4>
94
94
</ td >
95
95
</ tr >
96
96
< tr valign ="top " class ="required ">
97
- < td align ="right "> < ?php print_string('auth_cas_hostname_key', 'auth_cas') ?> :</ td >
97
+ < td align ="right "> < label for =" hostname " > < ?php print_string('auth_cas_hostname_key', 'auth_cas') ?> : </ label > </ td >
98
98
< td >
99
- < input name ="hostname " type ="text " size ="30 " value ="<?php echo $config->hostname ?> " />
99
+ < input name ="hostname " id =" hostname " type ="text " size ="30 " value ="<?php echo $config->hostname ?> " />
100
100
< ?php if (isset($err['hostname'])) { echo $OUTPUT-> error_text($err['hostname']); } ?>
101
101
</ td >
102
102
< td >
@@ -105,10 +105,10 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?></h4>
105
105
</ tr >
106
106
< tr valign ="top " class ="required ">
107
107
< td align ="right ">
108
- < ?php print_string('auth_cas_baseuri_key', 'auth_cas') ?> :
108
+ < label for =" baseuri " > < ?php print_string('auth_cas_baseuri_key', 'auth_cas') ?> : </ label >
109
109
</ td >
110
110
< td >
111
- < input name ="baseuri " type ="text " size ="30 " value ="<?php echo $config->baseuri ?> " />
111
+ < input name ="baseuri " id =" baseuri " type ="text " size ="30 " value ="<?php echo $config->baseuri ?> " />
112
112
< ?php if (isset($err['baseuri'])) { echo $OUTPUT-> error_text($err['baseuri']); } ?>
113
113
</ td >
114
114
< td >
@@ -117,10 +117,10 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?></h4>
117
117
</ tr >
118
118
< tr valign ="top " class ="required ">
119
119
< td align ="right ">
120
- < ?php print_string('auth_cas_port_key', 'auth_cas') ?> :
120
+ < label for =" port " > < ?php print_string('auth_cas_port_key', 'auth_cas') ?> : </ label >
121
121
</ td >
122
122
< td >
123
- < input name ="port " type ="text " size ="30 " value ="<?php echo $config->port ?> " />
123
+ < input name ="port " id =" port " type ="text " size ="30 " value ="<?php echo $config->port ?> " />
124
124
< ?php if (isset($err['port'])) { echo $OUTPUT-> error_text($err['port']); } ?>
125
125
</ td >
126
126
< td >
@@ -129,7 +129,7 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?></h4>
129
129
</ tr >
130
130
< tr valign ="top " class ="required ">
131
131
< td align ="right ">
132
- < ?php print_string( 'auth_cas_casversion', 'auth_cas') ?> :
132
+ < ?php echo html_writer::label(get_string( 'auth_cas_casversion', 'auth_cas'), 'menucasversion'); ?> :
133
133
</ td >
134
134
< td >
135
135
< ?php
@@ -145,7 +145,7 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?></h4>
145
145
</ td >
146
146
</ tr >
147
147
< tr valign ="top " class ="required ">
148
- < td align ="right "> < ?php print_string( 'auth_cas_language_key', 'auth_cas') ?> :</ td >
148
+ < td align ="right "> < ?php echo html_writer::label(get_string( 'auth_cas_language_key', 'auth_cas'), 'menulanguage'); ?> :</ td >
149
149
< td >
150
150
< ?php echo html_writer::select($CASLANGUAGES, 'language', $config-> language, false); ?>
151
151
</ td >
@@ -155,7 +155,7 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?></h4>
155
155
</ tr >
156
156
< tr valign ="top " class ="required ">
157
157
< td align ="right ">
158
- < ?php print_string( 'auth_cas_proxycas_key', 'auth_cas') ?> :
158
+ < ?php echo html_writer::label(get_string( 'auth_cas_proxycas_key', 'auth_cas'), 'menuproxycas'); ?> :
159
159
</ td >
160
160
< td >
161
161
< ?php echo html_writer::select($yesno, 'proxycas', $config-> proxycas, false); ?>
@@ -165,7 +165,7 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?></h4>
165
165
</ td >
166
166
</ tr >
167
167
< tr valign ="top " class ="required ">
168
- < td align ="right "> < ?php print_string( 'auth_cas_logoutcas_key', 'auth_cas') ?> :</ td >
168
+ < td align ="right "> < ?php echo html_writer::label(get_string( 'auth_cas_logoutcas_key', 'auth_cas'), 'menulogoutcas'); ?> :</ td >
169
169
< td >
170
170
< ?php echo html_writer::select($yesno, 'logoutcas', $config-> logoutcas, false); ?>
171
171
</ td >
@@ -174,7 +174,7 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?></h4>
174
174
</ td >
175
175
</ tr >
176
176
< tr valign ="top " class ="required ">
177
- < td align ="right "> < ?php print_string( 'auth_cas_multiauth_key', 'auth_cas') ?> :</ td >
177
+ < td align ="right "> < ?php echo html_writer::label(get_string( 'auth_cas_multiauth_key', 'auth_cas'), 'menumultiauth'); ?> :</ td >
178
178
< td >
179
179
< ?php echo html_writer::select($yesno, 'multiauth', $config-> multiauth, false); ?>
180
180
</ td >
@@ -183,7 +183,7 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?></h4>
183
183
</ td >
184
184
</ tr >
185
185
< tr valign ="top " class ="required ">
186
- < td align ="right "> < ?php print_string( 'auth_cas_certificate_check_key', 'auth_cas') ?> :</ td >
186
+ < td align ="right "> < ?php echo html_writer::label(get_string( 'auth_cas_certificate_check_key', 'auth_cas'), 'menucertificate_check'); ?> :</ td >
187
187
< td >
188
188
< ?php echo html_writer::select($yesno, 'certificate_check', $config-> certificate_check, false); ?>
189
189
</ td >
@@ -192,7 +192,7 @@ <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?></h4>
192
192
</ td >
193
193
</ tr >
194
194
< tr valign ="top " class ="required ">
195
- < td align ="right "> < ?php print_string('auth_cas_certificate_path_key', 'auth_cas') ?> :</ td >
195
+ < td align ="right "> < label for =" certificate_path " > < ?php print_string('auth_cas_certificate_path_key', 'auth_cas') ?> : </ label > </ td >
196
196
< td >
197
197
< input name ="certificate_path " id ="certificate_path " type ="text " size ="30 " value ="<?php echo $config->certificate_path ?> " />
198
198
< ?php if (isset($err['certificate_path'])) echo $OUTPUT-> error_text($err['certificate_path']); ?>
@@ -219,7 +219,7 @@ <h4><?php print_string('auth_ldap_server_settings', 'auth_ldap') ?></h4>
219
219
</ td >
220
220
</ tr >
221
221
< tr valign ="top " class ="required ">
222
- < td align ="right "> < label for ="menuversion "> < ?php print_string('auth_ldap_version_key', 'auth_ldap') ?> </ label > </ td >
222
+ < td align ="right "> < label for ="menuldap_version "> < ?php print_string('auth_ldap_version_key', 'auth_ldap') ?> </ label > </ td >
223
223
< td >
224
224
< ?php
225
225
$versions = array();
0 commit comments