PageRenderTime 28ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/prestashop/_/cache/smarty/compile/84/92/d8/8492d846a6229befff18f42ea57aebc956ccf3ea.file.content.tpl.php

https://gitlab.com/A.Julien/sendstockbymail-module-prestashop
PHP | 208 lines | 195 code | 13 blank | 0 comment | 15 complexity | a2e5db1ecf53510096a21a1c987b63ff MD5 | raw file
  1. <?php /* Smarty version Smarty-3.1.19, created on 2016-08-29 22:20:21
  2. compiled from "C:\xampp\htdocs\prestashop\prestashop\_\admin2200io4fc\themes\default\template\controllers\login\content.tpl" */ ?>
  3. <?php /*%%SmartyHeaderCode:2196757c499052e7dd8-97025757%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_valid = $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. '8492d846a6229befff18f42ea57aebc956ccf3ea' =>
  8. array (
  9. 0 => 'C:\\xampp\\htdocs\\prestashop\\prestashop\\_\\admin2200io4fc\\themes\\default\\template\\controllers\\login\\content.tpl',
  10. 1 => 1472500722,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '2196757c499052e7dd8-97025757',
  15. 'function' =>
  16. array (
  17. ),
  18. 'variables' =>
  19. array (
  20. 'img_dir' => 0,
  21. 'ps_version' => 0,
  22. 'errors' => 0,
  23. 'nbErrors' => 0,
  24. 'error' => 0,
  25. 'warningSslMessage' => 0,
  26. 'shop_name' => 0,
  27. 'wrong_folder_name' => 0,
  28. 'wrong_install_name' => 0,
  29. 'redirect' => 0,
  30. 'email' => 0,
  31. 'password' => 0,
  32. 'randomNb' => 0,
  33. 'adminUrl' => 0,
  34. ),
  35. 'has_nocache_code' => false,
  36. 'version' => 'Smarty-3.1.19',
  37. 'unifunc' => 'content_57c49905405f73_36057746',
  38. ),false); /*/%%SmartyHeaderCode%%*/?>
  39. <?php if ($_valid && !is_callable('content_57c49905405f73_36057746')) {function content_57c49905405f73_36057746($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'C:\\xampp\\htdocs\\prestashop\\prestashop\\_\\tools\\smarty\\plugins\\modifier.date_format.php';
  40. ?>
  41. <div id="login-panel">
  42. <div id="login-header">
  43. <h1 class="text-center">
  44. <img id="logo" src="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
  45. prestashop@2x.png" width="123px" height="24px" alt="PrestaShop" />
  46. </h1>
  47. <div class="text-center"><?php echo $_smarty_tpl->tpl_vars['ps_version']->value;?>
  48. </div>
  49. <div id="error" class="hide alert alert-danger">
  50. <?php if (isset($_smarty_tpl->tpl_vars['errors']->value)) {?>
  51. <h4>
  52. <?php if (isset($_smarty_tpl->tpl_vars['nbErrors']->value)&&$_smarty_tpl->tpl_vars['nbErrors']->value>1) {?>
  53. <?php echo smartyTranslate(array('s'=>'There are %d errors.','sprintf'=>$_smarty_tpl->tpl_vars['nbErrors']->value),$_smarty_tpl);?>
  54. <?php } else { ?>
  55. <?php echo smartyTranslate(array('s'=>'There is %d error.','sprintf'=>$_smarty_tpl->tpl_vars['nbErrors']->value),$_smarty_tpl);?>
  56. <?php }?>
  57. </h4>
  58. <ol>
  59. <?php $_smarty_tpl->tpl_vars["error"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["error"]->_loop = false;
  60. $_from = $_smarty_tpl->tpl_vars['errors']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
  61. foreach ($_from as $_smarty_tpl->tpl_vars["error"]->key => $_smarty_tpl->tpl_vars["error"]->value) {
  62. $_smarty_tpl->tpl_vars["error"]->_loop = true;
  63. ?>
  64. <li><?php echo $_smarty_tpl->tpl_vars['error']->value;?>
  65. </li>
  66. <?php } ?>
  67. </ol>
  68. <?php }?>
  69. </div>
  70. <?php if (isset($_smarty_tpl->tpl_vars['warningSslMessage']->value)) {?>
  71. <div class="alert alert-warning"><?php echo $_smarty_tpl->tpl_vars['warningSslMessage']->value;?>
  72. </div>
  73. <?php }?>
  74. </div>
  75. <div id="shop-img"><img src="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
  76. preston-login@2x.png" alt="<?php echo $_smarty_tpl->tpl_vars['shop_name']->value;?>
  77. " width="69.5px" height="118.5px" /></div>
  78. <div class="flip-container">
  79. <div class="flipper">
  80. <div class="front panel">
  81. <h4 id="shop_name"><?php echo $_smarty_tpl->tpl_vars['shop_name']->value;?>
  82. </h4>
  83. <?php if (!isset($_smarty_tpl->tpl_vars['wrong_folder_name']->value)&&!isset($_smarty_tpl->tpl_vars['wrong_install_name']->value)) {?>
  84. <form action="#" id="login_form" method="post">
  85. <input type="hidden" name="redirect" id="redirect" value="<?php echo $_smarty_tpl->tpl_vars['redirect']->value;?>
  86. "/>
  87. <div class="form-group">
  88. <label class="control-label" for="email"><?php echo smartyTranslate(array('s'=>'Email address'),$_smarty_tpl);?>
  89. </label>
  90. <input name="email" type="email" id="email" class="form-control" value="<?php if (isset($_smarty_tpl->tpl_vars['email']->value)) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['email']->value, ENT_QUOTES, 'UTF-8', true);?>
  91. <?php }?>" autofocus="autofocus" tabindex="1" placeholder="&#xf0e0 test@example.com" />
  92. </div>
  93. <div class="form-group">
  94. <label class="control-label" for="passwd">
  95. <?php echo smartyTranslate(array('s'=>'Password'),$_smarty_tpl);?>
  96. </label>
  97. <input name="passwd" type="password" id="passwd" class="form-control" value="<?php if (isset($_smarty_tpl->tpl_vars['password']->value)) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['password']->value, ENT_QUOTES, 'UTF-8', true);?>
  98. <?php }?>" tabindex="2" placeholder="&#xf084 <?php echo smartyTranslate(array('s'=>'Password'),$_smarty_tpl);?>
  99. " />
  100. </div>
  101. <div class="form-group row-padding-top">
  102. <button name="submitLogin" type="submit" tabindex="4" class="btn btn-primary btn-lg btn-block ladda-button" data-style="slide-up" data-spinner-color="white" >
  103. <span class="ladda-label">
  104. <?php echo smartyTranslate(array('s'=>'Log in'),$_smarty_tpl);?>
  105. </span>
  106. </button>
  107. </div>
  108. <div class="form-group">
  109. <div id="remind-me" class="checkbox pull-left">
  110. <label for="stay_logged_in">
  111. <input name="stay_logged_in" type="checkbox" id="stay_logged_in" value="1" tabindex="3"/>
  112. <?php echo smartyTranslate(array('s'=>'Stay logged in'),$_smarty_tpl);?>
  113. </label>
  114. </div>
  115. <a href="#" class="show-forgot-password pull-right" >
  116. <?php echo smartyTranslate(array('s'=>'I forgot my password'),$_smarty_tpl);?>
  117. </a>
  118. </div>
  119. </form>
  120. </div>
  121. <div class="back panel">
  122. <form action="#" id="forgot_password_form" method="post">
  123. <div class="alert alert-info">
  124. <h4><?php echo smartyTranslate(array('s'=>'Forgot your password?'),$_smarty_tpl);?>
  125. </h4>
  126. <p><?php echo smartyTranslate(array('s'=>'In order to receive your access code by email, please enter the address you provided during the registration process.'),$_smarty_tpl);?>
  127. </p>
  128. </div>
  129. <div class="form-group">
  130. <label class="control-label" for="email_forgot">
  131. <?php echo smartyTranslate(array('s'=>'Email'),$_smarty_tpl);?>
  132. </label>
  133. <input type="text" name="email_forgot" id="email_forgot" class="form-control" autofocus="autofocus" tabindex="5" placeholder="&#xf0e0 test@example.com" />
  134. </div>
  135. <div class="panel-footer">
  136. <button type="button" href="#" class="btn btn-default show-login-form" tabindex="7">
  137. <i class="icon-caret-left"></i>
  138. <?php echo smartyTranslate(array('s'=>'Back to login'),$_smarty_tpl);?>
  139. </button>
  140. <button class="btn btn-default pull-right" name="submitLogin" type="submit" tabindex="6">
  141. <i class="icon-ok text-success"></i>
  142. <?php echo smartyTranslate(array('s'=>'Send'),$_smarty_tpl);?>
  143. </button>
  144. </div>
  145. </form>
  146. </div>
  147. </div>
  148. <?php } else { ?>
  149. <div class="alert alert-danger">
  150. <p><?php echo smartyTranslate(array('s'=>'For security reasons, you cannot connect to the back office until you have:'),$_smarty_tpl);?>
  151. </p>
  152. <ul>
  153. <?php if (isset($_smarty_tpl->tpl_vars['wrong_install_name']->value)&&$_smarty_tpl->tpl_vars['wrong_install_name']->value==true) {?>
  154. <li><?php echo smartyTranslate(array('s'=>'deleted the /install folder'),$_smarty_tpl);?>
  155. </li>
  156. <?php }?>
  157. <?php if (isset($_smarty_tpl->tpl_vars['wrong_folder_name']->value)&&$_smarty_tpl->tpl_vars['wrong_folder_name']->value==true) {?>
  158. <li><?php echo smartyTranslate(array('s'=>'renamed the /admin folder (e.g. %s)','sprintf'=>$_smarty_tpl->tpl_vars['randomNb']->value),$_smarty_tpl);?>
  159. </li>
  160. <?php }?>
  161. </ul>
  162. <p>
  163. <a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['adminUrl']->value, ENT_QUOTES, 'UTF-8', true);?>
  164. ">
  165. <?php echo smartyTranslate(array('s'=>'Please then access this page by the new URL (e.g. %s)','sprintf'=>$_smarty_tpl->tpl_vars['adminUrl']->value),$_smarty_tpl);?>
  166. </a>
  167. </p>
  168. </div>
  169. <?php }?>
  170. </div>
  171. <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->smartyHook(array('h'=>"displayAdminLogin"),$_smarty_tpl);?>
  172. <div id="login-footer">
  173. <p class="text-center text-muted">
  174. <a href="http://www.prestashop.com/" onclick="return !window.open(this.href);">
  175. &copy; PrestaShop&#8482; 2007-<?php echo smarty_modifier_date_format(time(),"%Y");?>
  176. - All rights reserved
  177. </a>
  178. </p>
  179. <p class="text-center">
  180. <a class="link-social link-twitter _blank" href="https://twitter.com/PrestaShop" title="Twitter">
  181. <i class="icon-twitter"></i>
  182. </a>
  183. <a class="link-social link-facebook _blank" href="https://www.facebook.com/prestashop" title="Facebook">
  184. <i class="icon-facebook"></i>
  185. </a>
  186. <a class="link-social link-github _blank" href="https://www.prestashop.com/github" title="Github">
  187. <i class="icon-github"></i>
  188. </a>
  189. <a class="link-social link-google _blank" href="https://plus.google.com/+prestashop/" title="Google">
  190. <i class="icon-google-plus"></i>
  191. </a>
  192. </p>
  193. </div>
  194. </div>
  195. <?php }} ?>