Bladeren bron

[svn r10494] Fix a bug

Eric Marguin 18 jaren geleden
bovenliggende
commit
7a767f9a22
2 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 2 2
      main/auth/lostPassword.php
  2. 2 2
      main/auth/lost_password.lib.php

+ 2 - 2
main/auth/lostPassword.php

@@ -1,6 +1,6 @@
 <?php
 
-// $Id: lostPassword.php 10204 2006-11-26 20:46:53Z pcool $ 
+// $Id: lostPassword.php 10494 2006-12-14 09:11:15Z elixir_inter $ 
 /*
 ============================================================================== 
 	Dokeos - elearning and course management software
@@ -44,7 +44,7 @@ $language_file = "registration";
 require ('../inc/global.inc.php');
 require_once ('lost_password.lib.php');
 require_once (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php');
-$tool_name = get_lang('_lost_password');
+$tool_name = get_lang('LostPassword');
 Display :: display_header($tool_name);
 
 // Forbidden to retrieve the lost password

+ 2 - 2
main/auth/lost_password.lib.php

@@ -1,5 +1,5 @@
 <?php
-// $Id: lost_password.lib.php 10190 2006-11-24 00:23:20Z pcool $ 
+// $Id: lost_password.lib.php 10494 2006-12-14 09:11:15Z elixir_inter $ 
 /*
 ============================================================================== 
 	Dokeos - elearning and course management software
@@ -45,7 +45,7 @@ function get_user_account_list($user, $reset = false)
 	{
 		$secretword = get_secret_word($thisUser["email"]);
 		if ($reset)
-			$reset_link = "\tReset link : $_configuration['root_web']"."main/auth/lostPassword.php?reset=$secretword&id=$thisUser[uid]";
+			$reset_link = "\tReset link : ".$_configuration['root_web']."main/auth/lostPassword.php?reset=".$secretword."&id=".$thisUser[uid];
 		else
 			$reset_link = "\t".get_lang('Pass')." : $thisUser[password]";
 		$userAccountList[] = $thisUser["firstName"]." ".$thisUser["lastName"]."\n\n"."\t".get_lang('Username')." : ".$thisUser["loginName"]."\n"."$reset_link\n\n";