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

Contents of /contributions/themes/plutado_red/template.php

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


Revision 1.6 - (show annotations) (download) (as text)
Mon Oct 27 19:49:45 2008 UTC (12 months, 3 weeks ago) by plutado
Branch: MAIN
CVS Tags: DRUPAL-5--1-12, HEAD
Changes since 1.5: +35 -4 lines
File MIME type: text/x-php
*** empty log message ***
1 <?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_red_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) {
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 }

  ViewVC Help
Powered by ViewVC 1.1.2