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

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

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


Revision 1.2 - (show annotations) (download) (as text)
Thu Nov 27 22:40:43 2008 UTC (11 months, 3 weeks ago) by florian
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, DRUPAL-6--1-1, DRUPAL-5--1-0, HEAD
Changes since 1.1: +4 -8 lines
File MIME type: text/x-php
*** empty log message ***
1 <?php
2
3 // add jquery.pngFix.js file
4 drupal_add_js(drupal_get_path('theme', 'salamanderskins') . '/js/jquery.pngFix.js', 'theme');
5 drupal_add_js(drupal_get_path('theme', 'salamanderskins') . '/js/suckerfish.js', 'theme');
6
7
8 function salamanderskins_regions() {
9 return array(
10 'sidebar_left' => t('Left sidebar'),
11 'sidebar_right' => t('Right sidebar'),
12 'above' => t('Above'),
13 'header' => t('Header'),
14 'suckerfish' => t('Suckerfish Menu'),
15 'user1' => t('User 1'),
16 'user2' => t('User 2'),
17 'user3' => t('User 3'),
18 'content_top' => t('Top content'),
19 'content_bottom' => t('Bottom content'),
20 'user4' => t('User 4'),
21 'user5' => t('User 5'),
22 'user6' => t('User 6'),
23 'below' => t('Below'),
24 'footer' => t('Footer')
25 );
26 }
27
28 /* Modify theme variables */
29 function xmll() {
30 return '<em>by</em> <a href="http://www.radut.net/"> Dr. Radut</a>';
31 }
32
33 /* Breadcrumb override */
34 function salamanderskins_breadcrumb($breadcrumb) {
35 if (!empty($breadcrumb)) {
36 $breadcrumb[] = drupal_get_title(); // RADUT's full breadcrumb ( › = › , » = &#187; &raquo;)
37 return '<div class="breadcrumb">'. implode(' &raquo; ', $breadcrumb) .'</div>';
38 }
39 }
40

  ViewVC Help
Powered by ViewVC 1.1.2