Subversion Repositories ALCASAR

Rev

Rev 648 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 648 Rev 688
Line 14... Line 14...
14
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
14
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
15
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
15
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
16
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
16
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
17
if($Language == 'es'){
17
if($Language == 'es'){
18
$R_title = "User password change";
18
$R_title = "User password change";
19
$R_text_chg = "Change your password here -- Eplain how to change password --";
-
 
20
$R_form_l1 = "User";
19
$R_form_l1 = "User";
21
$R_form_l2 = "Old password";
20
$R_form_l2 = "Old password";
22
$R_form_l3 = "New password";
21
$R_form_l3 = "New password";
23
$R_form_l4 = "New password (confirmation)";
22
$R_form_l4 = "New password (confirmation)";
24
$R_eval_pass = "Score :";
23
$R_eval_pass = "Score :";
25
$R_passwordmeter = "Powered by <a href=\"http://www.shibbo.com/pwdmeter.php\" target=\"_blank\">Shibbo Password Analyser</a>";
24
$R_passwordmeter = "Powered by 'Shibbo Password Analyser'</a>";
26
$R_form_button_valid = "Modify";
25
$R_form_button_valid = "Modify";
27
$R_form_button_retour = "Cancel";
26
$R_form_button_retour = "Cancel";
28
$R_form_result1 = "Your password has been successfuly changed";
27
$R_form_result1 = "Your password has been successfuly changed";
29
$R_form_result2 = "Error when trying to change password";
28
$R_form_result2 = "Error when trying to change password";
30
$R_retour = "ALCASAR home page";}
29
$R_retour = "ALCASAR home page";}
31
if($Language == 'de'){
30
if($Language == 'de'){
32
$R_title = "User password change";
31
$R_title = "User password change";
33
$R_text_chg = "Change your password here -- Eplain how to change password --";
-
 
34
$R_form_l1 = "User";
32
$R_form_l1 = "User";
35
$R_form_l2 = "Old password";
33
$R_form_l2 = "Old password";
36
$R_form_l3 = "New password";
34
$R_form_l3 = "New password";
37
$R_form_l4 = "New password (confirmation)";
35
$R_form_l4 = "New password (confirmation)";
38
$R_eval_pass = "Score :";
36
$R_eval_pass = "Score :";
39
$R_passwordmeter = "Powered by <a href=\"http://www.shibbo.com/pwdmeter.php\" target=\"_blank\">Shibbo Password Analyser</a>";
37
$R_passwordmeter = "Powered by 'Shibbo Password Analyser'</a>";
40
$R_form_button_valid = "Modify";
38
$R_form_button_valid = "Modify";
41
$R_form_button_retour = "Cancel";
39
$R_form_button_retour = "Cancel";
42
$R_form_result1 = "Your password has been successfuly changed";
40
$R_form_result1 = "Your password has been successfuly changed";
43
$R_form_result2 = "Error when trying to change password";
41
$R_form_result2 = "Error when trying to change password";
44
$R_retour = "ALCASAR home page";}
42
$R_retour = "ALCASAR home page";}
45
if($Language == 'nl'){
43
if($Language == 'nl'){
46
$R_title = "User password change";
44
$R_title = "User password change";
47
$R_text_chg = "Change your password here -- Eplain how to change password --";
-
 
48
$R_form_l1 = "User";
45
$R_form_l1 = "User";
49
$R_form_l2 = "Old password";
46
$R_form_l2 = "Old password";
50
$R_form_l3 = "New password";
47
$R_form_l3 = "New password";
51
$R_form_l4 = "New password (confirmation)";
48
$R_form_l4 = "New password (confirmation)";
52
$R_eval_pass = "Score :";
49
$R_eval_pass = "Score :";
53
$R_passwordmeter = "Powered by <a href=\"http://www.shibbo.com/pwdmeter.php\" target=\"_blank\">Shibbo Password Analyser</a>";
50
$R_passwordmeter = "Powered by 'Shibbo Password Analyser'</a>";
54
$R_form_button_valid = "Modify";
51
$R_form_button_valid = "Modify";
55
$R_form_button_retour = "Cancel";
52
$R_form_button_retour = "Cancel";
56
$R_form_result1 = "Your password has been successfuly changed";
53
$R_form_result1 = "Your password has been successfuly changed";
57
$R_form_result2 = "Error when trying to change password";
54
$R_form_result2 = "Error when trying to change password";
58
$R_retour = "ALCASAR home page";}
55
$R_retour = "ALCASAR home page";}
59
if($Language == 'en'){
56
if($Language == 'en'){
60
$R_title = "User password change";
57
$R_title = "User password change";
61
$R_text_chg = "Change your password here -- Eplain how to change password --";
-
 
62
$R_form_l1 = "User";
58
$R_form_l1 = "User";
63
$R_form_l2 = "Old password";
59
$R_form_l2 = "Old password";
64
$R_form_l3 = "New password";
60
$R_form_l3 = "New password";
65
$R_form_l4 = "New password (confirmation)";
61
$R_form_l4 = "New password (confirmation)";
66
$R_eval_pass = "Score :";
62
$R_eval_pass = "Score :";
67
$R_passwordmeter = "Powered by <a href=\"http://www.shibbo.com/pwdmeter.php\" target=\"_blank\">Shibbo Password Analyser</a>";
63
$R_passwordmeter = "Powered by 'Shibbo Password Analyser'</a>";
68
$R_form_button_valid = "Modify";
64
$R_form_button_valid = "Modify";
69
$R_form_button_retour = "Cancel";
65
$R_form_button_retour = "Cancel";
70
$R_form_result1 = "Your password has been successfuly changed";
66
$R_form_result1 = "Your password has been successfuly changed";
71
$R_form_result2 = "Error when trying to change password";
67
$R_form_result2 = "Error when trying to change password";
72
$R_retour = "ALCASAR home page";}
68
$R_retour = "ALCASAR home page";}
73
if($Language == 'fr'){
69
if($Language == 'fr'){
74
$R_title = "Changement de mot de passe utilisateur";
70
$R_title = "Changement de mot de passe utilisateur";
75
$R_text_chg = "Changez votre mot de passe d'acc&egrave;s &agrave; internet en utilisant le formulaire ci-dessous.";
-
 
76
$R_form_l1 = "Utilisateur :";
71
$R_form_l1 = "Utilisateur :";
77
$R_form_l2 = "Ancien mot de passe :";
72
$R_form_l2 = "Ancien mot de passe :";
78
$R_form_l3 = "Nouveau mot de passe :";
73
$R_form_l3 = "Nouveau mot de passe :";
79
$R_form_l4 = "Nouveau mot de passe (confirmation) :";
74
$R_form_l4 = "Nouveau mot de passe (confirmation) :";
80
$R_eval_pass = "";
75
$R_eval_pass = "";
81
$R_passwordmeter = "Propulsé par <a href=\"http://www.shibbo.com/pwdmeter.php\" target=\"_blank\">Shibbo Password Analyser</a>";
76
$R_passwordmeter = "Propulsé par 'Shibbo Password Analyser'</a>";
82
$R_form_button_valid = "Modifier";
77
$R_form_button_valid = "Modifier";
83
$R_form_button_retour = "Annuler";
78
$R_form_button_retour = "Annuler";
84
$R_form_result1 = "Votre mot de passe a &eacute;t&eacute; modifi&eacute; avec succ&egrave;s";
79
$R_form_result1 = "Votre mot de passe a &eacute;t&eacute; modifi&eacute; avec succ&egrave;s";
85
$R_form_result2 = "Erreur de changement de mot de passe";
80
$R_form_result2 = "Erreur de changement de mot de passe";
86
$R_retour = "Retour &agrave; la page d'accueil ALCASAR";
81
$R_retour = "Retour &agrave; la page d'accueil ALCASAR";
Line 102... Line 97...
102
		<div id=\"page\">
97
		<div id=\"page\">
103
			<div id=\"block_pass\">
98
			<div id=\"block_pass\">
104
				<div id=\"pass_chg\">	
99
				<div id=\"pass_chg\">	
105
					<img src=\"../images/organisme.png\" />
100
					<img src=\"../images/organisme.png\" />
106
					<h1 id=\"titre_pass\">$R_title</h1>
101
					<h1 id=\"titre_pass\">$R_title</h1>
107
					<p id=\"help_pass\">$R_text_chg</p>
-
 
108
				</div>
102
				</div>
109
				<div id=\"pass_chg_content\">
103
				<div id=\"pass_chg_content\">
110
					<form name=\"master\" action=\"$current_page\" method=\"post\">
104
					<form name=\"master\" action=\"$current_page\" method=\"post\">
111
					<input type=hidden name=action value=checkpass>
105
					<input type=hidden name=action value=checkpass>
112
						<table id=\"champs_pass\">
106
						<table id=\"champs_pass\">