From: jgutierr25 Date: Mon, 9 Jul 2007 08:49:47 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f535ea21fd94da339a363a7c87017916f5a1c3a1;p=moodle.git *** empty log message *** --- diff --git a/auth/cas/auth.php b/auth/cas/auth.php index 26c5196296..79cb5e6fe6 100644 --- a/auth/cas/auth.php +++ b/auth/cas/auth.php @@ -99,7 +99,7 @@ class auth_plugin_cas extends auth_plugin_base { // Gestion de la connection CAS si accès direct d'un ent ou autre if (phpCAS::checkAuthentication()) { $frm->username=phpCAS::getUser(); - $frm->password="cas"; + $frm->password="passwdCas"; return; } @@ -1107,4 +1107,4 @@ if (!empty($this->config->attrcreators)) { return $text; } } -?> \ No newline at end of file +?> diff --git a/auth/cas/cas_form.html b/auth/cas/cas_form.html index 43eb05faf5..bdf94129e1 100644 --- a/auth/cas/cas_form.html +++ b/auth/cas/cas_form.html @@ -1,12 +1,36 @@ - -
-
-
- -
-
-
- -
-
-
+ + + +
+ + +
+ + +
+ + + + + +
+ + +
+ + +
+ + + + + +
+ + +
+ + +
+ + diff --git a/auth/cas/cas_ldap_sync_users.php b/auth/cas/cas_ldap_sync_users.php index e4caec4b45..a3d7cdab57 100644 --- a/auth/cas/cas_ldap_sync_users.php +++ b/auth/cas/cas_ldap_sync_users.php @@ -45,4 +45,4 @@ if (!is_enabled_auth('cas')) { $casauth = get_auth_plugin('cas'); $casauth->sync_users(1000, true); -?> \ No newline at end of file +?> diff --git a/auth/cas/config.html b/auth/cas/config.html index 33ecc5aaa3..632ce3fad2 100644 --- a/auth/cas/config.html +++ b/auth/cas/config.html @@ -1,8 +1,11 @@ hostname)) $config->hostname = ''; @@ -53,87 +56,112 @@ {$config->groupecreators = ''; } if (!isset($config->attrcreators)) {$config->attrcreators = ''; } - if (!isset($config->removeuser)) + if (!isset($config->removeuser)) {$config->removeuser = 0; } + $yesno = array( get_string('no'), get_string('yes') ); + if (!function_exists('ldap_connect')) { // Is php4-ldap really there? notify(get_string('auth_ldap_noextension','auth')); } + + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + '; $help .= get_string('auth_updateremote_ldap','auth'); + print_auth_lock_options('cas', $user_fields, $help, true, true); + ?> -

: use_cas, get_string('no'), '', ''); + ?>
:
:
:
:
: language, ''); + ?>
: @@ -145,6 +173,7 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
: @@ -156,6 +185,7 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
: @@ -167,11 +197,13 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?

@@ -182,6 +214,7 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
@@ -197,23 +230,28 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?

@@ -223,6 +261,7 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
@@ -232,11 +271,13 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?

@@ -247,6 +288,7 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
@@ -257,6 +299,7 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
@@ -266,6 +309,7 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
@@ -281,6 +325,9 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
@@ -291,6 +338,7 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
@@ -300,6 +348,7 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
@@ -309,6 +358,7 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
@@ -319,11 +369,13 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?

@@ -333,6 +385,7 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
@@ -342,11 +395,13 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?

@@ -363,12 +418,15 @@ if (!function_exists('ldap_connect')) { // Is php4-ldap really there?
\ No newline at end of file + diff --git a/auth/cas/languages.php b/auth/cas/languages.php index da210d6209..b0d40fa96c 100644 --- a/auth/cas/languages.php +++ b/auth/cas/languages.php @@ -1,9 +1,18 @@ "English", + "french" => "French"); + ?> +