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

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

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


Revision 1.2 - (show annotations) (download) (as text)
Tue Jul 29 05:03:02 2008 UTC (16 months ago) by couzinhub
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +23 -0 lines
File MIME type: text/x-php
revision of templates and css
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 }

  ViewVC Help
Powered by ViewVC 1.1.2