Ejemplo n.º 1
0
<h2>Reset Password</h2>
	
<?php if (auth_errors() || validation_errors()) : ?>
<div class="notification error">
	<?php echo auth_errors() . validation_errors(); ?>
</div>
<?php endif; ?>

<p>Enter your email and we'll send a temporary password to you.</p>

<?php echo form_open($this->uri->uri_string()); ?>
	<label for="email">Email</label>
	<input type="email" name="email" id="email"  value="<?php echo set_value('email'); ?>"  />		

<div class="submits">
	<input type="submit" name="submit" id="submit" value="Send Password"  />
</div>

<?php echo form_close(); ?>
Ejemplo n.º 2
0
<h2>My Name Is...</h2>

<?php if (auth_errors() || validation_errors()) : ?>
<div class="notification error">
	<?php echo auth_errors(); ?>
</div>
<?php endif; ?>

<?php echo form_open('login'); ?>

	<label for="login_value"><?php echo config_item('auth.login_type') == 'both' ? 'Username/Email' : ucwords(config_item('auth.login_type')) ?></label>
	<input type="text" name="login" id="login_value" value="<?php echo set_value('login'); ?>" tabindex="1" placeholder="<?php echo config_item('auth.login_type') == 'both' ? 'Username/Email' : ucwords(config_item('auth.login_type')) ?>" />

	<label for="password">Password</label>
	<input type="password" name="password" id="password" value="" tabindex="2" placeholder="password" />
	
	<?php if (config_item('auth.allow_remember')) : ?>
	<div class="small indent">
		<input type="checkbox" name="remember_me" id="remember_me" value="1" tabindex="3" /> 		<label for="remember_me" class="remember">Remember me for two weeks</label>
	</div>
	<?php endif; ?>

	<div class="submits">
		<input type="submit" name="submit" id="submit" value="Let Me In" tabindex="5" />	
	</div>

<?php echo form_close(); ?>
		
<p style="text-align: center">
	<?php if (config_item('auth.allow_register')) : ?>
		Don't have an account? <?php echo anchor('/register', 'Sign up today'); ?> &nbsp;&nbsp; &#8226; &nbsp;&nbsp;