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

Diff of /contributions/themes/adc/adc.theme

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

revision 1.17, Mon Mar 21 02:50:52 2005 UTC revision 1.18, Thu Mar 31 19:53:46 2005 UTC
# Line 1  Line 1 
1  <?php  <?php
2  /** $Id: adc.theme,v 1.16 2005/01/29 10:17:13 tdobes Exp $  /** $Id: adc.theme,v 1.17 2005/03/21 02:50:52 tdobes Exp $
3   *  Theme for cuadc.org   *  Theme for cuadc.org
4   *   *
5   *  @author Alastair Maw (me@almaw.com)   *  @author Alastair Maw (me@almaw.com)
# Line 18  function adc_page($content) { Line 18  function adc_page($content) {
18    $output .= "<title>";    $output .= "<title>";
19    
20    if ($title = drupal_get_title()) {    if ($title = drupal_get_title()) {
21      $output .= "$title | ". variable_get("site_name", "drupal");      $output .= strip_tags($title) .' | '. variable_get("site_name", "drupal");
22    }    }
23    else {    else {
24      $output .= variable_get("site_name", "drupal");      $output .= variable_get("site_name", "drupal");
# Line 61  function adc_page($content) { Line 61  function adc_page($content) {
61      $output .= "<div id=\"MainNone\">\n";      $output .= "<div id=\"MainNone\">\n";
62    }    }
63    
64    if ($title = drupal_get_title()) {    if ($title) {
65      $output .= theme("breadcrumb", drupal_get_breadcrumb());      $output .= theme("breadcrumb", drupal_get_breadcrumb());
66      $output .= "<h2 class=\"title\">$title</h2>";      $output .= "<h2 class=\"title\">$title</h2>";
67    }    }

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

  ViewVC Help
Powered by ViewVC 1.1.2