| 1 |
<?php |
<?php |
| 2 |
// $Id: slurpee.theme,v 1.17 2004/11/23 23:36:08 tdobes Exp $ |
// $Id: slurpee.theme,v 1.18 2005/01/29 10:17:13 tdobes Exp $ |
| 3 |
|
|
| 4 |
function slurpee_features() { |
function slurpee_features() { |
| 5 |
return array('toggle_name', 'toggle_mission', 'toggle_primary_links', 'toggle_search'); |
return array('toggle_name', 'toggle_mission', 'toggle_primary_links', 'toggle_search'); |
| 14 |
$output .= " " . drupal_get_html_head() . "\n"; |
$output .= " " . drupal_get_html_head() . "\n"; |
| 15 |
$output .= " <title>"; |
$output .= " <title>"; |
| 16 |
if ($title = drupal_get_title()) { |
if ($title = drupal_get_title()) { |
| 17 |
$output .= "$title - ". variable_get("site_name", "drupal"); |
$output .= strip_tags($title) .' - '. variable_get("site_name", "drupal"); |
| 18 |
} |
} |
| 19 |
else { |
else { |
| 20 |
$output .= variable_get("site_name", "drupal"); |
$output .= variable_get("site_name", "drupal"); |
| 82 |
$output .= "$blocks\n\n </td>\n\n"; |
$output .= "$blocks\n\n </td>\n\n"; |
| 83 |
} |
} |
| 84 |
$output .= " <td class=\"slurpee-sidecol\" valign=\"top\" align=\"left\">\n"; |
$output .= " <td class=\"slurpee-sidecol\" valign=\"top\" align=\"left\">\n"; |
| 85 |
if ($title = drupal_get_title()) { |
if ($title) { |
| 86 |
$output .= theme("breadcrumb", drupal_get_breadcrumb()); |
$output .= theme("breadcrumb", drupal_get_breadcrumb()); |
| 87 |
$output .= " <h1 class=\"title\">$title</h1>\n"; |
$output .= " <h1 class=\"title\">$title</h1>\n"; |
| 88 |
} |
} |
| 144 |
if (count($terms) && theme_get_setting("toggle_node_info_$node->type")) { |
if (count($terms) && theme_get_setting("toggle_node_info_$node->type")) { |
| 145 |
$colspan = " colspan=\"2\""; |
$colspan = " colspan=\"2\""; |
| 146 |
} |
} |
| 147 |
$output = "\n <!-- node: \"$node->title\" -->\n"; |
$output = "\n <!-- node: \"". check_plain($node->title) ."\" -->\n"; |
| 148 |
$output .= " <table width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" style=\"text-align : left;\" class=\"slurpee-box\">\n"; |
$output .= " <table width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" style=\"text-align : left;\" class=\"slurpee-box\">\n"; |
| 149 |
if ($page == 0) { |
if ($page == 0) { |
| 150 |
$output .= " <tr>\n"; |
$output .= " <tr>\n"; |