/[drupal]/contributions/themes/slurpee/slurpee.theme
ViewVC logotype

Diff of /contributions/themes/slurpee/slurpee.theme

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.18, Sat Jan 29 10:17:13 2005 UTC revision 1.19, Thu Mar 31 19:53:49 2005 UTC
# Line 1  Line 1 
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');
# Line 14  function slurpee_page($content) { Line 14  function slurpee_page($content) {
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");
# Line 82  function slurpee_page($content) { Line 82  function slurpee_page($content) {
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    }    }
# Line 144  function slurpee_node($node, $main = 0, Line 144  function slurpee_node($node, $main = 0,
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";

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.2