Location: PHPKode > projects > OpenNitro > trunk/Nitro/Defaults/Templates/Login.tpl
{*
// +---------------------------------------------------------------------------+
// | Nitro :: Defaults :: Templates :: Login                                   |
// +---------------------------------------------------------------------------+
// | Copyright (c) 2006 June Systems BV                                        |
// +---------------------------------------------------------------------------+
// | This library is free software; you can redistribute it and/or modify it   |
// | under the terms of the GNU Lesser General Public License as published by  |
// | the Free Software Foundation; either version 2.1 of the License, or (at   |
// | your option) any later version.                                           |
// |                                                                           |
// | This library is distributed in the hope that it will be useful, but       |
// | WITHOUT ANY WARRANTY; without even the implied warranty of                |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser   |
// | General Public License for more details.                                  |
// |                                                                           |
// | You should have received a copy of the GNU Lesser General Public License  |
// | along with this library; if not, write to the Free Software Foundation,   |
// | Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA            |
// +---------------------------------------------------------------------------+
// | Authors: Jesper Avôt <hide@address.com>                        |
// +---------------------------------------------------------------------------+
//
// $Id: Login.tpl 229 2008-04-17 09:20:31Z oli $
//
// NitroBO Login TPL
//
*}	
<center>
	<div id="LoginContainer">
		<h2 style="text-align: left;">Inloggen op Nitro BackOffice</h2>
		<br />
		<form name="LoginForm" method="post" action="" enctype="application/x-www-form-urlencoded">
		{if $GET}<input type="hidden" name="SessionGET" value="{$GET}" />{/if}
		{if $POST}<input type="hidden" name="SessionPOST" value="{$POST}" />{/if}
		<table width="100%" cellpadding="3" cellspacing="0" border="0">
			<tr>
				<td colspan="2">
					{if $SessionExpired}
						<input type="hidden" name="SessionExpired" value="1">
						{NitroGetText IDString="LoginSessionExpired" Default="<strong>Your session has expired.<br /><br />Please supply your username and password to log on again.<br /><br /></strong>"}
					{elseif $LoggedOn}
						{NitroGetText IDString="LoginNoRights" Default="<strong>You do not have sufficient security rights to view this page.<br /><br />Please log on with credentials that have sufficient security rigths to continue.<br /><br /></strong>"}
					{elseif $LoginFailed}
						{NitroGetText IDString="LoginFailed" Default="<strong>Log on failed. Please try again.<br /><br /></strong>"}
					{else}
						{NitroGetText IDString="LoginPre" Default="<strong>Please supply your username and password to log on.<br /><br /></strong>"}
					{/if}
				</td>
			</tr>
			<tr>
				<td>Username</td>
				<td><input type="text" name="_Nitro_Login_username" id="_Nitro_Login_username" size="16" maxlength="50" value="{$username}" class="login" /></td>
			</tr>
			<tr>
				<td>Password</td>
				<td><input type="password" name="_Nitro_Login_password" id="_Nitro_Login_password" size="16" maxlength="50" value="" class="login" /></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td><input type="submit" name="Login" value=" Login " class="login" /></td>
			</tr>
		</table>
		</form>
	</div>
</center>
<br /><br />
Return current item: OpenNitro