mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
02195254d7
- define('POSTFIXADMIN', 1) templates/*.php - check if POSTFIXADMIN is defined to prevent direct access to the template files git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@256 a1433add-5e2c-0410-b055-b7f2511e0802
34 lines
1.1 KiB
PHP
34 lines
1.1 KiB
PHP
<?php if( !defined('POSTFIXADMIN') ) die( "This file cannot be used standalone." ); ?>
|
|
<div id="login">
|
|
<form name="login" method="post">
|
|
<table id="login_table" cellspacing="10">
|
|
<tr>
|
|
<td colspan="2"><h4><?php print $PALANG['pLogin_welcome']; ?></h4></td>
|
|
</tr>
|
|
<tr>
|
|
<td><?php print $PALANG['pLogin_username'] . ":"; ?></td>
|
|
<td><input class="flat" type="text" name="fUsername" value="<?php print $tUsername; ?>" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td><?php print $PALANG['pLogin_password'] . ":"; ?></td>
|
|
<td><input class="flat" type="password" name="fPassword" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="hlp_center"><input class="button" type="submit" name="submit" value="<?php print $PALANG['pLogin_button']; ?>" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="standout"><?php print $tMessage; ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"><a href="users/"><?php print $PALANG['pLogin_login_users']; ?></a></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
<script tyle="text/javascript"><!--
|
|
document.login.fUsername.focus();
|
|
// -->
|
|
</script>
|
|
|
|
</div>
|