<?php /* Smarty version 2.6.22, created on 2009-05-22 08:33:04
         compiled from tiki-change_password.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'title', 'tiki-change_password.tpl', 1, false),array('block', 'tr', 'tiki-change_password.tpl', 29, false),array('modifier', 'escape', 'tiki-change_password.tpl', 5, false),)), $this); ?>
<?php $this->_tag_stack[] = array('title', array()); $_block_repeat=true;smarty_block_title($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Change password enforced<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_title($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>

<form method="post" action="tiki-change_password.php" >
<?php if (! empty ( $_REQUEST['actpass'] )): ?>
<input type="hidden" name="actpass" value="<?php echo ((is_array($_tmp=$_REQUEST['actpass'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
<?php endif; ?>
<fieldset><legend>Change your password</legend>
<table class="form">
<tr>
  <td class="formcolor">Username:</td>
  <td class="formcolor"><input type="text" name="user" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['userlogin'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" <?php if ($this->_tpl_vars['userlogin']): ?>readonly="readonly"<?php endif; ?> /></td>
</tr>
<?php if (empty ( $_REQUEST['actpass'] )): ?>
<tr>
  <td class="formcolor">Old password:</td>
  <td class="formcolor"><input type="password" name="oldpass" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['oldpass'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /></td>
</tr>	
<?php endif; ?>     
<tr>
  <td class="formcolor">New password:</td>
  <td class="formcolor">
						<div style="float:right;width:150px;margin-left:5px;">
							<div id="mypassword_text"></div>
							<div id="mypassword_bar" style="font-size: 5px; height: 2px; width: 0px;"></div> 
						</div>
  <input type="password" name="pass" onkeyup="runPassword(this.value, 'mypassword');<?php if ($this->_tpl_vars['prefs']['feature_ajax'] == 'y'): ?>check_pass();<?php endif; ?>" />
	<?php if ($this->_tpl_vars['prefs']['feature_ajax'] != 'y'): ?>
		<?php if ($this->_tpl_vars['prefs']['min_pass_length'] > 1): ?>
								<div class="highlight"><em><?php $this->_tag_stack[] = array('tr', array()); $_block_repeat=true;smarty_block_tr($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Minimum <?php echo $this->_tpl_vars['prefs']['min_pass_length']; ?>
 characters long<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_tr($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></em></div><?php endif; ?>
		<?php if ($this->_tpl_vars['prefs']['pass_chr_num'] == 'y'): ?>
								<div class="highlight"><em>Password must contain both letters and numbers</em></div><?php endif; ?>
	<?php endif; ?>
  
  </td>
</tr>  
<tr>
  <td class="formcolor">Repeat password:</td>
  <td class="formcolor"><input type="password" name="pass2" /></td>
</tr>  
<tr>
  <td class="formcolor">&nbsp;</td>
  <td class="formcolor"><input type="submit" name="change" value="Change" /></td>
</tr>  
</table>
</form>
</fieldset>