[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/components/com_newsfeeds/views/categories/tmpl/ -> default.php (source)

   1  <?php // no direct access
   2  defined('_JEXEC') or die('Restricted access'); ?>
   3  <?php if ( $this->params->get( 'show_page_title', 1 ) ) : ?>
   4      <div class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
   5          <?php echo $this->escape($this->params->get('page_title')); ?>
   6      </div>
   7  <?php endif; ?>
   8  
   9  <table width="100%" cellpadding="4" cellspacing="0" border="0" align="center" class="contentpane<?php echo $this->escape($this->params->get( 'pageclass_sfx' )); ?>">
  10  <?php if ( ($this->params->get('image') != -1) || $this->params->get('show_comp_description') ) : ?>
  11  <tr>
  12      <td valign="top" class="contentdescription<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  13      <?php
  14          if ( isset($this->image) ) :  echo $this->image; endif;
  15          echo $this->escape($this->params->get('comp_description'));
  16      ?>
  17      </td>
  18  </tr>
  19  <?php endif; ?>
  20  </table>
  21  <ul>
  22  <?php foreach ( $this->categories as $category ) : ?>
  23      <li>
  24          <a href="<?php echo $category->link ?>" class="category<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  25              <?php echo $this->escape($category->title);?></a>
  26          <?php if ( $this->params->get( 'show_cat_items' ) ) : ?>
  27          &nbsp;
  28          <span class="small">
  29              (<?php echo $category->numlinks;?>)
  30          </span>
  31          <?php endif; ?>
  32          <?php if ( $this->params->get( 'show_cat_description' ) && $category->description ) : ?>
  33          <br />
  34          <?php echo $category->description; ?>
  35          <?php endif; ?>
  36      </li>
  37  <?php endforeach; ?>
  38  </ul>


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