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

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

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

revision 1.7, Mon Oct 27 17:06:30 2008 UTC revision 1.8, Tue Oct 28 04:27:53 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
 /**  
  * 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'),  
         'top_data' => t('top data'),  
         'ad_position_a' => t('ad position a'),  
         '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'),  
         );  
 }  
   
3  function phptemplate_breadcrumb($breadcrumb) {  function phptemplate_breadcrumb($breadcrumb) {
4          if (!empty($breadcrumb)) {          if (!empty($breadcrumb)) {
5                  return '<div class="breadcrumb">' . implode ('<div class="delimit">&nbsp;»&nbsp;</div>', $breadcrumb) . '</div>';                  return '<div class="breadcrumb">' . implode ('<div class="delimit">&nbsp;»&nbsp;</div>', $breadcrumb) . '</div>';
6          }          }
 }  
   
 /* 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'));  
 }  
7    }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.2