{* $Id: tiki-socialnetworks_firstlogin.tpl 33949 2011-04-14 05:13:23Z chealer $ *}

{if $alldone}

{jq}
window.parent.location = 'tiki-index.php';
{/jq}
<p>{tr}You will be redirected to the home page shortly.{/tr} <a href="tiki-index.php" target="_parent">{tr}Click here{/tr}</a> {tr}to go to the home page immediately.{/tr}</p>

{else}

{if $msg}<p><strong>{$msg|escape}</strong></p>{/if}

<h4>{tr}Please provide local account information{/tr}</h4>
<form action="tiki-socialnetworks_firstlogin.php" method="post" name="RegForm">
<table class="formcolor">
{include file="register-login.tpl"}
{include file="register-email.tpl"}
{include file="register-groupchoice.tpl"}
{if $msg}<p>{$msg|escape}</p>{/if}
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="localinfosubmit" value="{tr}Submit{/tr}" /></td>
</tr>
</table>
</form>

<h4>{tr}Do you already have a local account for this site? Login to link to it using the following form instead{/tr}</h4>
<form action="tiki-socialnetworks_firstlogin.php" method="post" name="RegForm2">
<table class="formcolor">
<tr>
<td>{tr}Login:{/tr}</td>
<td><input type="text" name="userlogin" /> </td>
</tr>
<tr>
<td>{tr}Password:{/tr}</td>
<td><input type="password" name="userpass" /> </td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="linkaccount" value="{tr}Link to Existing Account{/tr}" /></td>
</tr>
</table>
</form>

{/if}

{literal}
<style type="text/css">
#col1 { width: 580px; }
#col2, #col3, #header, #footer, #header-shadow, #footer-shadow {display: none;}
body {
        background: none;
        background-color: white;
}
</style>
{/literal}

{jq notonready=true}
function check_name() {
//	xajax.config.requestURI = "tiki-socialnetworks_firstlogin.php";
//	xajax_chkRegName(xajax.$('name').value);
}
function check_mail() {
//	xajax.config.requestURI = "tiki-socialnetworks_firstlogin.php";
//	xajax_chkRegEmail(xajax.$('email').value);
}
{/jq}
