Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
eac75f21
Commit
eac75f21
authored
Jul 27, 2012
by
Rossiani Wijaya
Committed by
Aparup Banerjee
Jul 31, 2012
Browse files
MDL-34553 accessibility compliance for authentication: Add forform input text and select tag
parent
aa414527
Changes
10
Hide whitespace changes
Inline
Side-by-side
auth/cas/config.html
View file @
eac75f21
...
...
@@ -94,9 +94,9 @@ $yesno = array( get_string('no'), get_string('yes') );
</td>
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string('auth_cas_hostname_key', 'auth_cas') ?>
:
</td>
<td
align=
"right"
><
label
for=
"hostname"
>
<
?php print_string('auth_cas_hostname_key', 'auth_cas') ?>
:
</label>
</td>
<td>
<input
name=
"hostname"
type=
"text"
size=
"30"
value=
"<?php echo $config->hostname ?>"
/>
<input
name=
"hostname"
id=
"hostname"
type=
"text"
size=
"30"
value=
"<?php echo $config->hostname ?>"
/>
<?php if (isset($err['hostname'])) { echo $OUTPUT->error_text($err['hostname']); } ?>
</td>
<td>
...
...
@@ -105,10 +105,10 @@ $yesno = array( get_string('no'), get_string('yes') );
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string('auth_cas_baseuri_key', 'auth_cas') ?>
:
<label
for=
"baseuri"
>
<?php print_string('auth_cas_baseuri_key', 'auth_cas') ?>
:
</label>
</td>
<td>
<input
name=
"baseuri"
type=
"text"
size=
"30"
value=
"<?php echo $config->baseuri ?>"
/>
<input
name=
"baseuri"
id=
"baseuri"
type=
"text"
size=
"30"
value=
"<?php echo $config->baseuri ?>"
/>
<?php if (isset($err['baseuri'])) { echo $OUTPUT->error_text($err['baseuri']); } ?>
</td>
<td>
...
...
@@ -117,10 +117,10 @@ $yesno = array( get_string('no'), get_string('yes') );
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string('auth_cas_port_key', 'auth_cas') ?>
:
<label
for=
"port"
>
<?php print_string('auth_cas_port_key', 'auth_cas') ?>
:
</label>
</td>
<td>
<input
name=
"port"
type=
"text"
size=
"30"
value=
"<?php echo $config->port ?>"
/>
<input
name=
"port"
id=
"port"
type=
"text"
size=
"30"
value=
"<?php echo $config->port ?>"
/>
<?php if (isset($err['port'])) { echo $OUTPUT->error_text($err['port']); } ?>
</td>
<td>
...
...
@@ -129,7 +129,7 @@ $yesno = array( get_string('no'), get_string('yes') );
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php
prin
t_string('auth_cas_casversion', 'auth_cas') ?>
:
<?php
echo html_writer::label(ge
t_string('auth_cas_casversion', 'auth_cas')
, 'menucasversion');
?>
:
</td>
<td>
<?php
...
...
@@ -145,7 +145,7 @@ $yesno = array( get_string('no'), get_string('yes') );
</td>
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php
prin
t_string('auth_cas_language_key', 'auth_cas') ?>
:
</td>
<td
align=
"right"
>
<?php
echo html_writer::label(ge
t_string('auth_cas_language_key', 'auth_cas')
, 'menulanguage');
?>
:
</td>
<td>
<?php echo html_writer::select($CASLANGUAGES, 'language', $config->language, false); ?>
</td>
...
...
@@ -155,7 +155,7 @@ $yesno = array( get_string('no'), get_string('yes') );
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php
prin
t_string('auth_cas_proxycas_key', 'auth_cas') ?>
:
<?php
echo html_writer::label(ge
t_string('auth_cas_proxycas_key', 'auth_cas')
, 'menuproxycas');
?>
:
</td>
<td>
<?php echo html_writer::select($yesno, 'proxycas', $config->proxycas, false); ?>
...
...
@@ -165,7 +165,7 @@ $yesno = array( get_string('no'), get_string('yes') );
</td>
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php
prin
t_string('auth_cas_logoutcas_key', 'auth_cas') ?>
:
</td>
<td
align=
"right"
>
<?php
echo html_writer::label(ge
t_string('auth_cas_logoutcas_key', 'auth_cas')
, 'menulogoutcas');
?>
:
</td>
<td>
<?php echo html_writer::select($yesno, 'logoutcas', $config->logoutcas, false); ?>
</td>
...
...
@@ -174,7 +174,7 @@ $yesno = array( get_string('no'), get_string('yes') );
</td>
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php
prin
t_string('auth_cas_multiauth_key', 'auth_cas') ?>
:
</td>
<td
align=
"right"
>
<?php
echo html_writer::label(ge
t_string('auth_cas_multiauth_key', 'auth_cas')
, 'menumultiauth');
?>
:
</td>
<td>
<?php echo html_writer::select($yesno, 'multiauth', $config->multiauth, false); ?>
</td>
...
...
@@ -183,7 +183,7 @@ $yesno = array( get_string('no'), get_string('yes') );
</td>
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php
prin
t_string('auth_cas_certificate_check_key', 'auth_cas') ?>
:
</td>
<td
align=
"right"
>
<?php
echo html_writer::label(ge
t_string('auth_cas_certificate_check_key', 'auth_cas')
, 'menucertificate_check');
?>
:
</td>
<td>
<?php echo html_writer::select($yesno, 'certificate_check', $config->certificate_check, false); ?>
</td>
...
...
@@ -192,7 +192,7 @@ $yesno = array( get_string('no'), get_string('yes') );
</td>
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string('auth_cas_certificate_path_key', 'auth_cas') ?>
:
</td>
<td
align=
"right"
><
label
for=
"certificate_path"
>
<
?php print_string('auth_cas_certificate_path_key', 'auth_cas') ?>
:
</label>
</td>
<td>
<input
name=
"certificate_path"
id=
"certificate_path"
type=
"text"
size=
"30"
value=
"<?php echo $config->certificate_path ?>"
/>
<?php if (isset($err['certificate_path'])) echo $OUTPUT->error_text($err['certificate_path']); ?>
...
...
@@ -219,7 +219,7 @@ $yesno = array( get_string('no'), get_string('yes') );
</td>
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
><label
for=
"menuversion"
>
<?php print_string('auth_ldap_version_key', 'auth_ldap') ?>
</label></td>
<td
align=
"right"
><label
for=
"menu
ldap_
version"
>
<?php print_string('auth_ldap_version_key', 'auth_ldap') ?>
</label></td>
<td>
<?php
$versions = array();
...
...
auth/fc/config.html
View file @
eac75f21
...
...
@@ -27,9 +27,9 @@
<table
cellspacing=
"0"
cellpadding=
"5"
border=
"0"
>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php
print_string("auth_fchost_key", "auth_fc") ?>
:
</td>
<td
align=
"right"
><
label
for=
"host"
>
<
?php print_string("auth_fchost_key", "auth_fc") ?>
:
</
label></
td>
<td>
<input
name=
"host"
type=
"text"
size=
"30"
value=
"<?php echo $config->host?>"
/>
<input
name=
"host"
id=
"host"
type=
"text"
size=
"30"
value=
"<?php echo $config->host?>"
/>
<?php if (isset($err["host"])) echo $OUTPUT->error_text($err["host"]); ?>
</td>
<td>
...
...
@@ -38,9 +38,9 @@
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string("auth_fcfppport_key", "auth_fc") ?>
:
</td>
<td
align=
"right"
><
label
for=
"fppport"
>
<
?php print_string("auth_fcfppport_key", "auth_fc") ?>
:
</label>
</td>
<td>
<input
name=
"fppport"
type=
"text"
size=
"30"
value=
"<?php echo $config->fppport?>"
/>
<input
name=
"fppport"
id=
"fppport"
type=
"text"
size=
"30"
value=
"<?php echo $config->fppport?>"
/>
<?php if (isset($err["fppport"])) echo $OUTPUT->error_text($err["host"]); ?>
</td>
<td>
...
...
@@ -49,9 +49,9 @@
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string("auth_fcuserid_key", "auth_fc") ?>
:
</td>
<td
align=
"right"
><
label
for=
"userid"
>
<
?php print_string("auth_fcuserid_key", "auth_fc") ?>
:
</
label></
td>
<td>
<input
name=
"userid"
type=
"text"
size=
"30"
maxlength=
"15"
value=
"<?php echo $config->userid?>"
/>
<input
name=
"userid"
id=
"userid"
type=
"text"
size=
"30"
maxlength=
"15"
value=
"<?php echo $config->userid?>"
/>
<?php if (isset($err["userid"])) echo $OUTPUT->error_text($err["userid"]); ?>
</td>
<td>
...
...
@@ -59,9 +59,9 @@
</td>
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php
print_string("auth_fcpasswd_key", "auth_fc") ?>
:
</td>
<td
align=
"right"
><
label
for=
"passwd"
>
<
?php print_string("auth_fcpasswd_key", "auth_fc") ?>
:
</
label></
td>
<td>
<input
name=
"passwd"
type=
"password"
size=
"30"
maxlength=
"12"
value=
"<?php echo $config->passwd?>"
/>
<input
name=
"passwd"
id=
"passwd"
type=
"password"
size=
"30"
maxlength=
"12"
value=
"<?php echo $config->passwd?>"
/>
<?php if (isset($err["passwd"])) echo $OUTPUT->error_text($err["passwd"]); ?>
</td>
<td>
...
...
@@ -70,9 +70,9 @@
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string("auth_fccreators_key", "auth_fc") ?>
:
</td>
<td
align=
"right"
><
label
for=
"creators"
>
<
?php print_string("auth_fccreators_key", "auth_fc") ?>
:
</label>
</td>
<td>
<input
name=
"creators"
type=
"text"
size=
"30"
value=
"<?php echo $config->creators?>"
/>
<input
name=
"creators"
id=
"creators"
type=
"text"
size=
"30"
value=
"<?php echo $config->creators?>"
/>
<?php if (isset($err["creators"])) echo $OUTPUT->error_text($err["creators"]); ?>
</td>
<td>
...
...
@@ -81,9 +81,9 @@
</tr>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string('auth_fcchangepasswordurl', 'auth_fc') ?>
:
</td>
<td
align=
"right"
><
label
for=
"changepasswordurl"
>
<
?php print_string('auth_fcchangepasswordurl', 'auth_fc') ?>
:
</label>
</td>
<td>
<input
name=
"changepasswordurl"
type=
"text"
value=
"<?php echo $config->changepasswordurl ?>"
/>
<input
name=
"changepasswordurl"
id=
"changepasswordurl"
type=
"text"
value=
"<?php echo $config->changepasswordurl ?>"
/>
<?php
if (isset($err['changepasswordurl'])) {
...
...
auth/imap/config.html
View file @
eac75f21
...
...
@@ -18,9 +18,9 @@ if (!isset($config->changepasswordurl)) {
<table
cellspacing=
"0"
cellpadding=
"5"
border=
"0"
>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string('auth_imaphost_key', 'auth_imap') ?>
:
</td>
<td
align=
"right"
><
label
for=
"host"
>
<
?php print_string('auth_imaphost_key', 'auth_imap') ?>
:
</label>
</td>
<td>
<input
name=
"host"
type=
"text"
size=
"30"
value=
"<?php echo $config->host ?>"
/>
<input
name=
"host"
id=
"host"
type=
"text"
size=
"30"
value=
"<?php echo $config->host ?>"
/>
<?php
if (isset($err['host'])) {
...
...
@@ -40,7 +40,7 @@ if (!isset($config->changepasswordurl)) {
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php
prin
t_string('auth_imaptype_key', 'auth_imap') ?>
:
</td>
<td
align=
"right"
>
<?php
echo html_writer::label(ge
t_string('auth_imaptype_key', 'auth_imap')
, 'menutype');
?>
:
</td>
<td>
<?php
...
...
@@ -56,9 +56,9 @@ if (!isset($config->changepasswordurl)) {
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string('auth_imapport_key', 'auth_imap') ?>
:
</td>
<td
align=
"right"
><
label
for=
"port"
>
<
?php print_string('auth_imapport_key', 'auth_imap') ?>
:
</label>
</td>
<td>
<input
name=
"port"
type=
"text"
size=
"6"
value=
"<?php echo $config->port ?>"
/>
<input
name=
"port"
id=
"port"
type=
"text"
size=
"6"
value=
"<?php echo $config->port ?>"
/>
<?php
if (isset($err['port'])) {
...
...
@@ -71,9 +71,9 @@ if (!isset($config->changepasswordurl)) {
</tr>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string('auth_imapchangepasswordurl_key', 'auth_imap') ?>
:
</td>
<td
align=
"right"
><
label
for=
"changepasswordurl"
>
<
?php print_string('auth_imapchangepasswordurl_key', 'auth_imap') ?>
:
</label>
</td>
<td>
<input
name=
"changepasswordurl"
type=
"text"
value=
"<?php echo $config->changepasswordurl ?>"
/>
<input
name=
"changepasswordurl"
id=
"changepasswordurl"
type=
"text"
value=
"<?php echo $config->changepasswordurl ?>"
/>
<?php
if (isset($err['changepasswordurl'])) {
...
...
auth/ldap/config.html
View file @
eac75f21
...
...
@@ -118,7 +118,7 @@ $yesno = array(get_string('no'), get_string('yes'));
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<label
for=
"menuversion"
>
<?php print_string('auth_ldap_version_key', 'auth_ldap') ?>
</label>
<label
for=
"menu
ldap_
version"
>
<?php print_string('auth_ldap_version_key', 'auth_ldap') ?>
</label>
</td>
<td>
<?php
...
...
auth/mnet/config.html
View file @
eac75f21
...
...
@@ -22,9 +22,9 @@ if (empty($CFG->mnet_dispatcher_mode) || $CFG->mnet_dispatcher_mode !== 'strict'
<table
cellspacing=
"0"
cellpadding=
"5"
>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string('rpc_negotiation_timeout', 'auth_mnet'); ?>
:
</td>
<td
align=
"right"
><
label
for=
"rpc_negotiation_timeout"
>
<
?php print_string('rpc_negotiation_timeout', 'auth_mnet'); ?>
:
</label>
</td>
<td>
<input
name=
"rpc_negotiation_timeout"
type=
"text"
size=
"5"
value=
"<?php echo $config->rpc_negotiation_timeout ?>"
/>
<input
name=
"rpc_negotiation_timeout"
id=
"rpc_negotiation_timeout"
type=
"text"
size=
"5"
value=
"<?php echo $config->rpc_negotiation_timeout ?>"
/>
<?php
if (isset($err['rpc_negotiation_timeout'])) {
...
...
@@ -45,7 +45,7 @@ if (empty($CFG->mnet_dispatcher_mode) || $CFG->mnet_dispatcher_mode !== 'strict'
<?php /*
See MDL-21327 for why this is commented out
<tr valign="top" class="required">
<td align="right"><?php
prin
t_string('auto_add_remote_users', 'auth_mnet'); ?>
:
</td>
<td align="right"><?php
echo html_writer::label(ge
t_string('auto_add_remote_users', 'auth_mnet')
, 'menuauto_add_remote_users')
; ?>
:
</td>
<td>
<?php
...
...
auth/nntp/config.html
View file @
eac75f21
...
...
@@ -15,9 +15,9 @@ if (!isset($config->changepasswordurl)) {
<table
cellspacing=
"0"
cellpadding=
"5"
border=
"0"
>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string('auth_nntphost_key', 'auth_nntp') ?>
:
</td>
<td
align=
"right"
><
label
for=
"host"
>
<
?php print_string('auth_nntphost_key', 'auth_nntp') ?>
:
</label>
</td>
<td>
<input
name=
"host"
type=
"text"
size=
"30"
value=
"<?php echo $config->host ?>"
/>
<input
name=
"host"
id=
"host"
type=
"text"
size=
"30"
value=
"<?php echo $config->host ?>"
/>
<?php
if (isset($err["host"])) {
...
...
@@ -37,9 +37,9 @@ if (!isset($config->changepasswordurl)) {
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string('auth_nntpport_key', 'auth_nntp') ?>
:
</td>
<td
align=
"right"
><
label
for=
"port"
>
<
?php print_string('auth_nntpport_key', 'auth_nntp') ?>
:
</label>
</td>
<td>
<input
name=
"port"
type=
"text"
size=
"6"
value=
"<?php echo $config->port ?>"
/>
<input
name=
"port"
id=
"port"
type=
"text"
size=
"6"
value=
"<?php echo $config->port ?>"
/>
<?php
if (isset($err["port"])) {
...
...
@@ -52,9 +52,9 @@ if (!isset($config->changepasswordurl)) {
</tr>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string('auth_nntpchangepasswordurl_key', 'auth_nntp') ?>
:
</td>
<td
align=
"right"
><
label
for=
"changepasswordurl"
>
<
?php print_string('auth_nntpchangepasswordurl_key', 'auth_nntp') ?>
:
</label>
</td>
<td>
<input
name=
"changepasswordurl"
type=
"text"
value=
"<?php echo $config->changepasswordurl ?>"
/>
<input
name=
"changepasswordurl"
id=
"changepasswordurl"
type=
"text"
value=
"<?php echo $config->changepasswordurl ?>"
/>
<?php
if (isset($err['changepasswordurl'])) {
...
...
auth/pop3/config.html
View file @
eac75f21
...
...
@@ -21,9 +21,9 @@ if (!isset($config->changepasswordurl)) {
<table
cellspacing=
"0"
cellpadding=
"5"
border=
"0"
>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string('auth_pop3host_key', 'auth_pop3') ?>
:
</td>
<td
align=
"right"
><
label
for=
"host"
>
<
?php print_string('auth_pop3host_key', 'auth_pop3') ?>
:
</label>
</td>
<td>
<input
name=
"host"
type=
"text"
size=
"30"
value=
"<?php echo $config->host ?>"
/>
<input
name=
"host"
id=
"host"
type=
"text"
size=
"30"
value=
"<?php echo $config->host ?>"
/>
<?php
if (isset($err['host'])) {
...
...
@@ -43,7 +43,7 @@ if (!isset($config->changepasswordurl)) {
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php
prin
t_string('auth_pop3type_key', 'auth_pop3') ?>
:
</td>
<td
align=
"right"
>
<?php
echo html_writer::label(ge
t_string('auth_pop3type_key', 'auth_pop3')
, 'menutype');
?>
:
</td>
<td>
<?php
...
...
@@ -59,9 +59,9 @@ if (!isset($config->changepasswordurl)) {
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string('auth_pop3port_key', 'auth_pop3') ?>
:
</td>
<td
align=
"right"
><
label
for=
"port"
>
<
?php print_string('auth_pop3port_key', 'auth_pop3') ?>
:
</label>
</td>
<td>
<input
name=
"port"
type=
"text"
size=
"6"
value=
"<?php echo $config->port ?>"
/>
<input
name=
"port"
id=
"port"
type=
"text"
size=
"6"
value=
"<?php echo $config->port ?>"
/>
<?php
if (isset($err['port'])) {
...
...
@@ -74,9 +74,9 @@ if (!isset($config->changepasswordurl)) {
</tr>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string('auth_pop3mailbox_key', 'auth_pop3') ?>
:
</td>
<td
align=
"right"
><
label
for=
"mailbox"
>
<
?php print_string('auth_pop3mailbox_key', 'auth_pop3') ?>
:
</label>
</td>
<td>
<input
name=
"mailbox"
type=
"text"
size=
"6"
value=
"<?php echo $config->mailbox ?>"
/>
<input
name=
"mailbox"
id=
"mailbox"
type=
"text"
size=
"6"
value=
"<?php echo $config->mailbox ?>"
/>
<?php
if (isset($err['mailbox'])) {
...
...
@@ -89,9 +89,9 @@ if (!isset($config->changepasswordurl)) {
</tr>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string('auth_pop3changepasswordurl_key', 'auth_pop3') ?>
:
</td>
<td
align=
"right"
><
label
for=
"changepasswordurl"
>
<
?php print_string('auth_pop3changepasswordurl_key', 'auth_pop3') ?>
:
</label>
</td>
<td>
<input
name=
"changepasswordurl"
type=
"text"
value=
"<?php echo $config->changepasswordurl ?>"
/>
<input
name=
"changepasswordurl"
id=
"changepasswordurl"
type=
"text"
value=
"<?php echo $config->changepasswordurl ?>"
/>
<?php
if (isset($err['changepasswordurl'])) {
...
...
auth/radius/config.html
View file @
eac75f21
...
...
@@ -30,9 +30,9 @@ if (!isset($config->changepasswordurl)) {
<table
cellspacing=
"0"
cellpadding=
"5"
border=
"0"
>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string('auth_radiushost_key', 'auth_radius') ?>
:
</td>
<td
align=
"right"
><
label
for=
"host"
>
<
?php print_string('auth_radiushost_key', 'auth_radius') ?>
:
</label>
</td>
<td>
<input
name=
"host"
type=
"text"
size=
"30"
value=
"<?php echo $config->host ?>"
/>
<input
name=
"host"
id=
"host"
type=
"text"
size=
"30"
value=
"<?php echo $config->host ?>"
/>
<?php
if (isset($err['host'])) {
...
...
@@ -45,9 +45,9 @@ if (!isset($config->changepasswordurl)) {
</tr>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string('auth_radiusnasport_key', 'auth_radius') ?>
:
</td>
<td
align=
"right"
><
label
for=
"nasport"
>
<
?php print_string('auth_radiusnasport_key', 'auth_radius') ?>
:
</label>
</td>
<td>
<input
name=
"nasport"
type=
"text"
size=
"6"
value=
"<?php echo $config->nasport ?>"
/>
<input
name=
"nasport"
id=
"nasport"
type=
"text"
size=
"6"
value=
"<?php echo $config->nasport ?>"
/>
<?php
if (isset($err['nasport'])) {
...
...
@@ -60,7 +60,7 @@ if (!isset($config->changepasswordurl)) {
</tr>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php
prin
t_string('auth_radiustype_key', 'auth_radius') ?>
:
</td>
<td
align=
"right"
>
<?php
echo html_writer::label(ge
t_string('auth_radiustype_key', 'auth_radius')
, 'menuradiustype');
?>
:
</td>
<td>
<?php
...
...
@@ -82,9 +82,9 @@ if (!isset($config->changepasswordurl)) {
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string('auth_radiussecret_key', 'auth_radius') ?>
:
</td>
<td
align=
"right"
><
label
for=
"secret"
>
<
?php print_string('auth_radiussecret_key', 'auth_radius') ?>
:
</label>
</td>
<td>
<input
name=
"secret"
type=
"text"
size=
"6"
value=
"<?php echo $config->secret ?>"
/>
<input
name=
"secret"
id=
"secret"
type=
"text"
size=
"6"
value=
"<?php echo $config->secret ?>"
/>
<?php
if (isset($err['secret'])) {
...
...
@@ -97,9 +97,9 @@ if (!isset($config->changepasswordurl)) {
</tr>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string('auth_radiuschangepasswordurl_key', 'auth_radius') ?>
:
</td>
<td
align=
"right"
><
label
for=
"changepasswordurl"
>
<
?php print_string('auth_radiuschangepasswordurl_key', 'auth_radius') ?>
:
</label>
</td>
<td>
<input
name=
"changepasswordurl"
type=
"text"
value=
"<?php echo $config->changepasswordurl ?>"
/>
<input
name=
"changepasswordurl"
id=
"changepasswordurl"
type=
"text"
value=
"<?php echo $config->changepasswordurl ?>"
/>
<?php
if (isset($err['changepasswordurl'])) {
...
...
auth/shibboleth/config.html
View file @
eac75f21
...
...
@@ -20,17 +20,17 @@
<table
cellspacing=
"0"
cellpadding=
"5"
border=
"0"
>
<tr
valign=
"top"
class=
"required"
>
<td
align=
"right"
>
<?php print_string("username") ?>
:
</td>
<td
align=
"right"
><
label
for=
"user_attribute"
>
<
?php print_string("username") ?>
:
</label>
</td>
<td>
<input
name=
"user_attribute"
type=
"text"
size=
"30"
value=
"<?php echo $config->user_attribute ?>"
/>
<input
id=
"user_attribute"
name=
"user_attribute"
type=
"text"
size=
"30"
value=
"<?php echo $config->user_attribute ?>"
/>
</td>
<td>
<?php print_string("auth_shib_username_description", "auth_shibboleth") ?>
</td>
</tr>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string("auth_shib_convert_data", "auth_shibboleth") ?>
:
</td>
<td
align=
"right"
><
label
for=
"convert_data"
>
<
?php print_string("auth_shib_convert_data", "auth_shibboleth") ?>
:
</label>
</td>
<td>
<input
name=
"convert_data"
type=
"text"
size=
"30"
value=
"<?php echo $config->convert_data?>"
/>
<input
name=
"convert_data"
id=
"convert_data"
type=
"text"
size=
"30"
value=
"<?php echo $config->convert_data?>"
/>
<?php
if ($config->convert_data and $config->convert_data != '' and !is_readable($config->convert_data)) {
...
...
@@ -82,9 +82,9 @@ urn:mace:organization2:providerID, Example Organization 2, /Shibboleth.sso/WAYF/
</tr>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string("auth_shib_logout_url", "auth_shibboleth") ?>
:
</td>
<td
align=
"right"
><
label
for=
"logout_handler"
>
<
?php print_string("auth_shib_logout_url", "auth_shibboleth") ?>
:
</label>
</td>
<td>
<input
name=
"logout_handler"
type=
"text"
size=
"30"
value=
"<?php
<input
name=
"logout_handler"
id=
"logout_handler"
type=
"text"
size=
"30"
value=
"<?php
if ( isset($config->logout_handler) and !empty($config->logout_handler)){
echo $config->logout_handler;
}
...
...
@@ -94,9 +94,9 @@ urn:mace:organization2:providerID, Example Organization 2, /Shibboleth.sso/WAYF/
</tr>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string("auth_shib_logout_return_url", "auth_shibboleth") ?>
:
</td>
<td
align=
"right"
><
label
for=
"logout_return_url"
>
<
?php print_string("auth_shib_logout_return_url", "auth_shibboleth") ?>
:
</label>
</td>
<td>
<input
name=
"logout_return_url"
type=
"text"
size=
"30"
value=
"<?php
<input
name=
"logout_return_url"
id=
"logout_return_url"
type=
"text"
size=
"30"
value=
"<?php
if ( isset($config->logout_return_url) and !empty($config->logout_return_url)){
echo $config->logout_return_url;
}
...
...
@@ -106,9 +106,9 @@ urn:mace:organization2:providerID, Example Organization 2, /Shibboleth.sso/WAYF/
</tr>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string("auth_shib_auth_method", "auth_shibboleth") ?>
:
</td>
<td
align=
"right"
><
label
for=
"login_name"
>
<
?php print_string("auth_shib_auth_method", "auth_shibboleth") ?>
:
</label>
</td>
<td>
<input
name=
"login_name"
type=
"text"
size=
"30"
value=
"<?php
<input
name=
"login_name"
id=
"login_name"
type=
"text"
size=
"30"
value=
"<?php
if ( isset($config->login_name) and !empty($config->login_name)){
echo htmlentities($config->login_name);
} else {
...
...
@@ -120,9 +120,9 @@ urn:mace:organization2:providerID, Example Organization 2, /Shibboleth.sso/WAYF/
</tr>
<tr
valign=
"top"
>
<td
align=
"right"
>
<?php print_string('auth_shib_changepasswordurl', 'auth_shibboleth') ?>
:
</td>
<td
align=
"right"
><
label
for=
"changepasswordurl"
>
<
?php print_string('auth_shib_changepasswordurl', 'auth_shibboleth') ?>
:
</label>
</td>
<td>
<input
name=
"changepasswordurl"
type=
"text"
value=
"<?php echo $config->changepasswordurl ?>"
/>
<input
name=
"changepasswordurl"
id=
"changepasswordurl"
type=
"text"
value=
"<?php echo $config->changepasswordurl ?>"
/>
<?php
if (isset($err['changepasswordurl'])) {
...
...
auth/shibboleth/index_form.html
View file @
eac75f21
...
...
@@ -29,9 +29,9 @@ if ($show_instructions) {
?>
<div
class=
"guestsub"
>
<p>
<?php print_string("auth_shibboleth_select_organization", "auth_shibboleth"); ?>
</p>
<p><
label
for=
"idp"
>
<
?php print_string("auth_shibboleth_select_organization", "auth_shibboleth"); ?>
</
label></
p>
<form
action=
"login.php"
method=
"post"
id=
"guestlogin"
>
<select
name=
"idp"
>
<select
id=
"idp"
name=
"idp"
>
<option
value=
"-"
>
<?php print_string("auth_shibboleth_select_member", "auth_shibboleth"); ?>
</option>
<?php
print_idp_list();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment