[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/templates/beez/html/com_newsfeeds/categories/ -> default.php (source)

   1  <?php // @version $Id: default.php 11917 2009-05-29 19:37:05Z ian $
   2  defined('_JEXEC') or die('Restricted access');
   3  $cparams = JComponentHelper::getParams ('com_media');
   4  ?>
   5  
   6  <?php if ($this->params->get('show_page_title',1)) : ?>
   7  <h1 class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
   8      <?php echo $this->escape($this->params->get('page_title')); ?>
   9  </h1>
  10  <?php endif; ?>
  11  
  12  <?php if ($this->params->def( 'show_comp_description', 1 ) || $this->params->get( 'image', -1 ) != -1) : ?>
  13  <div class="contentdescription<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  14  
  15      <?php if ($this->params->get( 'image', -1 ) != -1) : ?>
  16      <img src="<?php echo $this->baseurl . '/' . $this->escape($cparams->get('image_path')).'/'.$this->escape($this->params->get('image')); ?>" class="image_<?php echo $this->escape($this->params->get( 'image_align' )); ?>" />
  17      <?php endif; ?>
  18  
  19      <?php echo $this->params->get( 'comp_description' ); ?>
  20  
  21      <?php if ($this->params->get( 'image', -1 ) != -1) : ?>
  22      <div class="wrap_image">&nbsp;</div>
  23      <?php endif; ?>
  24  
  25  </div>
  26  <?php endif; ?>
  27  
  28  <?php if ( count( $this->categories ) ) : ?>
  29  <ul>
  30      <?php foreach ( $this->categories as $category ) : ?>
  31      <li>
  32          <a href="<?php echo $category->link; ?>" class="category">
  33              <?php echo $this->escape($category->title); ?></a>
  34          <?php if ( $this->params->get( 'show_cat_items' ) ) : ?>
  35          &nbsp;<span class="small">(<?php echo (int)$category->numlinks . ' ' . JText::_( 'items' ); ?>)</span>
  36          <?php endif; ?>
  37          <?php if ( $this->params->def( 'show_cat_description', 1 ) && $category->description) : ?>
  38          <br />
  39          <?php echo $category->description; ?>
  40          <?php endif; ?>
  41      </li>
  42      <?php endforeach; ?>
  43  </ul>
  44  <?php endif;


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