[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/installer/urlinstaller/tmpl/ -> default.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Plugin
   5   * @subpackage  Installer.urlinstaller
   6   *
   7   * @copyright   (C) 2016 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\Language\Text;
  14  
  15  /** @var PlgInstallerUrlInstaller $this */
  16  
  17  $this->app->getDocument()->getWebAssetManager()
  18      ->registerAndUseScript('plg_installer_urlinstaller.urlinstaller', 'plg_installer_urlinstaller/urlinstaller.js', [], ['defer' => true], ['core']);
  19  
  20  ?>
  21  <legend><?php echo Text::_('PLG_INSTALLER_URLINSTALLER_TEXT'); ?></legend>
  22  
  23  <div class="control-group">
  24      <label for="install_url" class="control-label">
  25          <?php echo Text::_('PLG_INSTALLER_URLINSTALLER_TEXT'); ?>
  26      </label>
  27      <div class="controls">
  28          <input type="text" id="install_url" name="install_url" class="form-control" placeholder="https://">
  29      </div>
  30  </div>
  31  <div class="control-group">
  32      <div class="controls">
  33          <button type="button" class="btn btn-primary" id="installbutton_url" onclick="Joomla.submitbuttonurl()">
  34              <?php echo Text::_('PLG_INSTALLER_URLINSTALLER_BUTTON'); ?>
  35          </button>
  36      </div>
  37  </div>


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