[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/templates/beez/html/com_content/category/ -> 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_description', 1) || $this->params->def('show_description_image', 1)) : ?>
  13  <div class="contentdescription<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  14      <?php if ($this->params->get('show_description_image') && $this->category->image) : ?>
  15      <img src="<?php echo $this->baseurl . $cparams->get('image_path').'/'.$this->category->image; ?>" class="image_<?php echo $this->category->image_position; ?>" />
  16      <?php endif; ?>
  17  
  18      <?php if ($this->params->get('show_description') && $this->category->description) :
  19          echo $this->category->description;
  20      endif; ?>
  21  
  22      <?php if ($this->params->get('show_description_image') && $this->category->image) : ?>
  23      <div class="wrap_image">&nbsp;</div>
  24      <?php endif; ?>
  25  </div>
  26  <?php endif; ?>
  27  
  28  <?php $this->items =& $this->getItems();
  29  echo $this->loadTemplate('items'); ?>
  30  
  31  <?php if ($this->access->canEdit || $this->access->canEditOwn) :
  32      echo JHTML::_('icon.create', $this->category, $this->params, $this->access);
  33  endif;


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