[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Administrator 5 * @subpackage com_scheduler 6 * 7 * @copyright (C) 2021 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\Application\CMSApplication; 14 use Joomla\CMS\Factory; 15 use Joomla\CMS\Language\Text; 16 17 extract($displayData); 18 19 /** 20 * Layout variables 21 * ----------------- 22 * 23 * @var string $id DOM id of the field. 24 * @var string $label Label of the field. 25 * @var string $name Name of the input field. 26 * @var string $value Value attribute of the field. 27 */ 28 29 Text::script('ERROR'); 30 Text::script('MESSAGE'); 31 Text::script('COM_SCHEDULER_CONFIG_WEBCRON_LINK_COPY_SUCCESS'); 32 Text::script('COM_SCHEDULER_CONFIG_WEBCRON_LINK_COPY_FAIL'); 33 34 /** @var CMSApplication $app */ 35 $app = Factory::getApplication(); 36 $wa = $app->getDocument()->getWebAssetManager(); 37 $wa->getRegistry()->addExtensionRegistryFile('com_scheduler'); 38 $wa->useScript('com_scheduler.scheduler-config'); 39 ?> 40 41 <div class="input-group"> 42 <input 43 type="text" 44 class="form-control" 45 name="<?php echo $name; ?>" 46 id="<?php echo $id; ?>" 47 readonly 48 value="<?php echo htmlspecialchars($value, ENT_COMPAT, 'UTF-8'); ?>" 49 > 50 <button 51 class="btn btn-primary" 52 type="button" 53 id="link-copy" 54 title="<?php echo Text::_('COM_SCHEDULER_CONFIG_WEBCRON_LINK_COPY_DESC'); ?>"><?php echo Text::_('JLIB_HTML_BATCH_COPY'); ?> 55 </button> 56 </div> 57
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |