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

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

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

revision 1.3, Thu Feb 15 20:48:27 2007 UTC revision 1.4, Fri Jan 25 04:10:03 2008 UTC
# Line 22  function channel_nine_get_center_width($ Line 22  function channel_nine_get_center_width($
22    }    }
23    return $width;    return $width;
24  }  }
25  function phptemplate_menu_tree($pid = 1) {  
   if ($tree = menu_tree($pid)) {  
     $output .= "\n<ul>\n";  
     if (function_exists('base_path')) {  
       $base_path = base_path();  
     }  
     $url = $base_path . 'node';  
     if ($pid == 1) {  
       $output .= "<li><a href=\"" . $url . "\">home</a></li>";  
     };  
     $output .= $tree;  
     $output .= "\n</ul>\n";  
     return $output;  
   }  
 }  
 function phptemplate_menu_item($mid, $children = '', $leaf = TRUE) {  
   //return '<li class="'. ($leaf ? 'leaf' : ($children ? 'expanded' : 'collapsed')) .'">'. menu_item_link($mid) . $children ."</li>\n";  
   return '<li>'. menu_item_link($mid) . $children ."</li>\n";  
 }  
26  function phptemplate_system_themes($form) {  function phptemplate_system_themes($form) {
27    foreach (element_children($form) as $key) {    foreach (element_children($form) as $key) {
28      $row = array();      $row = array();

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

  ViewVC Help
Powered by ViewVC 1.1.2