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

Diff of /contributions/themes/marvinclassic/marvinclassic.theme

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

revision 1.3, Sat Jan 29 10:17:13 2005 UTC revision 1.4, Thu Mar 31 19:53:49 2005 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: marvinclassic.theme,v 1.2 2004/11/23 23:36:07 tdobes Exp $  // $Id: marvinclassic.theme,v 1.3 2005/01/29 10:17:13 tdobes Exp $
3    
4  function marvinclassic_features() {  function marvinclassic_features() {
5    return array('logo', 'toggle_primary_links', 'toggle_secondary_links');    return array('logo', 'toggle_primary_links', 'toggle_secondary_links');
# Line 13  function marvinclassic_page($content) { Line 13  function marvinclassic_page($content) {
13    $output .= "<title>";    $output .= "<title>";
14    
15    if ($title = drupal_get_title()) {    if ($title = drupal_get_title()) {
16      $output .= "$title - ". variable_get("site_name", "drupal");      $output .= strip_tags($title) .' - '. variable_get("site_name", "drupal");
17    }    }
18    else {    else {
19      $output .= variable_get("site_name", "drupal");      $output .= variable_get("site_name", "drupal");
# Line 50  function marvinclassic_page($content) { Line 50  function marvinclassic_page($content) {
50    }    }
51    $output .= "    <td style=\"vertical-align: top;\">\n";    $output .= "    <td style=\"vertical-align: top;\">\n";
52    
53    if ($title = drupal_get_title()) {    if ($title) {
54      $output .= theme("breadcrumb", drupal_get_breadcrumb());      $output .= theme("breadcrumb", drupal_get_breadcrumb());
55      $output .= "<h2 class=\"title\">$title</h2>";      $output .= "<h2 class=\"title\">$title</h2>";
56    }    }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.2