/[drupal]/contributions/theme-engines/phptemplate/phptemplate.engine
ViewVC logotype

Diff of /contributions/theme-engines/phptemplate/phptemplate.engine

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

revision 1.24, Sat Mar 26 18:20:09 2005 UTC revision 1.25, Thu Mar 31 19:53:47 2005 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: phptemplate.engine,v 1.23 2005/03/24 16:06:23 chx Exp $  // $Id: phptemplate.engine,v 1.24 2005/03/26 18:20:09 adrian Exp $
3    
4  /**  /**
5   * Execute a template engine call.   * Execute a template engine call.
# Line 199  function phptemplate_page($content) { Line 199  function phptemplate_page($content) {
199    $sidebar_indicator = null;    $sidebar_indicator = null;
200    
201    $vars = array(    $vars = array(
202      'head_title'          => (drupal_get_title() ? drupal_get_title() .' | '. variable_get('site_name', 'drupal') : variable_get('site_name', 'drupal') .' | '. variable_get('site_slogan', '')),      'head_title'          => (drupal_get_title() ? strip_tags(drupal_get_title()) .' | '. variable_get('site_name', 'drupal') : variable_get('site_name', 'drupal') .' | '. variable_get('site_slogan', '')),
203      'language'            => $GLOBALS['locale'],      'language'            => $GLOBALS['locale'],
204      'site'                => variable_get('site_name', 'drupal'),      'site'                => variable_get('site_name', 'drupal'),
205      'head'                => drupal_get_html_head(),      'head'                => drupal_get_html_head(),
# Line 256  function phptemplate_node($node, $main = Line 256  function phptemplate_node($node, $main =
256    }    }
257    
258    $vars = array(    $vars = array(
259        'title'          => $node->title,        'title'          => check_plain($node->title),
260        'node_url'       => url('node/' . $node->nid),        'node_url'       => url('node/' . $node->nid),
261        'terms'          => theme('links',$taxonomy),        'terms'          => theme('links',$taxonomy),
262        'name'           => format_name($node),        'name'           => format_name($node),

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.2