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

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

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

revision 1.4, Wed Oct 8 05:53:02 2008 UTC revision 1.5, Mon Oct 20 15:02:33 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
   
 /**  
  * Declare the available regions implmented by this engine.  
  * @return  
  * An array of regions. Each array element takes the format:  
  * variable_name => t('human readable name')  
  */  
   
 function plutado_regions() {  
         return array (  
         'leaderboard' => t('leaderboard'),  
         'header' => t('header'),  
         'sidebar_left' => t('left sidebar'),  
         'sidebar_right' => t('right sidebar'),  
         'section_top' => t('section top'),  
         'content_top' => t('content top'),  
         'content_bottom' => t('content bottom'),  
         'section_bottom' => t('section bottom'),  
         'footer' => t('footer'),  
         'footer_ad' => t('footer ad'),  
         );  
 }  
   
2  function phptemplate_breadcrumb($breadcrumb) {  function phptemplate_breadcrumb($breadcrumb) {
         if (!empty($breadcrumb)) {  
                 return '<div class="breadcrumb">' . implode ('<div class="delimit">&nbsp;»&nbsp;</div>', $breadcrumb) . '</div>';  
         }  
 }  
   
 /* override the default presentation of the search bar. */  
   
 function phptemplate_search_theme_form($form) {  
   return _phptemplate_callback('search_theme_form', array('form' => $form), array('search-theme-form'));  
 }  
3      if (!empty($breadcrumb)) {
4        return '<div class="breadcrumb">' . implode ('<div class="delimit">&nbsp;»&nbsp;</div>', $breadcrumb) . '</div>';
5      }
6    }

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

  ViewVC Help
Powered by ViewVC 1.1.2