<?php /* Smarty version 2.6.16, created on 2007-07-09 12:56:53
         compiled from gallery:modules/publishxp/templates/PublishXpLogin.tpl */ ?>
<form action="<?php echo $this->_reg_objects['g'][0]->url(array(), $this);?>
" enctype="application/x-www-form-urlencoded" method="post"
id="publishXpForm">
<div>
<script type="text/javascript">
// <![CDATA[
setSubtitle("<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Login to your account','forJavascript' => true), $this);?>
");
setSubmitOnNext(true);
setButtons(false, true, false);
// ]]>
</script>
<?php echo $this->_reg_objects['g'][0]->hiddenFormVars(array(), $this);?>

<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => 'controller'), $this);?>
" value="publishxp.PublishXpLogin"/>
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[formName]"), $this);?>
" value="<?php echo $this->_tpl_vars['form']['formName']; ?>
"/>
<input type="hidden" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[action][login]"), $this);?>
" value="1"/>
</div>
<div class="gbBlock">
<h4>
<?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Username'), $this);?>

</h4>
<input id="giFormUsername" type="text" name="<?php echo $this->_reg_objects['g'][0]->formVar(array('var' => "form[userName]"), $this);?>
"
size="16" value="<?php echo $this->_tpl_vars['form']['userName']; ?>
"/>
<script type="text/javascript">document.getElementById('publishXpForm')['<?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 elseif (isset ( $this->_tpl_vars['form']['error']['userName']['disabled'] )): ?>
<div class="giError">
<?php echo $this->_reg_objects['g'][0]->text(array('text' => "Logins temporarily disabled due to multiple failed login attempts."), $this);?>

</div>
<?php endif; ?>
<h4> <?php echo $this->_reg_objects['g'][0]->text(array('text' => 'Password'), $this);?>
 </h4>
<input id="giFormPassword" type="password" 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;  if (isset ( $this->_tpl_vars['form']['error']['password']['invalid'] )): ?>
<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>
</form>