[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/components/com_newsfeeds/views/category/tmpl/ -> default_items.php (source)

   1  <?php // no direct access
   2  defined('_JEXEC') or die('Restricted access'); ?>
   3  <form action="<?php echo JRoute::_('index.php?view=category&id='.$this->category->slug); ?>" method="post" name="adminForm">
   4  <table width="100%" border="0" cellspacing="0" cellpadding="0">
   5  <?php if ($this->params->get('show_limit')) : ?>
   6  <tr>
   7      <td align="right" colspan="4">
   8      <?php
   9          echo JText::_('Display Num') .'&nbsp;';
  10          echo $this->pagination->getLimitBox();
  11      ?>
  12      </td>
  13  </tr>
  14  <?php endif; ?>
  15  <?php if ( $this->params->get( 'show_headings' ) ) : ?>
  16  <tr>
  17      <td class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>" align="right" width="5">
  18          <?php echo JText::_('Num'); ?>
  19      </td>
  20      <?php if ( $this->params->get( 'show_name' ) ) : ?>
  21      <td height="20" width="90%" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  22          <?php echo JText::_( 'Feed Name' ); ?>
  23      </td>
  24      <?php endif; ?>
  25      <?php if ( $this->params->get( 'show_articles' ) ) : ?>
  26      <td height="20" width="10%" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>" align="center" nowrap="nowrap">
  27          <?php echo JText::_( 'Num Articles' ); ?>
  28      </td>
  29      <?php endif; ?>
  30   </tr>
  31  <?php endif; ?>
  32  <?php foreach ($this->items as $item) : ?>
  33  <tr class="sectiontableentry<?php echo $item->odd + 1; ?>">
  34      <td align="right" width="5">
  35          <?php echo $item->count + 1; ?>
  36      </td>
  37      <td height="20" width="90%">
  38          <a href="<?php echo $item->link; ?>" class="category<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  39              <?php echo $this->escape($item->name); ?></a>
  40      </td>
  41      <?php if ( $this->params->get( 'show_articles' ) ) : ?>
  42      <td height="20" width="10%" align="center">
  43          <?php echo $item->numarticles; ?>
  44      </td>
  45      <?php endif; ?>
  46  </tr>
  47  <?php endforeach; ?>
  48  <tr>
  49      <td align="center" colspan="4" class="sectiontablefooter<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  50      <?php
  51  
  52          echo $this->pagination->getPagesLinks();
  53      ?>
  54      </td>
  55  </tr>
  56  <tr>
  57      <td colspan="4" align="right">
  58          <?php echo $this->pagination->getPagesCounter(); ?>
  59      </td>
  60  </tr>
  61  </table>
  62  </form>


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