[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/templates/beez/html/com_weblinks/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  
  13  <div class="weblinks<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  14  
  15      <?php if ($this->params->def('show_comp_description', 1) || $this->params->def('image', -1) != -1) : ?>
  16      <div class="contentdescription<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  17  
  18          <?php if ($this->params->def('image', -1) != -1) : ?>
  19          <img src="<?php echo $this->baseurl . $this->escape($cparams->get('image_path')).'/'.$this->escape($this->params->get('image')); ?>" alt="" class="image_<?php echo $this->escape($this->params->get('image_align')); ?>" />
  20          <?php endif; ?>
  21  
  22          <?php if ($this->params->get('show_comp_description')) :
  23              echo $this->params->get('comp_description');
  24          endif; ?>
  25  
  26          <?php if ($this->params->def('image', -1) != -1) : ?>
  27          <div class="wrap_image">&nbsp;</div>
  28          <?php endif; ?>
  29  
  30      </div>
  31      <?php endif; ?>
  32  
  33  </div>
  34  
  35  
  36  <?php if (count($this->categories)) : ?>
  37  <ul>
  38      <?php foreach ($this->categories as $category) : ?>
  39      <li>
  40          <a href="<?php echo $category->link; ?>" class="category<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  41              <?php echo $this->escape($category->title); ?></a>
  42          &nbsp;<span class="small">(<?php echo (int)$category->numlinks ?>)</span>
  43      </li>
  44      <?php endforeach; ?>
  45  </ul>
  46  <?php endif;


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