<?php /* Smarty version 2.6.10, created on 2006-07-27 20:51:10
         compiled from gallery:modules/core/templates/UserLogin.tpl */ ?>
<div class="gbBlock gcBackground1">
  <h2> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Login to your account'), $this);?>
 </h2>
</div>

<div class="gbBlock">
  <?php if (isset ( $this->_tpl_vars['status']['passwordRecovered'] )): ?>
  <div class="gbBlock"><h2 class="giSuccess">
    <?php echo $this->_reg_objects['g'][0]->text(array('text' => "Your password has been recovered, please login."), $this);?>

  </h2></div>
  <?php endif; ?>

  <h4> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Username'), $this);?>
 </h4>

  <input type="text" id="giFormUsername" size="16"
   name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[username]"), $this);?>
" value="<?php echo $this->_tpl_vars['form']['username']; ?>
"/>

  <script type="text/javascript">
    document.getElementById('userAdminForm')['<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[username]"), $this);?>
'].focus();
  </script>

  <?php if (isset ( $this->_tpl_vars['form']['error']['username']['missing'] )): ?>
  <div class="giError">
    <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'You must enter a username'), $this);?>

  </div>
  <?php endif; ?>

  <h4> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Password'), $this);?>
 </h4>

  <input type="password" id="giFormPassword" size="16" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[password]"), $this);?>
"/>

  <?php if (isset ( $this->_tpl_vars['form']['error']['password']['missing'] )): ?>
  <div class="giError">
    <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'You must enter a password'), $this);?>

  </div>
  <?php endif; ?>
  <?php if (isset ( $this->_tpl_vars['form']['error']['invalidPassword'] )): ?>
  <div class="giError">
    <?php echo $this->_reg_objects['g'][0]->text(array('text' => "Your login information is incorrect.  Please try again."), $this);?>

  </div>
  <?php endif; ?>
</div>

<?php $_from = $this->_tpl_vars['UserLogin']['plugins']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['plugin']):
?>
  <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['plugin']['file']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['plugin']['l10Domain'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  endforeach; endif; unset($_from); ?>

<div class="gbBlock">
  <?php ob_start(); ?>
  <?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.UserAdmin",'arg2' => "subView=core.UserRecoverPassword",'arg3' => "return=1"), $this);?>

  <?php $this->_smarty_vars['capture']['recoverUrl'] = ob_get_contents(); ob_end_clean(); ?>
  <?php echo $this->_reg_objects['g'][0]->text(array('text' => "Lost or forgotten passwords can be retrieved using the <a href=\"%s\">recover password</a> page",'arg1' => $this->_smarty_vars['capture']['recoverUrl']), $this);?>

</div>

<div class="gbBlock gcBackground1">
  <input type="submit" class="inputTypeSubmit"
   name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][login]"), $this);?>
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Login'), $this);?>
"/>
  <input type="submit" class="inputTypeSubmit"
   name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][cancel]"), $this);?>
" value="<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Cancel'), $this);?>
"/>
</div>