*** empty log message ***
This commit is contained in:
parent
745fc64a05
commit
7eca172db3
Binary file not shown.
After Width: | Height: | Size: 5.7 KiB |
|
@ -123,11 +123,11 @@ function display_LoginPage($config_object,$profile)
|
||||||
<?php
|
<?php
|
||||||
if ((! function_exists('mHash')) && (! function_exists('sha1'))) {
|
if ((! function_exists('mHash')) && (! function_exists('sha1'))) {
|
||||||
StatusMessage("INFO", "Your PHP does not support MHash or sha1(), you will only be able to use CRYPT/PLAIN/MD5/SMD5 for user passwords!", "Please install MHash or update to PHP >4.3.");
|
StatusMessage("INFO", "Your PHP does not support MHash or sha1(), you will only be able to use CRYPT/PLAIN/MD5/SMD5 for user passwords!", "Please install MHash or update to PHP >4.3.");
|
||||||
|
?>
|
||||||
|
<br><br>
|
||||||
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<p align="center">
|
|
||||||
<b><?php echo _("Enter Username and Password for Account") . ":"; ?></b>
|
|
||||||
</p>
|
|
||||||
<?php
|
<?php
|
||||||
if($error_message != "") {
|
if($error_message != "") {
|
||||||
?>
|
?>
|
||||||
|
@ -141,16 +141,25 @@ function display_LoginPage($config_object,$profile)
|
||||||
?>
|
?>
|
||||||
<form action="login.php" method="post">
|
<form action="login.php" method="post">
|
||||||
<input type="hidden" name="action" value="checklogin">
|
<input type="hidden" name="action" value="checklogin">
|
||||||
<table width="500" align="center" border="0">
|
<table width="650" align="center" border="2" rules="none" bgcolor="white">
|
||||||
<tr>
|
<tr>
|
||||||
<td width="45%" align="right">
|
<td width="70" rowspan="9">
|
||||||
|
<img src="../graphics/lam.png" alt="Logo">
|
||||||
|
</td>
|
||||||
|
<td height="70" colspan="2" align="center">
|
||||||
|
<font color="darkblue"><b><big><?php echo _("Enter Username and Password for Account"); ?></big></b></font>
|
||||||
|
</td>
|
||||||
|
<td rowspan="9" width="70">
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td height="35" align="right"><b>
|
||||||
<?php
|
<?php
|
||||||
echo _("Username") . ":";
|
echo _("Username") . ":";
|
||||||
?>
|
?>
|
||||||
</td>
|
</b> </td>
|
||||||
<td width="10%">
|
<td height="35" align="left">
|
||||||
</td>
|
|
||||||
<td width="45%" align="left">
|
|
||||||
<select name="username" size="1">
|
<select name="username" size="1">
|
||||||
<?php
|
<?php
|
||||||
$admins = $config_object->get_Admins();
|
$admins = $config_object->get_Admins();
|
||||||
|
@ -166,14 +175,12 @@ function display_LoginPage($config_object,$profile)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="45%" align="right">
|
<td height="35" align="right"><b>
|
||||||
<?php
|
<?php
|
||||||
echo _("Password") . ":";
|
echo _("Password") . ":";
|
||||||
?>
|
?>
|
||||||
</td>
|
</b> </td>
|
||||||
<td width="10%">
|
<td height="35" align="left">
|
||||||
</td>
|
|
||||||
<td width="45%" align="left">
|
|
||||||
<input type="password" name="passwd">
|
<input type="password" name="passwd">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -181,7 +188,7 @@ function display_LoginPage($config_object,$profile)
|
||||||
<?php
|
<?php
|
||||||
if($message != "") {
|
if($message != "") {
|
||||||
?>
|
?>
|
||||||
<td width="100%" colspan="3" align="center">
|
<td height="35" colspan="3" align="center">
|
||||||
<?php
|
<?php
|
||||||
echo $message;
|
echo $message;
|
||||||
?>
|
?>
|
||||||
|
@ -192,14 +199,12 @@ function display_LoginPage($config_object,$profile)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<td width="45%" align="right">
|
<td align="right"><b>
|
||||||
<?php
|
<?php
|
||||||
echo _("Your Language") . ":";
|
echo _("Your Language") . ":";
|
||||||
?>
|
?>
|
||||||
</td>
|
</b> </td>
|
||||||
<td width="10%">
|
<td height="35" align="left">
|
||||||
</td>
|
|
||||||
<td width="45%" align="left">
|
|
||||||
<select name="language" size="1">
|
<select name="language" size="1">
|
||||||
<?php
|
<?php
|
||||||
for($i = 0; $i < count($languages); $i++) {
|
for($i = 0; $i < count($languages); $i++) {
|
||||||
|
@ -223,46 +228,49 @@ function display_LoginPage($config_object,$profile)
|
||||||
?>
|
?>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%" colspan="3" align="center">
|
<td height="50" colspan="2" align="center">
|
||||||
<input type="submit" name="submit" value="<?php echo _("Login"); ?>">
|
<input type="submit" name="submit" value="<?php echo _("Login"); ?>">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
|
||||||
<br><br>
|
|
||||||
<table width="345" align="center" bgcolor="#C7E7C7" border="0">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td width="100%" align="center">
|
<td height="50" colspan="2"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td height="30" colspan="2"><b>
|
||||||
<?php
|
<?php
|
||||||
echo _("You are connecting to ServerURL") . ": ";
|
echo _("LDAP server") . ": ";
|
||||||
?>
|
?></b>
|
||||||
<b><?php echo $config_object->get_ServerURL(); ?></b>
|
<?php echo $config_object->get_ServerURL(); ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
<tr>
|
||||||
</form>
|
<td height="30"><b>
|
||||||
<br><br>
|
|
||||||
<form action="./login.php" method="post" enctype="plain/text">
|
|
||||||
<input type="hidden" name="action" value="profileChange">
|
|
||||||
<p align="center">
|
|
||||||
<?php
|
|
||||||
echo _("You are currently using Profile") . ": ";
|
|
||||||
if(!$_POST['profile']) {
|
|
||||||
$_POST['profile'] = $profile;
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<b><?php echo $_POST['profile']; ?></b>
|
|
||||||
<br>
|
|
||||||
<select name="profile" size="1">
|
|
||||||
<?php
|
|
||||||
for($i=0;$i<count($profiles);$i++) {
|
|
||||||
?>
|
|
||||||
<option value="<?php echo $profiles[$i]; ?>"><?php echo $profiles[$i]; ?></option>
|
|
||||||
<?php
|
<?php
|
||||||
}
|
echo _("Configuration profile") . ": ";
|
||||||
?>
|
if(!$_POST['profile']) {
|
||||||
</select>
|
$_POST['profile'] = $profile;
|
||||||
<input type="submit" value="<?php echo _("Change Profile"); ?>">
|
}
|
||||||
</p>
|
?></b>
|
||||||
|
<?php echo $_POST['profile']; ?>
|
||||||
|
</td>
|
||||||
|
<td height="30" align="right">
|
||||||
|
<select name="profile" size="1">
|
||||||
|
<?php
|
||||||
|
for($i=0;$i<count($profiles);$i++) {
|
||||||
|
?>
|
||||||
|
<option value="<?php echo $profiles[$i]; ?>"><?php echo $profiles[$i]; ?></option>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
<input type="submit" value="<?php echo _("Change Profile"); ?>">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td height="10" colspan="2"></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<br><br>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue