[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/installation/tmpl/setup/ -> default.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Installation
   5   * @subpackage  View
   6   *
   7   * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   */
  10  
  11  defined('_JEXEC') or die;
  12  
  13  use Joomla\CMS\HTML\HTMLHelper;
  14  use Joomla\CMS\Language\Text;
  15  
  16  HTMLHelper::_('behavior.formvalidator');
  17  
  18  /** @var \Joomla\CMS\Installation\View\Setup\HtmlView $this */
  19  ?>
  20  
  21  <div id="installer-view" data-page-name="setup">
  22      <form action="index.php" method="post" id="languageForm" class="lang-select">
  23          <fieldset class="j-install-step active">
  24              <legend class="j-install-step-header">
  25                  <span class="icon-language" aria-hidden="true"></span> <?php echo Text::_('INSTL_SELECT_INSTALL_LANG'); ?>
  26              </legend>
  27              <div class="j-install-step-form">
  28                  <div class="mb-3">
  29                      <?php echo $this->form->renderField('language'); ?>
  30                  </div>
  31                  <input type="hidden" name="task" value="language.set">
  32                  <input type="hidden" name="format" value="json">
  33                  <?php echo HTMLHelper::_('form.token'); ?>
  34              </div>
  35          </fieldset>
  36      </form>
  37      <form action="index.php" method="post" id="adminForm" class="form-validate">
  38          <fieldset id="installStep1" class="j-install-step active">
  39              <legend class="j-install-step-header">
  40                  <span class="icon-cog" aria-hidden="true"></span> <?php echo Text::_('INSTL_SETUP_SITE_NAME'); ?>
  41              </legend>
  42              <div class="j-install-step-form">
  43                  <div class="mb-3">
  44                      <?php echo $this->form->renderField('site_name'); ?>
  45                  </div>
  46                  <div class="mb-3 mt-4">
  47                      <button class="btn btn-primary w-100" id="step1"><?php echo Text::_('INSTL_SETUP_LOGIN_DATA'); ?> <span class="icon-chevron-right" aria-hidden="true"></span></button>
  48                  </div>
  49              </div>
  50          </fieldset>
  51          <fieldset id="installStep2" class="j-install-step">
  52              <legend class="j-install-step-header">
  53                  <span class="icon-lock" aria-hidden="true"></span> <?php echo Text::_('INSTL_LOGIN_DATA'); ?>
  54              </legend>
  55              <div class="j-install-step-form">
  56                  <div class="mb-3">
  57                      <?php echo $this->form->renderField('admin_user'); ?>
  58                  </div>
  59                  <div class="mb-3">
  60                      <?php echo $this->form->renderField('admin_username'); ?>
  61                  </div>
  62                  <div class="mb-3">
  63                      <?php echo $this->form->renderField('admin_password'); ?>
  64                  </div>
  65                  <div class="mb-3">
  66                      <?php echo $this->form->renderField('admin_email'); ?>
  67                  </div>
  68                  <div class="mb-3 mt-4">
  69                      <button class="btn btn-primary w-100" id="step2"><?php echo Text::_('INSTL_CONNECT_DB'); ?> <span class="icon-chevron-right" aria-hidden="true"></span></button>
  70                  </div>
  71              </div>
  72          </fieldset>
  73          <fieldset id="installStep3" class="j-install-step" >
  74              <legend class="j-install-step-header">
  75                  <span class="icon-database" aria-hidden="true"></span> <?php echo Text::_('INSTL_DATABASE'); ?>
  76              </legend>
  77              <div class="j-install-step-form">
  78                  <div class="mb-3">
  79                      <?php echo $this->form->renderField('db_type'); ?>
  80                  </div>
  81                  <div class="mb-3">
  82                      <?php echo $this->form->renderField('db_host'); ?>
  83                  </div>
  84                  <div class="mb-3">
  85                      <?php echo $this->form->renderField('db_user'); ?>
  86                  </div>
  87                  <div class="mb-3">
  88                      <?php echo $this->form->renderField('db_pass'); ?>
  89                  </div>
  90                  <div class="mb-3">
  91                      <?php echo $this->form->renderField('db_name'); ?>
  92                  </div>
  93                  <div class="mb-3">
  94                      <?php echo $this->form->renderField('db_prefix'); ?>
  95                  </div>
  96                  <div class="mb-3">
  97                      <?php echo $this->form->renderField('db_encryption'); ?>
  98                  </div>
  99                  <div class="mb-3">
 100                      <?php echo $this->form->renderField('db_sslkey'); ?>
 101                  </div>
 102                  <div class="mb-3">
 103                      <?php echo $this->form->renderField('db_sslcert'); ?>
 104                  </div>
 105                  <div class="mb-3">
 106                      <?php echo $this->form->renderField('db_sslverifyservercert'); ?>
 107                  </div>
 108                  <div class="mb-3">
 109                      <?php echo $this->form->renderField('db_sslca'); ?>
 110                  </div>
 111                  <div class="mb-3">
 112                      <?php echo $this->form->renderField('db_sslcipher'); ?>
 113                  </div>
 114                  <div class="mb-3">
 115                      <?php //echo $this->form->getLabel('db_old'); ?>
 116                      <?php echo $this->form->getInput('db_old'); ?>
 117                  </div>
 118                  <div class="mb-3 mt-4">
 119                      <button class="btn btn-primary w-100" id="setupButton"><?php echo Text::_('INSTL_INSTALL_JOOMLA'); ?> <span class="icon-chevron-right" aria-hidden="true"></span></button>
 120                  </div>
 121              </div>
 122          </fieldset>
 123  
 124          <input type="hidden" name="admin_password2" id="jform_admin_password2">
 125          <?php echo HTMLHelper::_('form.token'); ?>
 126      </form>
 127  
 128  </div>


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer