[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

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

   1  <?php defined('_JEXEC') or die('Restricted access'); ?>
   2  <script language="javascript" type="text/javascript">
   3  	function tableOrdering( order, dir, task ) {
   4      var form = document.adminForm;
   5  
   6      form.filter_order.value     = order;
   7      form.filter_order_Dir.value    = dir;
   8      document.adminForm.submit( task );
   9  }
  10  </script>
  11  
  12  <form action="<?php echo JFilterOutput::ampReplace($this->action); ?>" method="post" name="adminForm">
  13  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  14  <tr>
  15      <td align="right" colspan="4">
  16      <?php
  17          echo JText::_('Display Num') .'&nbsp;';
  18          echo $this->pagination->getLimitBox();
  19      ?>
  20      </td>
  21  </tr>
  22  <?php if ( $this->params->def( 'show_headings', 1 ) ) : ?>
  23  <tr>
  24      <td width="10" style="text-align:right;" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  25          <?php echo JText::_('Num'); ?>
  26      </td>
  27      <td width="90%" height="20" class="sectiontableheader<?php echo $this->escape($this->params->get( 'pageclass_sfx' )); ?>">
  28          <?php echo JHTML::_('grid.sort',  'Web Link', 'title', $this->lists['order_Dir'], $this->lists['order'] ); ?>
  29      </td>
  30      <?php if ( $this->params->get( 'show_link_hits' ) ) : ?>
  31  
  32      <td width="30" height="20" class="sectiontableheader<?php echo $this->escape($this->params->get( 'pageclass_sfx' )); ?>" style="text-align:center;" nowrap="nowrap">
  33          <?php echo JHTML::_('grid.sort',  'Hits', 'hits', $this->lists['order_Dir'], $this->lists['order'] ); ?>
  34      </td>
  35      <?php endif; ?>
  36  </tr>
  37  <?php endif; ?>
  38  <?php foreach ($this->items as $item) : ?>
  39  <tr class="sectiontableentry<?php echo $item->odd + 1; ?>">
  40      <td align="right">
  41          <?php echo $this->pagination->getRowOffset( $item->count ); ?>
  42      </td>
  43      <td height="20">
  44          <?php if ( $item->image ) : ?>
  45          &nbsp;&nbsp;<?php echo $item->image;?>&nbsp;&nbsp;
  46          <?php endif; ?>
  47          <?php echo $item->link; ?>
  48          <?php if ( $this->params->get( 'show_link_description' ) ) : ?>
  49          <br /><span class="description"><?php echo nl2br($this->escape($item->description)); ?></span>
  50          <?php endif; ?>
  51      </td>
  52      <?php if ( $this->params->get( 'show_link_hits' ) ) : ?>
  53      <td align="center">
  54          <?php echo $item->hits; ?>
  55      </td>
  56      <?php endif; ?>
  57  </tr>
  58  <?php endforeach; ?>
  59  <tr>
  60      <td align="center" colspan="4" class="sectiontablefooter<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  61      <?php echo $this->pagination->getPagesLinks(); ?>
  62      </td>
  63  </tr>
  64  <tr>
  65      <td colspan="4" align="right" class="pagecounter">
  66          <?php echo $this->pagination->getPagesCounter(); ?>
  67      </td>
  68  </tr>
  69  </table>
  70  <input type="hidden" name="filter_order" value="<?php echo $this->lists['order']; ?>" />
  71  <input type="hidden" name="filter_order_Dir" value="" />
  72  <input type="hidden" name="viewcache" value="0" />
  73  </form>


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