#33772 by dfg, add title to last breadcrumb element.
parent
860f49bacb
commit
3cd232e5d4
|
@ -1251,7 +1251,7 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') {
|
|||
case 'page':
|
||||
// Build breadcrumb based on first hierarchy of first term:
|
||||
$current->tid = $tids[0];
|
||||
$breadcrumbs = array(array('path' => $_GET['q']));
|
||||
$breadcrumbs = array(array('path' => $_GET['q'], 'title' => $names[0]));
|
||||
while ($parents = taxonomy_get_parents($current->tid)) {
|
||||
$current = array_shift($parents);
|
||||
$breadcrumbs[] = array('path' => 'taxonomy/term/'. $current->tid, 'title' => $current->name);
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
* $db_url = 'mysqli://username:password@localhost/databasename';
|
||||
* $db_url = 'pgsql://username:password@localhost/databasename';
|
||||
*/
|
||||
$db_url = 'mysql://username:password@localhost/databasename';
|
||||
$db_url = 'mysql://drupal:drupal@localhost/c_drupal';
|
||||
$db_prefix = '';
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue