version 1.1, 2008/01/05 12:25:17
|
version 1.2, 2008/01/07 03:53:59
|
Line 1
|
Line 1
|
<!-- $Paefchen: FreeBSD/tinderbox/webui/templates/paefchen/display_login.tpl,v 1.1 2008/01/05 11:56:01 as Exp $ //--> | <!-- $Paefchen: FreeBSD/tinderbox/webui/templates/paefchen/display_login.tpl,v 1.1 2008/01/05 12:25:17 as Exp $ //--> |
<!-- user_name:<?=$user_name?>;user_id:<?=$user_id?>;is_www_admin:<?=$is_www_admin?> //--> |
<!-- user_name:<?=$user_name?>;user_id:<?=$user_id?>;is_www_admin:<?=$is_www_admin?> //--> |
<div id="user"> |
<div id="user"> |
<? if (empty($user_name)) { ?> |
<? if (empty($user_name)) { ?> |
<form method="post" action="index.php"> |
<form method="post" action="index.php"> |
|
<fieldset> |
|
<label>Login</label> |
<? if ($errors) { ?> |
<? if ($errors) { ?> |
<p style="color:#FF0000"> |
<p style="color:#FF0000"> |
<? foreach($errors as $error){ ?> |
<? foreach($errors as $error){ ?> |
Line 10
|
Line 12
|
<? } ?> |
<? } ?> |
</p> |
</p> |
<?}?> |
<?}?> |
<h1>Login</h1> |
|
<table> |
<table> |
<tr> |
<tr> |
<td>Username</td> |
<td>Username</td> |
Line 22
|
Line 23
|
<td><input type="submit" name="do_login" value="login" /></td> |
<td><input type="submit" name="do_login" value="login" /></td> |
</tr> |
</tr> |
</table> |
</table> |
|
</fieldset> |
</form> |
</form> |
<? } else { ?> |
<? } else { ?> |
<form method="post" action="index.php"> |
<form method="post" action="index.php"> |