Added body classes: section-node-add, section-node-edit, section-node-delete
[project/zen.git] / theme-settings-init.php
CommitLineData
7d803240
J
1<?php
2// $Id$
3
d9439c8b 4if (is_null(theme_get_setting('zen_block_editing'))) {
7d803240 5 global $theme_key;
5f75a0a8
J
6
7 /*
8 * The default values for the theme variables. Make sure $defaults exactly
9 * matches the $defaults in the theme-settings.php file.
10 */
7d803240 11 $defaults = array(
d9439c8b 12 'zen_block_editing' => 1,
7d803240 13 'zen_breadcrumb' => 'yes',
7d803240 14 'zen_breadcrumb_separator' => ' › ',
d26b527c
J
15 'zen_breadcrumb_home' => 1,
16 'zen_breadcrumb_trailing' => 1,
dbffdf9b 17 'zen_layout' => 'border-politics-liquid',
8afee8f6 18 'zen_wireframes' => 0,
7d803240 19 );
5f75a0a8
J
20
21 // Save default theme settings
7d803240
J
22 variable_set(
23 str_replace('/', '_', 'theme_'. $theme_key .'_settings'),
24 array_merge($defaults, theme_get_settings($theme_key))
25 );
26 // Force refresh of Drupal internals
27 theme_get_setting('', TRUE);
28}