--- archive.pages.inc.orig 2008-04-07 21:15:47.389000000 -0700 +++ archive.pages.inc 2008-04-07 21:13:24.335000000 -0700 @@ -190,8 +190,7 @@ function _archive_node_types($date) { return $n_types; } -function theme_archive_page_title($type, $year, $month, $day) { - +function theme_archive_page_title($type, $year, $month, $day) { // Set the page title according to content that we're viewing. $title = t('Archive'); $month_names = array('', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'); @@ -205,7 +204,8 @@ function theme_archive_page_title($type, $title .= ' - '. $year; } if ($type != 'all') { - $title .= ' - '. $type; + $type_name = db_result(db_query(db_rewrite_sql('SELECT n.name FROM {node_type} n WHERE n.type = "' .$type .'"'))); + $type_name ? $title .= ' - '. $type_name : $title .= ' - '. $type; } return $title;