| 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 ( = ⺠, » = » »)
|
| 37 |
return '<div class="breadcrumb">'. implode(' » ', $breadcrumb) .'</div>';
|
| 38 |
}
|
| 39 |
}
|
| 40 |
|