| 1 |
<?php // -*-php-*- |
<?php // -*-php-*- |
| 2 |
// $Id: article.module,v 1.23.2.5.2.1.2.13.2.2 2008/12/06 00:12:02 msameer Exp $ |
// $Id: article.module,v 1.23.2.5.2.1.2.13.2.3 2009/01/01 19:07:42 msameer Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
Article Module - an easy to use integrated article management module. |
Article Module - an easy to use integrated article management module. |
| 420 |
*/ |
*/ |
| 421 |
function article_build_breadcrumbs($tid) { |
function article_build_breadcrumbs($tid) { |
| 422 |
$parents = taxonomy_get_parents_all($tid); |
$parents = taxonomy_get_parents_all($tid); |
| 423 |
$breadcrumb[] = l(drupal_ucfirst(t('home')), '/'); |
$breadcrumb[] = l(drupal_ucfirst(t('home')), ''); |
| 424 |
$breadcrumb[] = l(drupal_ucfirst(t(variable_get('article_title', 'Article'))), 'article/'); |
$breadcrumb[] = l(drupal_ucfirst(t(variable_get('article_title', 'Article'))), 'article/'); |
| 425 |
|
|
| 426 |
$parents = array_reverse($parents); |
$parents = array_reverse($parents); |