/[drupal]/contributions/themes/blue_bars/template.php
ViewVC logotype

Diff of /contributions/themes/blue_bars/template.php

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

revision 1.2, Thu Feb 23 02:59:33 2006 UTC revision 1.2.2.1, Sat Feb 25 21:49:03 2006 UTC
# Line 2  Line 2 
2  function phptemplate_menu_tree($pid = 1) {  function phptemplate_menu_tree($pid = 1) {
3    if ($tree = menu_tree($pid)) {    if ($tree = menu_tree($pid)) {
4      $output .= "<ul>";      $output .= "<ul>";
5        if (function_exists('base_path')) {
6          $base_path = base_path();
7        }
8        $url = $base_path . 'node';
9      if ($pid == 1) {      if ($pid == 1) {
10        $output .= "<li><a href=\"node\">home</a></li>";        $output .= "<li><a href=\"" . $url . "\">home</a></li>";
11      };      };
12      $output .= $tree;      $output .= $tree;
13      $output .= "</ul>";      $output .= "</ul>";

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.2.1

  ViewVC Help
Powered by ViewVC 1.1.2