[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/modules/mod_breadcrumbs/tmpl/ -> default.php (source)

   1  <?php // no direct access
   2  defined('_JEXEC') or die('Restricted access'); ?>
   3  <span class="breadcrumbs pathway">
   4  <?php for ($i = 0; $i < $count; $i ++) :
   5  
   6      // If not the last item in the breadcrumbs add the separator
   7      if ($i < $count -1) {
   8          if(!empty($list[$i]->link)) {
   9              echo '<a href="'.$list[$i]->link.'" class="pathway">'.$list[$i]->name.'</a>';
  10          } else {
  11              echo $list[$i]->name;
  12          }
  13          echo ' '.$separator.' ';
  14      }  else if ($params->get('showLast', 1)) { // when $i == $count -1 and 'showLast' is true
  15          echo $list[$i]->name;
  16      }
  17  endfor; ?>
  18  </span>


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