Subversion Repositories ALCASAR

Rev

Rev 2823 | Rev 3026 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2823 Rev 2850
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: password.php 2823 2020-05-24 17:38:00Z rexy $
2
# $Id: password.php 2850 2020-07-15 22:24:44Z rexy $
3
#
3
#
4
# change user password on ALCASAR
4
# change user password on ALCASAR
5
# by ANGEL95 & REXY
5
# by ANGEL95 & REXY
6
 
6
 
7
/****************************************************************
7
/****************************************************************
Line 55... Line 55...
55
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
55
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
56
	$Langue = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
56
	$Langue = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
57
	$Language = strtolower(substr(chop($Langue[0]), 0, 2));
57
	$Language = strtolower(substr(chop($Langue[0]), 0, 2));
58
}
58
}
59
if ($Language === 'es') {		// Spanish
59
if ($Language === 'es') {		// Spanish
60
	$l_title			= "User password change";
60
	$l_title			= "Gestione su contraseña";
61
	$l_form_l1			= "User";
61
	$l_form_l1			= "Usuario";
62
	$l_form_l2			= "Old password";
62
	$l_form_l2			= "Contraseña anterior";
63
	$l_form_l3			= "New password";
63
	$l_form_l3			= "Nueva contraseña";
64
	$l_form_l4			= "New password (confirmation)";
64
	$l_form_l4			= "Nueva contraseña (verificación)";
65
	$l_eval_pass			= "Score :";
65
	$l_eval_pass			= "Evaluación :";
66
	$l_passwordmeter		= "Powered by 'Shibbo Password Analyser'";
66
	$l_passwordmeter		= "Powered by 'Shibbo Password Analyser'";
67
	$l_form_button_valid		= "Modify";
67
	$l_form_button_valid		= "Modificar";
68
	$l_form_button_retour		= "Cancel";
68
	$l_form_button_retour		= "Cancelar";
69
	$l_form_result1			= "Your password has been successfuly changed";
69
	$l_form_result1			= "Su contraseña ha sido actualizada exitosamente";
70
	$l_form_result2			= "Error when trying to change password";
70
	$l_form_result2			= "Error al intentar cambiar la contraseña";	
71
} else if ($Language === 'pt') {	// Portuguese
71
} else if ($Language === 'pt') {	// Portuguese
72
	$l_title			= "Alteração de senha do usuário";
72
	$l_title			= "Alteração de senha do usuário";
73
	$l_form_l1			= "Usuário";
73
	$l_form_l1			= "Usuário";
74
	$l_form_l2			= "Senha antiga";
74
	$l_form_l2			= "Senha antiga";
75
	$l_form_l3			= "Nova senha";
75
	$l_form_l3			= "Nova senha";
Line 108... Line 108...
108
	$l_title			= "修改用户密码";
108
	$l_title			= "修改用户密码";
109
	$l_form_l1			= "用户";
109
	$l_form_l1			= "用户";
110
	$l_form_l2			= "旧密码";
110
	$l_form_l2			= "旧密码";
111
	$l_form_l3			= "新密码";
111
	$l_form_l3			= "新密码";
112
	$l_form_l4			= "新密码(确认)";
112
	$l_form_l4			= "新密码(确认)";
113
	$l_eval_pass			= ""; // TODO: to translate
113
	$l_eval_pass			= "得分";
114
	$l_passwordmeter		= "技术支持 'Shibbo Password Analyser'";
114
	$l_passwordmeter		= "技术支持 'Shibbo Password Analyser'";
115
	$l_form_button_valid		= "修改";
115
	$l_form_button_valid		= "修改";
116
	$l_form_button_retour		= "取消";
116
	$l_form_button_retour		= "取消";
117
	$l_form_result1			= "您的密码已成功修改";
117
	$l_form_result1			= "您的密码已成功修改";
118
	$l_form_result2			= "修改密码出错";
118
	$l_form_result2			= "修改密码出错";
Line 120... Line 120...
120
	$l_title			= "تغيير كلمة المرور للمستخدم";
120
	$l_title			= "تغيير كلمة المرور للمستخدم";
121
	$l_form_l1			= "المستعمل";
121
	$l_form_l1			= "المستعمل";
122
	$l_form_l2			= "كلمه السر القديمة";
122
	$l_form_l2			= "كلمه السر القديمة";
123
	$l_form_l3			= "كلمة السر الجديدة";
123
	$l_form_l3			= "كلمة السر الجديدة";
124
	$l_form_l4			= "كلمة السر الجديدة (أكد)";
124
	$l_form_l4			= "كلمة السر الجديدة (أكد)";
125
	$l_eval_pass			= ""; // TODO: to translate
125
	$l_eval_pass			= ": أحرز هدفا";
126
	$l_passwordmeter		= "مشغل بواسطة 'Shibbo Password Analyser'";
126
	$l_passwordmeter		= "مشغل بواسطة 'Shibbo Password Analyser'";
127
	$l_form_button_valid		= "تغيير";
127
	$l_form_button_valid		= "تغيير";
128
	$l_form_button_retour		= "إلغاء";
128
	$l_form_button_retour		= "إلغاء";
129
	$l_form_result1			= "تم تغيير الرقم السري بنجاح";
129
	$l_form_result1			= "تم تغيير الرقم السري بنجاح";
130
	$l_form_result2			= "خطأ عند محاولة تغيير كلمة المرور";
130
	$l_form_result2			= "خطأ عند محاولة تغيير كلمة المرور";