[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_installer/views/discover/tmpl/ -> default.php (source)

   1  <?php
   2  /**
   3   * @package        Joomla.Administrator
   4   * @subpackage    com_installer
   5   * @copyright    Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
   6   * @license        GNU General Public License version 2 or later; see LICENSE.txt
   7   * @since        1.6
   8   */
   9  
  10  // no direct access
  11  defined('_JEXEC') or die;
  12  
  13  JHtml::_('behavior.multiselect');
  14  
  15  $listOrder    = $this->escape($this->state->get('list.ordering'));
  16  $listDirn    = $this->escape($this->state->get('list.direction'));
  17  ?>
  18  <div id="installer-discover">
  19  <form action="<?php echo JRoute::_('index.php?option=com_installer&view=discover');?>" method="post" name="adminForm" id="adminForm">
  20      <?php if ($this->showMessage) : ?>
  21          <?php echo $this->loadTemplate('message'); ?>
  22      <?php endif; ?>
  23  
  24      <?php if ($this->ftp) : ?>
  25          <?php echo $this->loadTemplate('ftp'); ?>
  26      <?php endif; ?>
  27  
  28      <?php if (count($this->items)) : ?>
  29      <table class="adminlist">
  30          <thead>
  31              <tr>
  32                  <th width="20"><input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /></th>
  33                  <th class="nowrap"><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_NAME', 'name', $listDirn, $listOrder); ?></th>
  34                  <th class="center"><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_TYPE', 'type', $listDirn, $listOrder); ?></th>
  35                  <th width="10%" class="center"><?php echo JText::_('JVERSION'); ?></th>
  36                  <th width="10%" class="center"><?php echo JText::_('JDATE'); ?></th>
  37                  <th><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_FOLDER', 'folder', $listDirn, $listOrder); ?></th>
  38                  <th><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_CLIENT', 'client_id', $listDirn, $listOrder); ?></th>
  39                  <th width="15%" class="center"><?php echo JText::_('JAUTHOR'); ?></th>
  40                  <th width="10"><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_ID', 'extension_id', $listDirn, $listOrder); ?></th>
  41              </tr>
  42          </thead>
  43          <tfoot><tr><td colspan="10"><?php echo $this->pagination->getListFooter(); ?></td></tr>
  44          </tfoot>
  45          <tbody>
  46          <?php foreach ($this->items as $i => $item): ?>
  47              <tr class="row<?php echo $i%2;?>">
  48                  <td><?php echo JHtml::_('grid.id', $i, $item->extension_id); ?></td>
  49                  <td><span class="bold hasTip" title="<?php echo htmlspecialchars($item->name.'::'.$item->description); ?>"><?php echo $item->name; ?></span></td>
  50                  <td class="center"><?php echo JText::_('COM_INSTALLER_TYPE_' . $item->type); ?></td>
  51                  <td class="center"><?php echo @$item->version != '' ? $item->version : '&#160;'; ?></td>
  52                  <td class="center"><?php echo @$item->creationDate != '' ? $item->creationDate : '&#160;'; ?></td>
  53                  <td class="center"><?php echo @$item->folder != '' ? $item->folder : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?></td>
  54                  <td class="center"><?php echo $item->client; ?></td>
  55                  <td class="center">
  56                      <span class="editlinktip hasTip" title="<?php echo addslashes(htmlspecialchars(JText::_('COM_INSTALLER_AUTHOR_INFORMATION').'::'.$item->author_info)); ?>">
  57                          <?php echo @$item->author != '' ? $item->author : '&#160;'; ?>
  58                      </span>
  59                  </td>
  60                  <td><?php echo $item->extension_id ?></td>
  61              </tr>
  62          <?php endforeach; ?>
  63          </tbody>
  64      </table>
  65      <?php echo JText::_('COM_INSTALLER_MSG_DISCOVER_DESCRIPTION'); ?>
  66      <?php else : ?>
  67          <p>
  68              <?php echo JText::_('COM_INSTALLER_MSG_DISCOVER_DESCRIPTION'); ?>
  69          </p>
  70          <p>
  71              <?php echo JText::_('COM_INSTALLER_MSG_DISCOVER_NOEXTENSION'); ?>
  72          </p>
  73      <?php endif; ?>
  74  
  75      <div>
  76          <input type="hidden" name="task" value="" />
  77          <input type="hidden" name="boxchecked" value="0" />
  78          <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
  79          <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
  80          <?php echo JHtml::_('form.token'); ?>
  81      </div>
  82  </form>
  83  </div>


Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1