[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

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

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


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