{*
  ===============================================================

  inGenio X
  http://ingenio.area421.com

  Created by 
  Julian Moreno Hidalgo (Software developer)
  Jesus Moreno Hidalgo (Communication's tree)

  inGenio X is a free software licensed under CC-GNU GPL

  ===============================================================
*}

<div class="rutas"><a href="{$smarty.const.RUTA_INICIO}len{$smarty.const.IGUAL}{$smarty.const.IDIOMA_ACTUAL}">{$smarty.const.LEN_24}</a> : <a href="{$smarty.const.RUTA_INICIO}len{$smarty.const.IGUAL}{$smarty.const.IDIOMA_ACTUAL}{$smarty.const.AMPER}fpp{$smarty.const.IGUAL}1">{$smarty.const.LEN_92}</a></div>
<div class="div_contenido_int">
{* mensajes *}
{if $form_intranet_msj == 1}<div class="cat_vacia">{$smarty.const.LEN_153}</div>{/if}
{if $form_intranet_msj == 2}<div class="cat_vacia">{$smarty.const.LEN_154}</div>{/if}
{if $form_intranet_msj == 3}<div class="cat_vacia">{$smarty.const.LEN_155}</div>{/if}
{if $form_intranet_msj == 4}<div class="cat_vacia">{$smarty.const.LEN_156}</div>{/if}

{* rotulo *}
<div class="div_rotulo_int">{$smarty.const.LEN_148}</div>

{* ayuda *}
<div class="ayuda_int">
{$smarty.const.LEN_149}
</div>

{* FORMULARIO *}
<form enctype="multipart/form-data" action="{$smarty.const.RUTA_INICIO}len{$smarty.const.IGUAL}{$smarty.const.IDIOMA_ACTUAL}" method="post" name="formINT" onsubmit="return validar_int(this);">

{* datos *}
{$smarty.const.LEN_150}
&nbsp;<input name="email_int" maxlength="255" value="" type="text" class="input_int">
<br /><br />
{$smarty.const.LEN_151}
&nbsp;<input name="pass_int" maxlength="100" value="" type="password" class="input_int">
<br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="ENTRAR" class="input_boton_comen" />
<input type="hidden" name="int_log" value="1" />

{* no recuerda la pass *}
<br /><br />
<input type="checkbox" name="verpass" value="1">&nbsp;&nbsp;{$smarty.const.LEN_152}

{* js *}
<script language="javascript" type="text/javascript">
function validar_int (form)
{literal}{{/literal}
	var alerta = "{$smarty.const.LEN_72}";
		if (relleno(form.email_int.value))
		{literal}{{/literal} 
			alert(alerta); form.email_int.focus(); return false; 
		}
		if (!form.verpass.checked)
		{literal}{{/literal}
			if (relleno(form.pass_int.value))
			{literal}{{/literal} 
				alert(alerta); form.pass_int.focus(); return false; 
			}
		}
}
</script>

</form>
{* FIN FORMULARIO *}

</div>