[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_checkin/tmpl/checkin/ -> default.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_checkin
   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  <form action="<?php echo Route::_('index.php?option=com_checkin'); ?>" method="post" name="adminForm" id="adminForm">
  26      <div class="row">
  27          <div class="col-md-12">
  28              <div id="j-main-container" class="j-main-container">
  29                  <?php echo LayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?>
  30                  <?php if ($this->total > 0) : ?>
  31                      <table id="global-checkin" class="table">
  32                          <caption class="visually-hidden">
  33                              <?php echo Text::_('COM_CHECKIN_TABLE_CAPTION'); ?>,
  34                              <span id="orderedBy"><?php echo Text::_('JGLOBAL_SORTED_BY'); ?> </span>,
  35                              <span id="filteredBy"><?php echo Text::_('JGLOBAL_FILTERED_BY'); ?></span>
  36                          </caption>
  37                              <thead>
  38                              <tr>
  39                                  <td class="w-1 text-center">
  40                                      <?php echo HTMLHelper::_('grid.checkall'); ?>
  41                                  </td>
  42                                  <th scope="col">
  43                                      <?php echo HTMLHelper::_('searchtools.sort', 'COM_CHECKIN_DATABASE_TABLE', 'table', $listDirn, $listOrder); ?>
  44                                  </th>
  45                                  <th scope="col">
  46                                      <?php echo HTMLHelper::_('searchtools.sort', 'COM_CHECKIN_ITEMS_TO_CHECK_IN', 'count', $listDirn, $listOrder); ?>
  47                                  </th>
  48                              </tr>
  49                          </thead>
  50                          <tbody>
  51                              <?php $i = 0; ?>
  52                              <?php foreach ($this->items as $table => $count) : ?>
  53                                  <tr class="row<?php echo $i % 2; ?>">
  54                                      <td class="text-center">
  55                                          <?php echo HTMLHelper::_('grid.id', $i, $table, false, 'cid', 'cb', $table); ?>
  56                                      </td>
  57                                      <th scope="row">
  58                                          <?php echo Text::sprintf('COM_CHECKIN_TABLE', $table); ?>
  59                                      </th>
  60                                      <td>
  61                                          <span class="badge bg-secondary"><?php echo $count; ?></span>
  62                                      </td>
  63                                  </tr>
  64                                  <?php $i++; ?>
  65                              <?php endforeach; ?>
  66                          </tbody>
  67                      </table>
  68  
  69                      <?php // load the pagination. ?>
  70                      <?php echo $this->pagination->getListFooter(); ?>
  71  
  72                  <?php endif; ?>
  73                  <input type="hidden" name="task" value="">
  74                  <input type="hidden" name="boxchecked" value="0">
  75                  <?php echo HTMLHelper::_('form.token'); ?>
  76              </div>
  77          </div>
  78      </div>
  79  </form>


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