summaryrefslogtreecommitdiff
path: root/themes/chameleon/chameleon.theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/chameleon/chameleon.theme')
-rw-r--r--themes/chameleon/chameleon.theme9
1 files changed, 7 insertions, 2 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme
index 6906fbaa8..f3dcf1b6e 100644
--- a/themes/chameleon/chameleon.theme
+++ b/themes/chameleon/chameleon.theme
@@ -6,7 +6,7 @@ function chameleon_help($section) {
$output = '';
switch ($section) {
- case 'admin/system/themes#description':
+ case 'admin/themes#description':
$output = t('A fast PHP theme with different stylesheets.');
break;
}
@@ -37,6 +37,7 @@ function chameleon_page($content, $title = NULL, $breadcrumb = NULL) {
if (isset($title)) {
drupal_set_title($title);
}
+
if (isset($breadcrumb)) {
drupal_set_breadcrumb($breadcrumb);
}
@@ -68,6 +69,10 @@ function chameleon_page($content, $title = NULL, $breadcrumb = NULL) {
$output .= "<h2>$title</h2>";
}
+ if ($tabs = theme('menu_local_tasks')) {
+ $output .= $tabs;
+ }
+
if ($help = menu_get_active_help()) {
$output .= "<small>$help</small><hr />";
}
@@ -106,7 +111,7 @@ function chameleon_node($node, $main = 0, $page = 0) {
$output = "<div class=\"node\">\n";
if (!$page) {
- $output .= " <h2 class=\"title\">". ($main ? l($node->title, "node/view/$node->nid") : $node->title) ."</h2>\n";
+ $output .= " <h2 class=\"title\">". ($main ? l($node->title, "node/$node->nid") : $node->title) ."</h2>\n";
}
$output .= " <div class=\"content\">\n";