| 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"> ยป </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 |
}
|