| 1 |
<?php // $Id: flexiblock.module,v 1.3 2005/07/23 23:12:44 djnz Exp $ |
<?php // $Id: flexiblock.module,v 1.4 2005/07/25 21:46:15 djnz Exp $ |
| 2 |
|
|
| 3 |
/** |
/** |
| 4 |
* @file |
* @file |
| 207 |
|
|
| 208 |
function _flexiblock_get_mapping($theme=FALSE) { |
function _flexiblock_get_mapping($theme=FALSE) { |
| 209 |
if ( !$theme ) { |
if ( !$theme ) { |
| 210 |
$theme = drupal_get_theme; |
$theme = drupal_get_theme(); |
| 211 |
} |
} |
| 212 |
$mapping = variable_get('flexiblock_mapping', array()); |
$mapping = variable_get('flexiblock_mapping', array()); |
| 213 |
if ( isset($mapping['themes'][$theme]) ) { |
if ( isset($mapping['themes'][$theme]) ) { |