/**
 * Implements HOOK_theme().
 */
function zen_theme(&$existing, $type, $theme, $path)
{
    if (!db_is_active()) {
        return array();
    }
    include_once './' . drupal_get_path('theme', 'zen') . '/template.theme-registry.inc';
    return _zen_theme($existing, $type, $theme, $path);
}
/**
 * Implements HOOK_theme().
 */
function zen_theme(&$existing, $type, $theme, $path)
{
    include_once './' . drupal_get_path('theme', 'zen') . '/zen-internals/template.theme-registry.inc';
    return _zen_theme($existing, $type, $theme, $path);
}
Beispiel #3
0
/**
 * Implements HOOK_theme().
 */
function zen_theme(&$existing, $type, $theme, $path)
{
    // When #341140 is fixed, replace _zen_path() with drupal_get_path().
    include_once './' . _zen_path() . '/zen-internals/template.theme-registry.inc';
    return _zen_theme($existing, $type, $theme, $path);
}
Beispiel #4
0
/**
 * Implements HOOK_theme().
 */
function zen_theme(&$existing, $type, $theme, $path)
{
    include_once './' . _zen_path() . '/template.theme-registry.inc';
    return _zen_theme($existing, $type, $theme, $path);
}