| 1 |
<?php
|
| 2 |
// $Id$
|
| 3 |
/**
|
| 4 |
* @file
|
| 5 |
* The template for the parents and current directory level.
|
| 6 |
*
|
| 7 |
* Note that this template does not actually output any HTML
|
| 8 |
*
|
| 9 |
* @copyright (c) 2009 Ouest Systèmes Informatiques (OSInet)
|
| 10 |
* @author Frédéric G. MARAND
|
| 11 |
* @license General Public License version 2 and later
|
| 12 |
*/
|
| 13 |
|
| 14 |
$arBreadcrumbs = array
|
| 15 |
(
|
| 16 |
l(t('Home'), '<front>'),
|
| 17 |
l(t('Directory'), 'directory'),
|
| 18 |
);
|
| 19 |
if ($term)
|
| 20 |
{
|
| 21 |
drupal_set_title($term->name);
|
| 22 |
array_push($parents, $term->name);
|
| 23 |
$arBreadcrumbs = array_merge($arBreadcrumbs, $parents);
|
| 24 |
}
|
| 25 |
drupal_set_breadcrumb($arBreadcrumbs);
|