1c23916b7eff3d2af1e497b0344a3b820c609a7b_0.file.install.tpl.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?php
  2. /* Smarty version 3.1.33, created on 2019-10-14 11:44:58
  3. from '/home/cropmonitor/public_html/site/setup/templates/install.tpl' */
  4. /* @var Smarty_Internal_Template $_smarty_tpl */
  5. if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  6. 'version' => '3.1.33',
  7. 'unifunc' => 'content_5da3c50ac32257_62890973',
  8. 'has_nocache_code' => false,
  9. 'file_dependency' =>
  10. array (
  11. '1c23916b7eff3d2af1e497b0344a3b820c609a7b' =>
  12. array (
  13. 0 => '/home/cropmonitor/public_html/site/setup/templates/install.tpl',
  14. 1 => 1571013049,
  15. 2 => 'file',
  16. ),
  17. ),
  18. 'includes' =>
  19. array (
  20. ),
  21. ),false)) {
  22. function content_5da3c50ac32257_62890973 (Smarty_Internal_Template $_smarty_tpl) {
  23. echo '<script'; ?>
  24. type="text/javascript" src="assets/js/sections/install.js"><?php echo '</script'; ?>
  25. >
  26. <form id="install" action="?action=install" method="post">
  27. <h2><?php echo $_smarty_tpl->tpl_vars['_lang']->value['install_summary'];?>
  28. </h2>
  29. <?php if ($_smarty_tpl->tpl_vars['failed']->value) {?>
  30. <p><?php echo $_smarty_tpl->tpl_vars['_lang']->value['errors_occurred'];?>
  31. </p>
  32. <?php } else { ?>
  33. <p>
  34. <?php echo $_smarty_tpl->tpl_vars['_lang']->value['install_success'];?>
  35. <br />(<a style="font-size: .9em" href="#continuebtn"><?php echo $_smarty_tpl->tpl_vars['_lang']->value['skip_to_bottom'];?>
  36. </a>)
  37. <br /><br />
  38. <a href="javascript:void(0);" class="modx-toggle-success"><?php echo $_smarty_tpl->tpl_vars['_lang']->value['toggle_success'];?>
  39. </a> |
  40. <a href="javascript:void(0);" class="modx-toggle-warning"><?php echo $_smarty_tpl->tpl_vars['_lang']->value['toggle_warnings'];?>
  41. </a>
  42. </p>
  43. <?php }?>
  44. <ul class="checklist">
  45. <?php
  46. $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['results']->value, 'result');
  47. if ($_from !== null) {
  48. foreach ($_from as $_smarty_tpl->tpl_vars['result']->value) {
  49. ?>
  50. <li class="<?php echo $_smarty_tpl->tpl_vars['result']->value['class'];?>
  51. finalsuccess" <?php if (!$_smarty_tpl->tpl_vars['failed']->value) {?>style="display: none;"<?php }?>><?php echo $_smarty_tpl->tpl_vars['result']->value['msg'];?>
  52. </li>
  53. <?php
  54. }
  55. }
  56. $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
  57. </ul>
  58. <br />
  59. <a id="continuebtn"></a>
  60. <div class="setup_navbar">
  61. <?php if ($_smarty_tpl->tpl_vars['failed']->value) {?>
  62. <button type="button" id="modx-next" onclick="MODx.go('install');"><?php echo $_smarty_tpl->tpl_vars['_lang']->value['retry'];?>
  63. </button>
  64. <button type="button" id="modx-back" onclick="MODx.go('summary');"><?php echo $_smarty_tpl->tpl_vars['_lang']->value['back'];?>
  65. </button>
  66. <?php } else { ?>
  67. <input type="submit" id="modx-next" name="proceed" value="<?php echo $_smarty_tpl->tpl_vars['_lang']->value['next'];?>
  68. " autofocus="autofocus" />
  69. <?php }?>
  70. </div>
  71. </form><?php }
  72. }