Development

Changeset 21279

You must first sign up to be able to contribute.

Changeset 21279

Show
Ignore:
Timestamp:
08/20/09 18:37:23 (4 years ago)
Author:
nicolas.charlot
Message:

Partial d'affichage du fil d'Ariane : prise en compte d'une option facultative separator (par défaut »)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/isicsBreadcrumbsPlugin/modules/isicsBreadcrumbs/templates/_show.php

    r16113 r21279  
    11<?php $last_key = count($items) - 1 ?> 
     2 
     3<?php !isset($separator) and $separator = '&raquo;' ?> 
    24 
    35<?php foreach ($items as $key => $item): ?> 
    46  <?php if ($key < $last_key): ?> 
    5     <?php echo link_to($item->getText(), $item->getUri(ESC_RAW)) ?> &raquo; 
     7    <?php echo link_to($item->getText(), $item->getUri(ESC_RAW)) ?> <?php echo $separator ?> 
    68  <?php else: ?> 
    79    <strong><?php echo $item->getText() ?></strong>