[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/templates/beez/html/com_newsfeeds/category/ -> default_items.php (source)

   1  <?php // @version $Id: default_items.php 11917 2009-05-29 19:37:05Z ian $
   2  defined('_JEXEC') or die('Restricted access');
   3  ?>
   4  
   5  <?php if ( $this->params->get( 'show_limit' ) ) : ?>
   6  <div class="display">
   7      <form action="index.php" method="post" name="adminForm">
   8          <label for="limit"><?php echo JText::_( 'Display Num' ); ?>&nbsp;</label>
   9          <?php echo $this->pagination->getLimitBox(); ?>
  10      </form>
  11  </div>
  12  <?php endif; ?>
  13  
  14  
  15  <table class="newsfeeds">
  16  
  17      <?php if ( $this->params->get( 'show_headings' ) ) : ?>
  18      <tr>
  19  
  20          <th class="sectiontableheader<?php echo $this->escape($this->params->get( 'pageclass_sfx' )); ?>" width="5" id="num">
  21              <?php echo JText::_( 'Num' ); ?>
  22          </th>
  23  
  24          <?php if ( $this->params->get( 'show_name' ) ) : ?>
  25          <th width="90%" class="sectiontableheader<?php echo $this->escape($this->params->get( 'pageclass_sfx' )); ?>" id="name">
  26              <?php echo JText::_( 'Feed Name' ); ?>
  27          </th>
  28          <?php endif; ?>
  29  
  30          <?php if ( $this->params->get( 'show_articles' ) ) : ?>
  31          <th width="10%" class="sectiontableheader<?php echo $this->escape($this->params->get( 'pageclass_sfx' )); ?>" nowrap="nowrap" id="num_a">
  32              <?php echo JText::_('Num Articles'); ?>
  33          </th>
  34          <?php endif; ?>
  35  
  36      </tr>
  37      <?php endif; ?>
  38  
  39      <?php foreach ( $this->items as $item ) : ?>
  40      <tr class="sectiontableentry<?php echo $item->odd + 1; ?>">
  41  
  42          <td align="center" width="5" headers="num">
  43              <?php echo $item->count + 1; ?>
  44          </td>
  45  
  46          <td width="90%" headers="name">
  47              <a href="<?php echo $item->link; ?>" class="category<?php echo $this->escape($this->params->get( 'pageclass_sfx' )); ?>">
  48                  <?php echo $this->escape($item->name); ?></a>
  49          </td>
  50  
  51          <?php if ( $this->params->get( 'show_articles' ) ) : ?>
  52          <td width="10%" headers="num_a"><?php echo $item->numarticles; ?></td>
  53          <?php endif; ?>
  54  
  55      </tr>
  56      <?php endforeach; ?>
  57  
  58  </table>
  59  
  60  <p class="counter">
  61      <?php echo $this->pagination->getPagesCounter(); ?>
  62  </p>
  63  <?php echo $this->pagination->getPagesLinks(); ?>


Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1