Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 426 → Rev 509

/web/pass/index.php
21,7 → 21,7
$R_form_button = "Modify";
$R_form_result1 = "Your password has been successfuly changed";
$R_form_result2 = "Error when trying to change password";
}
$R_retour = "ALCASAR home page";}
if($Language == 'de'){
$R_title = "User password change";
$R_form_l1 = "User";
31,7 → 31,7
$R_form_button = "Modify";
$R_form_result1 = "Your password has been successfuly changed";
$R_form_result2 = "Error when trying to change password";
}
$R_retour = "ALCASAR home page";}
if($Language == 'nl'){
$R_title = "User password change";
$R_form_l1 = "User";
41,7 → 41,7
$R_form_button = "Modify";
$R_form_result1 = "Your password has been successfuly changed";
$R_form_result2 = "Error when trying to change password";
}
$R_retour = "ALCASAR home page";}
if($Language == 'en'){
$R_title = "User password change";
$R_form_l1 = "User";
51,7 → 51,7
$R_form_button = "Modify";
$R_form_result1 = "Your password has been successfuly changed";
$R_form_result2 = "Error when trying to change password";
}
$R_retour = "ALCASAR home page";}
if($Language == 'fr'){
$R_title = "Changement de mot de passe utilisateur";
$R_form_l1 = "Utilisateur";
61,44 → 61,45
$R_form_button = "Modifier";
$R_form_result1 = "Votre mot de passe a été modifié avec succès";
$R_form_result2 = "Erreur de changement de mot de passe";
$R_retour = "Retour à la page d'accueil ALCASAR";
}
echo "
<html>
<head>
<title>$R_title</title>
<meta http-equiv=\"Cache-control\" content=\"no-cache\">
<meta http-equiv=\"Pragma\" content=\"no-cache\">
<link rel=\"stylesheet\" href=\"/css/style.css\" type=\"text/css\">
</head>
<body>
<center>
<table border=0 width=400 cellpadding=0 cellspacing=2>
<tr>
<td>
<form name=\"master\" action=\"$current_page\" method=\"post\">
<input type=hidden name=action value=checkpass>
<br>
<table border=0 width=540 cellpadding=1 cellspacing=1>
<tr valign=top>
<td width=340></td>
<td bgcolor=\"black\" width=200>
<table border=0 width=100% cellpadding=2 cellspacing=0>
<tr bgcolor=\"#907030\" align=right valign=top><th>
<font color=\"white\">$R_title</font>&nbsp;
</th></tr>
</table>
</td></tr>
<tr bgcolor=\"black\" valign=top><td colspan=2>
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor=\"#ffffd0\" valign=top>
<tr><td>
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor=\"#ffffe0\" valign=top>
<tr><td align=center bgcolor=\"#d0ddb0\">$R_form_l1</td><td><input type=\"text\" name=\"login\" value=\"\"></td></tr>
<tr><td align=center bgcolor=\"#d0ddb0\">$R_form_l2</td><td><input type=\"password\" name=\"passwd\" value=\"\"></td></tr>
<tr><td align=center bgcolor=\"#d0ddb0\">$R_form_l3</td><td><input type=\"password\" name=\"newpasswd\" value=\"\"></td></tr>
<tr><td align=center bgcolor=\"#d0ddb0\">$R_form_l4</td><td><input type=\"password\" name=\"newpasswd2\" value=\"\">&nbsp;<input type=\"submit\" class=button value=\"$R_form_button\"></td></tr>
</table>
</table>
</table>";
<head>
<title>$R_title</title>
<meta http-equiv=\"Cache-control\" content=\"no-cache\">
<meta http-equiv=\"Pragma\" content=\"no-cache\">
<link rel=\"stylesheet\" href=\"../css/pass.css\" type=\"text/css\">
</head>
<body>
<div id=\"page\">
<div id=\"block_pass\">
<form name=\"master\" action=\"$current_page\" method=\"post\">
<input type=hidden name=action value=checkpass>
<p id=\"titre_pass\">$R_title</p>
<table id=\"champs_pass\">
<tr>
<td class=\"first_item\">$R_form_l1</td>
<td><input type=\"text\" name=\"login\" value=\"\" label=\"test\"></td>
</tr>
<tr>
<td class=\"first_item\">$R_form_l2</td>
<td><input type=\"password\" name=\"passwd\" value=\"\"></td>
</tr>
<tr>
<td class=\"first_item\">$R_form_l3</td>
<td><input type=\"password\" name=\"newpasswd\" value=\"\"></td>
</tr>
<tr>
<td class=\"first_item\">$R_form_l4</td>
<td><input type=\"password\" name=\"newpasswd2\" value=\"\"></td>
</tr>
</table>
<span><a href=\"http://alcasar\">$R_retour</a></span>
<input type=\"submit\" class=\"button\" id=\"btn_pass\" value=\"$R_form_button\">
</div>
</div>
";
 
if (is_file("sql/drivers/$config[sql_type]/functions.php"))
include_once("sql/drivers/$config[sql_type]/functions.php");
133,7 → 134,7
echo "<b>Could not open encryption library file</b><br>\n";
}
}
echo "<tr><td colspan=3 align=center>$msg</td></tr>\n";
echo "<span align=center>$msg</span>\n";
}
}
?>