*** empty log message ***

This commit is contained in:
duergner 2004-02-04 18:39:55 +00:00
parent 745fc64a05
commit 7eca172db3
2 changed files with 60 additions and 52 deletions

BIN
lam-0.4/graphics/lam.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -123,11 +123,11 @@ function display_LoginPage($config_object,$profile)
<?php
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.");
?>
<br><br>
<?php
}
?>
<p align="center">
<b><?php echo _("Enter Username and Password for Account") . ":"; ?></b>
</p>
<?php
if($error_message != "") {
?>
@ -141,16 +141,25 @@ function display_LoginPage($config_object,$profile)
?>
<form action="login.php" method="post">
<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>
<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">
&nbsp;
</td>
</tr>
<tr>
<td height="35" align="right"><b>
<?php
echo _("Username") . ":";
?>
</td>
<td width="10%">
</td>
<td width="45%" align="left">
</b>&nbsp;&nbsp;</td>
<td height="35" align="left">
<select name="username" size="1">
<?php
$admins = $config_object->get_Admins();
@ -166,14 +175,12 @@ function display_LoginPage($config_object,$profile)
</td>
</tr>
<tr>
<td width="45%" align="right">
<td height="35" align="right"><b>
<?php
echo _("Password") . ":";
?>
</td>
<td width="10%">
</td>
<td width="45%" align="left">
</b>&nbsp;&nbsp;</td>
<td height="35" align="left">
<input type="password" name="passwd">
</td>
</tr>
@ -181,7 +188,7 @@ function display_LoginPage($config_object,$profile)
<?php
if($message != "") {
?>
<td width="100%" colspan="3" align="center">
<td height="35" colspan="3" align="center">
<?php
echo $message;
?>
@ -192,14 +199,12 @@ function display_LoginPage($config_object,$profile)
else
{
?>
<td width="45%" align="right">
<td align="right"><b>
<?php
echo _("Your Language") . ":";
?>
</td>
<td width="10%">
</td>
<td width="45%" align="left">
</b>&nbsp;&nbsp;</td>
<td height="35" align="left">
<select name="language" size="1">
<?php
for($i = 0; $i < count($languages); $i++) {
@ -223,46 +228,49 @@ function display_LoginPage($config_object,$profile)
?>
</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"); ?>">
</td>
</tr>
</table>
<br><br>
<table width="345" align="center" bgcolor="#C7E7C7" border="0">
<tr>
<td width="100%" align="center">
<td height="50" colspan="2"></td>
</tr>
<tr>
<td height="30" colspan="2"><b>
<?php
echo _("You are connecting to ServerURL") . ": ";
?>
<b><?php echo $config_object->get_ServerURL(); ?></b>
echo _("LDAP server") . ": ";
?></b>
<?php echo $config_object->get_ServerURL(); ?>
</td>
</tr>
</table>
</form>
<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>
<tr>
<td height="30"><b>
<?php
}
?>
</select>
<input type="submit" value="<?php echo _("Change Profile"); ?>">
</p>
echo _("Configuration profile") . ": ";
if(!$_POST['profile']) {
$_POST['profile'] = $profile;
}
?></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>
</body>
</html>