MDL-32052 use $this->authtype in auth config, this may help with sib classing of plugins

This commit is contained in:
Petr Skoda
2012-03-17 10:58:43 +01:00
parent 351d55b372
commit 88c48bbfda
12 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -437,6 +437,6 @@ $help .= get_string('auth_updateremote_expl', 'auth');
$help .= '<hr />';
$help .= get_string('auth_updateremote_ldap', 'auth');
print_auth_lock_options('cas', $user_fields, $help, true, true);
print_auth_lock_options($this->authtype, $user_fields, $help, true, true);
?>
</table>
+1 -1
View File
@@ -269,7 +269,7 @@
<?php
print_auth_lock_options('db', $user_fields, get_string('auth_dbextrafields', 'auth_db'), true, true);
print_auth_lock_options($this->authtype, $user_fields, get_string('auth_dbextrafields', 'auth_db'), true, true);
?>
</table>
+1 -1
View File
@@ -97,7 +97,7 @@
<?php
print_auth_lock_options('fc', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
print_auth_lock_options($this->authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
</table>
+1 -1
View File
@@ -87,7 +87,7 @@ if (!isset($config->changepasswordurl)) {
<?php
print_auth_lock_options('imap', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
print_auth_lock_options($this->authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
</table>
+1 -1
View File
@@ -547,6 +547,6 @@ $help .= get_string('auth_updateremote_expl', 'auth');
$help .= '<hr />';
$help .= get_string('auth_updateremote_ldap', 'auth');
print_auth_lock_options('ldap', $user_fields, $help, true, true);
print_auth_lock_options($this->authtype, $user_fields, $help, true, true);
?>
</table>
+1 -1
View File
@@ -1,5 +1,5 @@
<table cellspacing="0" cellpadding="5" border="0">
<?php
print_auth_lock_options('manual', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
print_auth_lock_options($this->authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
</table>
+1 -1
View File
@@ -88,7 +88,7 @@ foreach($service_providers as $host) {
<?php
}
// print_auth_lock_options('mnet', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
// print_auth_lock_options($this->authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
</table>
+1 -1
View File
@@ -68,7 +68,7 @@ if (!isset($config->changepasswordurl)) {
<?php
print_auth_lock_options('nntp', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
print_auth_lock_options($this->authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
</table>
+1 -1
View File
@@ -4,7 +4,7 @@
<table cellspacing="0" cellpadding="5" border="0">
<?php
print_auth_lock_options('none', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
print_auth_lock_options($this->authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
</table>
+1 -1
View File
@@ -4,7 +4,7 @@
<table cellspacing="0" cellpadding="5" border="0">
<?php
print_auth_lock_options('pam', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
print_auth_lock_options($this->authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
</table>
+1 -1
View File
@@ -105,7 +105,7 @@ if (!isset($config->changepasswordurl)) {
<?php
print_auth_lock_options('pop3', $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
print_auth_lock_options($this->authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
</table>
+1 -1
View File
@@ -138,7 +138,7 @@ urn:mace:organization2:providerID, Example Organization 2, /Shibboleth.sso/WAYF/
<?php
print_auth_lock_options('shibboleth', $user_fields, '<!-- empty help -->', true, false);
print_auth_lock_options($this->authtype, $user_fields, '<!-- empty help -->', true, false);
?>
</table>