/[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.5, Mon Oct 20 15:02:33 2008 UTC revision 1.6, Mon Oct 27 20:11:16 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3    /**
4     * Declare the available regions implmented by this engine.
5     * @return
6     * An array of regions. Each array element takes the format:
7     * variable_name => t('human readable name')
8     */
9    
10    function plutado_wide_regions() {
11            return array (
12            'leaderboard' => t('leaderboard'),
13            'header' => t('header'),
14            'top_data' => t('top data'),
15            'ad_position_a' => t('ad position a'),
16            'sidebar_left' => t('left sidebar'),
17            'sidebar_right' => t('right sidebar'),
18            'section_top' => t('section top'),
19            'content_top' => t('content top'),
20            'content_bottom' => t('content bottom'),
21            'section_bottom' => t('section bottom'),
22            'footer' => t('footer'),
23            'footer_ad' => t('footer ad'),
24            );
25    }
26    
27  function phptemplate_breadcrumb($breadcrumb) {  function phptemplate_breadcrumb($breadcrumb) {
   if (!empty($breadcrumb)) {  
     return '<div class="breadcrumb">' . implode ('<div class="delimit">&nbsp;»&nbsp;</div>', $breadcrumb) . '</div>';  
   }  
 }  
28            if (!empty($breadcrumb)) {
29                    return '<div class="breadcrumb">' . implode ('<div class="delimit">&nbsp;»&nbsp;</div>', $breadcrumb) . '</div>';
30            }
31    }
32    
33    /* override the default presentation of the search bar. */
34    
35    function phptemplate_search_theme_form($form) {
36      return _phptemplate_callback('search_theme_form', array('form' => $form), array('search-theme-form'));
37    }

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

  ViewVC Help
Powered by ViewVC 1.1.2