#33772 by dfg, add title to last breadcrumb element.

5.x
Neil Drumm 2006-07-14 01:01:15 +00:00
parent 860f49bacb
commit 3cd232e5d4
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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 = '';
/**