[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_cache/views/cache/tmpl/ -> default.php (source)

   1  <?php
   2  /**
   3   * @package        Joomla.Administrator
   4   * @subpackage    com_cache
   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   */
   8  
   9  // no direct access
  10  defined('_JEXEC') or die;
  11  
  12  $listOrder    = $this->escape($this->state->get('list.ordering'));
  13  $listDirn    = $this->escape($this->state->get('list.direction'));
  14  ?>
  15  
  16  <form action="<?php echo JRoute::_('index.php?option=com_cache'); ?>" method="post" name="adminForm" id="adminForm">
  17      <fieldset id="filter-bar">
  18          <div class="filter-select fltrt">
  19              <select name="filter_client_id" class="inputbox" onchange="this.form.submit()">
  20                  <?php echo JHtml::_('select.options', CacheHelper::getClientOptions(), 'value', 'text', $this->state->get('clientId'));?>
  21              </select>
  22          </div>
  23      </fieldset>
  24      <div class="clr"> </div>
  25  <table class="adminlist">
  26      <thead>
  27          <tr>
  28              <th class="title" width="10">
  29                  <?php echo JText::_('COM_CACHE_NUM'); ?>
  30              </th>
  31              <th width="20">
  32                  <input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
  33              </th>
  34              <th class="title nowrap">
  35                  <?php echo JHtml::_('grid.sort',  'COM_CACHE_GROUP', 'group', $listDirn, $listOrder); ?>
  36              </th>
  37              <th width="5%" class="center nowrap">
  38                  <?php echo JHtml::_('grid.sort',  'COM_CACHE_NUMBER_OF_FILES', 'count', $listDirn, $listOrder); ?>
  39              </th>
  40              <th width="10%" class="center">
  41                  <?php echo JHtml::_('grid.sort',  'COM_CACHE_SIZE', 'size', $listDirn, $listOrder); ?>
  42              </th>
  43          </tr>
  44      </thead>
  45      <tfoot>
  46          <tr>
  47              <td colspan="6">
  48              <?php echo $this->pagination->getListFooter(); ?>
  49              </td>
  50          </tr>
  51      </tfoot>
  52      <tbody>
  53          <?php
  54          $i = 0;
  55          foreach ($this->data as $folder => $item): ?>
  56          <tr class="row<?php echo $i % 2; ?>">
  57              <td>
  58                  <?php echo $this->pagination->getRowOffset($i); ?>
  59              </td>
  60              <td>
  61                  <input type="checkbox" id="cb<?php echo $i;?>" name="cid[]" value="<?php echo $item->group; ?>" onclick="Joomla.isChecked(this.checked);" />
  62              </td>
  63              <td>
  64                  <strong><?php echo $item->group; ?></strong>
  65              </td>
  66              <td class="center">
  67                  <?php echo $item->count; ?>
  68              </td>
  69              <td class="center">
  70                  <?php echo JHtml::_('number.bytes', $item->size*1024); ?>
  71              </td>
  72          </tr>
  73          <?php $i++; endforeach; ?>
  74      </tbody>
  75  </table>
  76  <div>
  77      <input type="hidden" name="task" value="" />
  78      <input type="hidden" name="boxchecked" value="0" />
  79      <input type="hidden" name="client" value="<?php echo $this->client->id;?>" />
  80      <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
  81      <input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
  82      <?php echo JHtml::_('form.token'); ?>
  83  </div>
  84  </form>


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