<?php $this->loadCss('/media/css/utilizadores.css'); ?>
<?php $session = Goweb::registry('session'); ?>

<div id="utilizadores_block">
	<h3><?php echo translate('Login'); ?></h3>
	<form name="block_login" id="block_login" action="<?php echo $this->link('/utilizadores/login/'); ?>" method="post">
    	<table cellpadding="0" cellspacing="1" border="0">
            <tr>
                <td><input name="username" value="<?php echo translate('Utilizador');?>" onclick="if (this.value=='<?php echo translate("Utilizador"); ?>' ) { this.value=''; }" onfocus="if (this.value=='<?php echo translate("Utilizador"); ?>')  { this.value=''; }" onblur="if (this.value=='') { this.value='<?php echo translate("Utilizador"); ?>'; }" type="text" /></td>
                <td><input name="password" value="Password" type="password" onclick="if (this.value=='Password') { this.value=''; }" onblur="if (this.value=='') { this.value='Password'; }" onfocus="if (this.value=='Password') { this.value=''; } " /></td>
                <td><input type="submit"  align="middle" value="Login" /></td>
            </tr>
        </table>
		<div class="accoes">
			<a href="<?php echo $this->link('/utilizadores/recuperar_password/'); ?>" title="<?php echo translate('Recuperar Password'); ?>"><?php echo translate('Recuperar Password'); ?></a><br />
            <?php echo translate('Ainda n&atilde;o est&aacute; registado?'); ?>&nbsp;<a href="<?php echo $this->link('/utilizadores/form_registo/'); ?>" title="<?php echo translate('Registar'); ?>"><?php echo translate('Registar'); ?></a>
		</div>
		
	</form>
</div>