<?php /* Smarty version 2.6.22, created on 2009-05-23 09:42:07
         compiled from tiki-site_header_login.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'userlink', 'tiki-site_header_login.tpl', 5, false),)), $this); ?>

<?php echo ''; ?><?php if ($this->_tpl_vars['user']): ?><?php echo '<div id="siteloginbar" class="logged-in">'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['user'])) ? $this->_run_mod_handler('userlink', true, $_tmp) : smarty_modifier_userlink($_tmp)); ?><?php echo ' | <a href="tiki-logout.php" title="Logout">Logout</a>'; ?><?php else: ?><?php echo '<div id="siteloginbar">'; ?><?php if ($this->_tpl_vars['user']): ?><?php echo ''; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['user'])) ? $this->_run_mod_handler('userlink', true, $_tmp) : smarty_modifier_userlink($_tmp)); ?><?php echo ' | <a href="tiki-logout.php" title="Logout">Logout</a>'; ?><?php else: ?><?php echo '<form class="forms" name="loginbox" action="tiki-login.php" method="post"><label for="sl-login-user">'; ?><?php if ($this->_tpl_vars['prefs']['login_is_email'] == 'y'): ?><?php echo 'Email'; ?><?php else: ?><?php echo 'User'; ?><?php endif; ?><?php echo ':</label><input type="text" name="user" id="sl-login-user" /><label for="sl-login-pass">Password:</label><input type="password" name="pass" id="sl-login-pass" size="10" /><input class="wikiaction" type="submit" name="login" value="Login" /><div>'; ?><?php if ($this->_tpl_vars['prefs']['rememberme'] == 'always'): ?><?php echo '<input type="hidden" name="rme" value="on" />'; ?><?php elseif ($this->_tpl_vars['prefs']['rememberme'] == 'all'): ?><?php echo '<span class="rme"><label for="login-remember">Remember me</label><input type="checkbox" name="rme" id="login-remember" value="on" checked="checked" /></span>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['prefs']['change_password'] == 'y' && $this->_tpl_vars['prefs']['forgotPass'] == 'y'): ?><?php echo '<span class="pass"><a href="tiki-remind_password.php" title="Click here if you\'ve forgotten your password">I forgot my password</a></span>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['prefs']['allowRegister'] == 'y'): ?><?php echo '<span class="register">&nbsp;<a href="tiki-register.php" title="Click here to register">Register</a></span>'; ?><?php endif; ?><?php echo '</div></form>'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '</div>'; ?>