[ 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_installer 6 * 7 * @copyright (C) 2008 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 use Joomla\CMS\Layout\LayoutHelper; 16 use Joomla\CMS\Router\Route; 17 18 /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ 19 $wa = $this->document->getWebAssetManager(); 20 $wa->useScript('multiselect'); 21 22 $listOrder = $this->escape($this->state->get('list.ordering')); 23 $listDirn = $this->escape($this->state->get('list.direction')); 24 ?> 25 <div id="installer-discover" class="clearfix"> 26 <form action="<?php echo Route::_('index.php?option=com_installer&view=discover'); ?>" method="post" name="adminForm" id="adminForm"> 27 <div class="row"> 28 <div class="col-md-12"> 29 <div id="j-main-container" class="j-main-container"> 30 <?php if ($this->showMessage) : ?> 31 <?php echo $this->loadTemplate('message'); ?> 32 <?php endif; ?> 33 <?php echo LayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?> 34 <?php if (empty($this->items)) : ?> 35 <div class="alert alert-info"> 36 <span class="icon-info-circle" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('INFO'); ?></span> 37 <?php echo Text::_('COM_INSTALLER_MSG_DISCOVER_DESCRIPTION'); ?> 38 </div> 39 <div class="alert alert-info"> 40 <span class="icon-info-circle" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('INFO'); ?></span> 41 <?php echo Text::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> 42 </div> 43 <?php else : ?> 44 <table class="table"> 45 <caption class="visually-hidden"> 46 <?php echo Text::_('COM_INSTALLER_DISCOVER_TABLE_CAPTION'); ?>, 47 <span id="orderedBy"><?php echo Text::_('JGLOBAL_SORTED_BY'); ?> </span>, 48 <span id="filteredBy"><?php echo Text::_('JGLOBAL_FILTERED_BY'); ?></span> 49 </caption> 50 <thead> 51 <tr> 52 <td class="w-1 text-center"> 53 <?php echo HTMLHelper::_('grid.checkall'); ?> 54 </td> 55 <th scope="col"> 56 <?php echo HTMLHelper::_('searchtools.sort', 'COM_INSTALLER_HEADING_NAME', 'name', $listDirn, $listOrder); ?> 57 </th> 58 <th scope="col" class="d-none d-md-table-cell"> 59 <?php echo HTMLHelper::_('searchtools.sort', 'COM_INSTALLER_HEADING_LOCATION', 'client_translated', $listDirn, $listOrder); ?> 60 </th> 61 <th scope="col"> 62 <?php echo HTMLHelper::_('searchtools.sort', 'COM_INSTALLER_HEADING_TYPE', 'type_translated', $listDirn, $listOrder); ?> 63 </th> 64 <th scope="col" class="w-10 d-none d-md-table-cell"> 65 <?php echo Text::_('JVERSION'); ?> 66 </th> 67 <th scope="col" class="w-10 d-none d-md-table-cell"> 68 <?php echo Text::_('JDATE'); ?> 69 </th> 70 <th scope="col" class="w-15 d-none d-md-table-cell"> 71 <?php echo Text::_('JAUTHOR'); ?> 72 </th> 73 <th scope="col" class="d-none d-md-table-cell"> 74 <?php echo HTMLHelper::_('searchtools.sort', 'COM_INSTALLER_HEADING_FOLDER', 'folder_translated', $listDirn, $listOrder); ?> 75 </th> 76 <th scope="col" class="w-1 d-none d-md-table-cell"> 77 <?php echo HTMLHelper::_('searchtools.sort', 'JGRID_HEADING_ID', 'extension_id', $listDirn, $listOrder); ?> 78 </th> 79 </tr> 80 </thead> 81 <tbody> 82 <?php foreach ($this->items as $i => $item) : ?> 83 <tr class="row<?php echo $i % 2; ?>"> 84 <td class="text-center"> 85 <?php echo HTMLHelper::_('grid.id', $i, $item->extension_id, false, 'cid', 'cb', $item->name); ?> 86 </td> 87 <th scope="row"> 88 <?php echo $item->name; ?> 89 <div class="small"><?php echo $item->description; ?></div> 90 </th> 91 <td class="d-none d-md-table-cell"> 92 <?php echo $item->client_translated; ?> 93 </td> 94 <td> 95 <?php echo $item->type_translated; ?> 96 </td> 97 <td class="d-none d-md-table-cell"> 98 <?php echo !empty($item->version) ? $item->version : ' '; ?> 99 </td> 100 <td class="d-none d-md-table-cell"> 101 <?php echo !empty($item->creationDate) ? $item->creationDate : ' '; ?> 102 </td> 103 <td class="d-none d-md-table-cell"> 104 <?php echo !empty($item->author) ? $item->author : ' '; ?> 105 </td> 106 <td class="d-none d-md-table-cell"> 107 <?php echo $item->folder_translated; ?> 108 </td> 109 <td class="d-none d-md-table-cell"> 110 <?php echo $item->extension_id; ?> 111 </td> 112 </tr> 113 <?php endforeach; ?> 114 </tbody> 115 </table> 116 117 <?php // load the pagination. ?> 118 <?php echo $this->pagination->getListFooter(); ?> 119 120 <?php endif; ?> 121 <input type="hidden" name="task" value=""> 122 <input type="hidden" name="boxchecked" value="0"> 123 <?php echo HTMLHelper::_('form.token'); ?> 124 </div> 125 </div> 126 </div> 127 </form> 128 </div>
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 |