[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_installer/views/update/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-update">
  19  <form action="<?php echo JRoute::_('index.php?option=com_installer&view=update');?>" 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" cellspacing="1">
  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="nowrap"><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_INSTALLTYPE', 'extension_id', $listDirn, $listOrder); ?></th>
  35                  <th ><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_TYPE', 'type', $listDirn, $listOrder); ?></th>
  36                  <th width="10%" class="center"><?php echo JText::_('JVERSION'); ?></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="25%"><?php echo JText::_('COM_INSTALLER_HEADING_DETAILSURL'); ?></th>
  40              </tr>
  41          </thead>
  42          <tfoot>
  43              <tr>
  44              <td colspan="9"><?php echo $this->pagination->getListFooter(); ?></td>
  45              </tr>
  46          </tfoot>
  47          <tbody>
  48          <?php foreach($this->items as $i=>$item):
  49              $client    = $item->client_id ? JText::_('JADMINISTRATOR') : JText::_('JSITE');
  50          ?>
  51              <tr class="row<?php echo $i%2; ?>">
  52                  <td><?php echo JHtml::_('grid.id', $i, $item->update_id); ?></td>
  53                  <td>
  54                      <span class="editlinktip hasTip" title="<?php echo JText::_('JGLOBAL_DESCRIPTION');?>::<?php echo $item->description ? $this->escape($item->description) : JText::_('COM_INSTALLER_MSG_UPDATE_NODESC'); ?>">
  55                      <?php echo $this->escape($item->name); ?>
  56                      </span>
  57                  </td>
  58                  <td class="center">
  59                      <?php echo $item->extension_id ? JText::_('COM_INSTALLER_MSG_UPDATE_UPDATE') : JText::_('COM_INSTALLER_NEW_INSTALL') ?>
  60                  </td>
  61                  <td><?php echo JText::_('COM_INSTALLER_TYPE_' . $item->type) ?></td>
  62                  <td class="center"><?php echo $item->version ?></td>
  63                  <td class="center"><?php echo @$item->folder != '' ? $item->folder : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?></td>
  64                  <td class="center"><?php echo $client; ?></td>
  65                  <td><?php echo $item->detailsurl ?>
  66                      <?php if (isset($item->infourl)) : ?>
  67                      <br /><a href="<?php echo $item->infourl;?>"><?php echo $this->escape($item->infourl);?></a>
  68                      <?php endif; ?>
  69                  </td>
  70              </tr>
  71          <?php endforeach;?>
  72          </tbody>
  73      </table>
  74      <?php else : ?>
  75          <p class="nowarning"><?php echo JText::_('COM_INSTALLER_MSG_UPDATE_NOUPDATES'); ?></p>
  76      <?php endif; ?>
  77  
  78      <div>
  79          <input type="hidden" name="task" value="" />
  80          <input type="hidden" name="boxchecked" value="0" />
  81          <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
  82          <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
  83          <?php echo JHtml::_('form.token'); ?>
  84      </div>
  85  </form>
  86  </div>


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