| 1 |
<?php |
<?php |
| 2 |
// $Id: goofy.theme,v 1.18 2005/03/27 09:45:57 tdobes Exp $ |
// $Id: goofy.theme,v 1.19 2005/03/27 10:41:55 tdobes Exp $ |
| 3 |
|
|
| 4 |
function goofy_features() { |
function goofy_features() { |
| 5 |
return array('logo', 'toggle_primary_links', 'toggle_node_user_picture', 'toggle_comment_user_picture'); |
return array('logo', 'toggle_primary_links', 'toggle_node_user_picture', 'toggle_comment_user_picture'); |
| 28 |
<title>'; |
<title>'; |
| 29 |
|
|
| 30 |
if ($title = drupal_get_title()) { |
if ($title = drupal_get_title()) { |
| 31 |
$output .= "$title - ". variable_get("site_name", "drupal"); |
$output .= strip_tags($title) .' - '. variable_get("site_name", "drupal"); |
| 32 |
} |
} |
| 33 |
else { |
else { |
| 34 |
$output .= variable_get("site_name", "drupal"); |
$output .= variable_get("site_name", "drupal"); |
| 68 |
$output .= ' <td style="vertical-align: top; width: ' . (($colspan == 1) ? '100%' : (($colspan == 2) ? '80%' : '60%')) . '"> |
$output .= ' <td style="vertical-align: top; width: ' . (($colspan == 1) ? '100%' : (($colspan == 2) ? '80%' : '60%')) . '"> |
| 69 |
'; |
'; |
| 70 |
|
|
| 71 |
if ($title = drupal_get_title()) { |
if ($title) { |
| 72 |
$output .= theme("breadcrumb", drupal_get_breadcrumb()); |
$output .= theme("breadcrumb", drupal_get_breadcrumb()); |
| 73 |
$output .= "<h2 class=\"title\">$title</h2>"; |
$output .= "<h2 class=\"title\">$title</h2>"; |
| 74 |
} |
} |
| 132 |
} // close linksbar function |
} // close linksbar function |
| 133 |
|
|
| 134 |
function goofy_node($node, $main = 0, $page = 0) { |
function goofy_node($node, $main = 0, $page = 0) { |
| 135 |
$output = "\n<!-- node: \"$node->title\" -->\n"; |
$output = "\n<!-- node: \"". check_plain($node->title) ."\" -->\n"; |
| 136 |
$title = l($node->title, "node/$node->nid"); |
$title = l($node->title, "node/$node->nid"); |
| 137 |
$subleft = theme_get_setting("toggle_node_info_$node->type") ? t("Submitted by %a on %b", array("%a" => format_name($node), "%b" => format_date($node->created, "large"))) : ''; |
$subleft = theme_get_setting("toggle_node_info_$node->type") ? t("Submitted by %a on %b", array("%a" => format_name($node), "%b" => format_date($node->created, "large"))) : ''; |
| 138 |
|
|