| 1 |
<?php
|
| 2 |
// $Id: template.php,v 1.1.2.1 2008/07/22 23:35:28 couzinhub Exp $
|
| 3 |
|
| 4 |
function ablock_regions() {
|
| 5 |
return array(
|
| 6 |
'content_top' => t('content top'),
|
| 7 |
'content_bottom' => t('content bottom'),
|
| 8 |
'footer' => t('footer')
|
| 9 |
);
|
| 10 |
}
|
| 11 |
|
| 12 |
/**
|
| 13 |
* Return a themed breadcrumb trail.
|
| 14 |
*
|
| 15 |
* @param $breadcrumb
|
| 16 |
* An array containing the breadcrumb links.
|
| 17 |
* @return a string containing the breadcrumb output.
|
| 18 |
*/
|
| 19 |
function ablock_breadcrumb($breadcrumb) {
|
| 20 |
if (!empty($breadcrumb)) {
|
| 21 |
return '<div id="breadcrumb">'. implode(' ', $breadcrumb) .'</div>';
|
| 22 |
}
|
| 23 |
}
|