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

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

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

revision 1.2, Thu Sep 13 14:40:18 2007 UTC revision 1.3, Fri Jan 25 03:50:24 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  function burnt_regions() {  
   return array(  
        'left' => t('left sidebar'),  
        'right' => t('right sidebar'),  
        'content' => t('content'),  
        'header' => t('header'),  
        'footer' => t('footer')  
   );  
 }  
 function phptemplate_menu_tree($pid = 1) {  
   if ($tree = menu_tree($pid)) {  
     $output .= "\n<ul class=\"navlist\">\n";  
     if ($pid == 1) {  
       $output .= "<li><a href=\"node\">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";  
 }  
3  function burnt_block($block) {  function burnt_block($block) {
4    $output  = "<div class=\"block block-$block->module\" id=\"block-$block->module-$block->delta\">\n";    $output  = "<div class=\"block block-$block->module\" id=\"block-$block->module-$block->delta\">\n";
5    //don't print the header if it's the navigation block    //don't print the header if it's the navigation block

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

  ViewVC Help
Powered by ViewVC 1.1.2