PageRenderTime 35ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/prestashop/_/cache/smarty/compile/76/28/62/76286211767165f14fe40f64191338d47f6aa0ce.file.password.tpl.php

https://gitlab.com/A.Julien/sendstockbymail-module-prestashop
PHP | 84 lines | 80 code | 4 blank | 0 comment | 11 complexity | 520bd2118d1c6865d1e15ed838df02a3 MD5 | raw file
  1. <?php /* Smarty version Smarty-3.1.19, created on 2016-08-29 22:07:20
  2. compiled from "C:\xampp\htdocs\prestashop\prestashop\_\themes\default-bootstrap\password.tpl" */ ?>
  3. <?php /*%%SmartyHeaderCode:542257c495f830a326-08840235%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_valid = $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. '76286211767165f14fe40f64191338d47f6aa0ce' =>
  8. array (
  9. 0 => 'C:\\xampp\\htdocs\\prestashop\\prestashop\\_\\themes\\default-bootstrap\\password.tpl',
  10. 1 => 1472500915,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '542257c495f830a326-08840235',
  15. 'function' =>
  16. array (
  17. ),
  18. 'variables' =>
  19. array (
  20. 'link' => 0,
  21. 'navigationPipe' => 0,
  22. 'confirmation' => 0,
  23. 'customer_email' => 0,
  24. 'request_uri' => 0,
  25. ),
  26. 'has_nocache_code' => false,
  27. 'version' => 'Smarty-3.1.19',
  28. 'unifunc' => 'content_57c495f8533540_49823197',
  29. ),false); /*/%%SmartyHeaderCode%%*/?>
  30. <?php if ($_valid && !is_callable('content_57c495f8533540_49823197')) {function content_57c495f8533540_49823197($_smarty_tpl) {?>
  31. <?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);?>
  32. " title="<?php echo smartyTranslate(array('s'=>'Authentication'),$_smarty_tpl);?>
  33. " rel="nofollow"><?php echo smartyTranslate(array('s'=>'Authentication'),$_smarty_tpl);?>
  34. </a><span class="navigation-pipe"><?php echo $_smarty_tpl->tpl_vars['navigationPipe']->value;?>
  35. </span><?php echo smartyTranslate(array('s'=>'Forgot your password'),$_smarty_tpl);?>
  36. <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
  37. if (!empty($_capture_buffer)) {
  38. if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
  39. if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
  40. Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
  41. } else $_smarty_tpl->capture_error();?>
  42. <div class="box">
  43. <h1 class="page-subheading"><?php echo smartyTranslate(array('s'=>'Forgot your password?'),$_smarty_tpl);?>
  44. </h1>
  45. <?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);?>
  46. <?php if (isset($_smarty_tpl->tpl_vars['confirmation']->value)&&$_smarty_tpl->tpl_vars['confirmation']->value==1) {?>
  47. <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);?>
  48. <?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));?>
  49. <?php }?></p>
  50. <?php } elseif (isset($_smarty_tpl->tpl_vars['confirmation']->value)&&$_smarty_tpl->tpl_vars['confirmation']->value==2) {?>
  51. <p class="alert alert-success"><?php echo smartyTranslate(array('s'=>'A confirmation email has been sent to your address:'),$_smarty_tpl);?>
  52. <?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));?>
  53. <?php }?></p>
  54. <?php } else { ?>
  55. <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);?>
  56. </p>
  57. <form action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['request_uri']->value, ENT_QUOTES, 'UTF-8', true);?>
  58. " method="post" class="std" id="form_forgotpassword">
  59. <fieldset>
  60. <div class="form-group">
  61. <label for="email"><?php echo smartyTranslate(array('s'=>'Email address'),$_smarty_tpl);?>
  62. </label>
  63. <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));?>
  64. <?php }?>" />
  65. </div>
  66. <p class="submit">
  67. <button type="submit" class="btn btn-default button button-medium"><span><?php echo smartyTranslate(array('s'=>'Retrieve Password'),$_smarty_tpl);?>
  68. <i class="icon-chevron-right right"></i></span></button>
  69. </p>
  70. </fieldset>
  71. </form>
  72. <?php }?>
  73. </div>
  74. <ul class="clearfix footer_links">
  75. <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);?>
  76. " title="<?php echo smartyTranslate(array('s'=>'Back to Login'),$_smarty_tpl);?>
  77. " rel="nofollow"><span><i class="icon-chevron-left"></i><?php echo smartyTranslate(array('s'=>'Back to Login'),$_smarty_tpl);?>
  78. </span></a></li>
  79. </ul>
  80. <?php }} ?>