{*------------------------------------------------------------------------------- * Dataface Web Application Framework * Copyright (C) 2005-2006 Steve Hannah (shannah@sfu.ca) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *------------------------------------------------------------------------------- *} {use_macro file="Dataface_Main_Template.html"} {fill_slot name="custom_stylesheets"} {/fill_slot} {fill_slot name="main_section"} {if $ENV.user} {/if} {block name="before_login_form"} {define_slot name="login_form"}

{translate id="Please Login"}Please Login to access this section of the site{/translate}

{if $msg}
{$msg}
{/if}
{if !$redirect} {assign var=rkey1 value="-redirect"} {assign var=rkey2 value="-redirect"} {if $ENV.QUERY.$rkey1} {assign var="redirect" value=$ENV.QUERY.$rkey1} {elseif $ENV.QUERY.$rkey2} {assign var="redirect" value=$ENV.QUERY.$rkey2} {elseif $smarty.session.$rkey1} {assign var="redirect" value=$smarty.session.$rkey1} {elseif $smarty.session.$rkey2} {assign var="redirect" value=$smarty.session.$rkey2} {/if} {/if}
{translate id="Login Form"}Login Form{/translate} {block name="before_login_username}
{block name="after_login_username"}
{block name="after_login_password"} {block name="after_login_submit"}
{actions category="login_actions" var="login_actions"} {/define_slot} {block name="after_login_form"} {/fill_slot} {/use_macro}