/prestashop/_/cache/smarty/compile/76/28/62/76286211767165f14fe40f64191338d47f6aa0ce.file.password.tpl.php
PHP | 84 lines | 80 code | 4 blank | 0 comment | 11 complexity | 520bd2118d1c6865d1e15ed838df02a3 MD5 | raw file
- <?php /* Smarty version Smarty-3.1.19, created on 2016-08-29 22:07:20
- compiled from "C:\xampp\htdocs\prestashop\prestashop\_\themes\default-bootstrap\password.tpl" */ ?>
- <?php /*%%SmartyHeaderCode:542257c495f830a326-08840235%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
- $_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- '76286211767165f14fe40f64191338d47f6aa0ce' =>
- array (
- 0 => 'C:\\xampp\\htdocs\\prestashop\\prestashop\\_\\themes\\default-bootstrap\\password.tpl',
- 1 => 1472500915,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '542257c495f830a326-08840235',
- 'function' =>
- array (
- ),
- 'variables' =>
- array (
- 'link' => 0,
- 'navigationPipe' => 0,
- 'confirmation' => 0,
- 'customer_email' => 0,
- 'request_uri' => 0,
- ),
- 'has_nocache_code' => false,
- 'version' => 'Smarty-3.1.19',
- 'unifunc' => 'content_57c495f8533540_49823197',
- ),false); /*/%%SmartyHeaderCode%%*/?>
- <?php if ($_valid && !is_callable('content_57c495f8533540_49823197')) {function content_57c495f8533540_49823197($_smarty_tpl) {?>
- <?php $_smarty_tpl->_capture_stack[0][] = array('path', null, null); ob_start(); ?><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('authentication',true), ENT_QUOTES, 'UTF-8', true);?>
- " title="<?php echo smartyTranslate(array('s'=>'Authentication'),$_smarty_tpl);?>
- " rel="nofollow"><?php echo smartyTranslate(array('s'=>'Authentication'),$_smarty_tpl);?>
- </a><span class="navigation-pipe"><?php echo $_smarty_tpl->tpl_vars['navigationPipe']->value;?>
- </span><?php echo smartyTranslate(array('s'=>'Forgot your password'),$_smarty_tpl);?>
- <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
- if (!empty($_capture_buffer)) {
- if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
- if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
- Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
- } else $_smarty_tpl->capture_error();?>
- <div class="box">
- <h1 class="page-subheading"><?php echo smartyTranslate(array('s'=>'Forgot your password?'),$_smarty_tpl);?>
- </h1>
- <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tpl_dir']->value)."./errors.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
- <?php if (isset($_smarty_tpl->tpl_vars['confirmation']->value)&&$_smarty_tpl->tpl_vars['confirmation']->value==1) {?>
- <p class="alert alert-success"><?php echo smartyTranslate(array('s'=>'Your password has been successfully reset and a confirmation has been sent to your email address:'),$_smarty_tpl);?>
- <?php if (isset($_smarty_tpl->tpl_vars['customer_email']->value)) {?><?php echo stripslashes(htmlspecialchars($_smarty_tpl->tpl_vars['customer_email']->value, ENT_QUOTES, 'UTF-8', true));?>
- <?php }?></p>
- <?php } elseif (isset($_smarty_tpl->tpl_vars['confirmation']->value)&&$_smarty_tpl->tpl_vars['confirmation']->value==2) {?>
- <p class="alert alert-success"><?php echo smartyTranslate(array('s'=>'A confirmation email has been sent to your address:'),$_smarty_tpl);?>
- <?php if (isset($_smarty_tpl->tpl_vars['customer_email']->value)) {?><?php echo stripslashes(htmlspecialchars($_smarty_tpl->tpl_vars['customer_email']->value, ENT_QUOTES, 'UTF-8', true));?>
- <?php }?></p>
- <?php } else { ?>
- <p><?php echo smartyTranslate(array('s'=>'Please enter the email address you used to register. We will then send you a new password. '),$_smarty_tpl);?>
- </p>
- <form action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['request_uri']->value, ENT_QUOTES, 'UTF-8', true);?>
- " method="post" class="std" id="form_forgotpassword">
- <fieldset>
- <div class="form-group">
- <label for="email"><?php echo smartyTranslate(array('s'=>'Email address'),$_smarty_tpl);?>
- </label>
- <input class="form-control" type="email" id="email" name="email" value="<?php if (isset($_POST['email'])) {?><?php echo stripslashes(htmlspecialchars($_POST['email'], ENT_QUOTES, 'UTF-8', true));?>
- <?php }?>" />
- </div>
- <p class="submit">
- <button type="submit" class="btn btn-default button button-medium"><span><?php echo smartyTranslate(array('s'=>'Retrieve Password'),$_smarty_tpl);?>
- <i class="icon-chevron-right right"></i></span></button>
- </p>
- </fieldset>
- </form>
- <?php }?>
- </div>
- <ul class="clearfix footer_links">
- <li><a class="btn btn-default button button-small" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('authentication'), ENT_QUOTES, 'UTF-8', true);?>
- " title="<?php echo smartyTranslate(array('s'=>'Back to Login'),$_smarty_tpl);?>
- " rel="nofollow"><span><i class="icon-chevron-left"></i><?php echo smartyTranslate(array('s'=>'Back to Login'),$_smarty_tpl);?>
- </span></a></li>
- </ul>
- <?php }} ?>