Pastoid

Loginform

The page you are looking at now is at this URL: http://pastoid.com/aqd

This paste was last updated on March 2, 2009 at 3:24 pm.

Pasted Coderaw

<!-- loginform -->
<?php
if ( isset( $error ) && ( $error == 'Bad credentials' ) ) {
?>
		<p><?php _e('That login is incorrect.'); ?></p>
 
<?php
}
if ( $loggedin ) {
?>
		<p><?php _e('You are logged in as'); ?> <a href="<?php URL::out( 'admin', 'page=user&user=' . $user->username ) ?>" title="<?php _e('Edit Your Profile'); ?>"><?php echo $user->username; ?></a>.</p>
		<p><?php _e('Want to'); ?> <a href="<?php Site::out_url( 'habari' ); ?>/user/logout"><?php _e('log out'); ?></a>?</p>
<?php
}
else {
?>
	<?php Plugins::act( 'theme_loginform_before' ); ?>
		<form method="post" action="<?php URL::out( 'user', array( 'page' => 'login' ) ); ?>" id="loginform">
			<p>
			<label for="habari_username"><?php _e('Name:'); ?></label>
			<input type="text" size="25" name="habari_username" id="habari_username">
			</p>
			<p>
			<label for="habari_password"><?php _e('Password:'); ?></label>
			<input type="password" size="25" name="habari_password" id="habari_password">
			</p>
			<?php Plugins::act( 'theme_loginform_controls' ); ?>
			<p>
			<input type="submit" value="<?php _e('Sign in'); ?>">
			</p>
		</form>
		<?php Plugins::act( 'theme_loginform_after' ); ?>
<?php
}
?>
<!-- /loginform -->
 
 

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
pastoid.com 7
search.live.com 1
www.razdavai.com 1
Is this paste spam?
<Hide