function topper($isadmin,$logname,$pageref)
{
+global $userlang;
+
$entete="";
$admcolor="black";
$click1="";
$admcolor="red";
switch ($pageref) {
case "lvllog" :
- $entete=gettranslate(lng::fra,"authentication");
+ $entete=gettranslate($userlang,"Authentication");
//$entete=gettranslate(lng::fra,"nuts");
break;
case "lvlmai" :
//==============================================================
include_once "subrou.php";
include_once "unienv.php";
+include_once "unilng.php";
include_once "gesdis.php";
include_once "gessql.php";
function login()
{
+global $userlang;
+
+$lngemail=gettranslate($userlang,"Email");
+$lngpass=gettranslate($userlang,"Password");
+$lngshow=gettranslate($userlang,"Show");
+
$STR = <<<EOT
<script>
datain.type="text";
}
else {
- datain.type = "password";
+ datain.type="password";
}
}
+
</script>
-<table border="0" align="center" width="350" cellpadding="0" cellspacing="0">
+
+<table border="0" align="center" width="400" cellpadding="0" cellspacing="0">
<tr>
<td><img src="/reg-icons/login.gif" alt="" border="0" /></td>
</tr>
action="lvllog.php"
enctype="application/x-www-form-urlencoded"
name="login">
- <table align="center" border="0" cellspacing="2" cellpadding="0">
+ <table align="center" border="0" cellspacing="5" cellpadding="0">
<tr>
- <td align="left" nowrap="nowrap">Email:</td>
+ <td align="left" nowrap="nowrap">$lngemail:</td>
<td>
<input type="text" name="email" size="20" onchange="" />
</td>
</tr>
<tr>
- <td align="left" nowrap="nowrap">Password:</td>
+ <td align="left" nowrap="nowrap">$lngpass:</td>
<td>
<input type="password" name="passwd" size="20" id="myInput" />
- <input type="checkbox" onclick="showpass()">Show
+ <input type="checkbox" onclick="showpass()" >$lngshow
</td>
</tr>
</table>
</HEAD>
<BODY="white">
-<CENTER><STRONG><FONT SIZE=+2 color=red>
+<CENTER><STRONG><FONT SIZE=+2>
$top
</FONT></STRONG></CENTER>
$login
return $STR;
}
+$userlang=lng::fra;
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$pass=$_POST["passwd"];
$logname=$_POST["email"];