diff -urp ../../all/modules/fb/themes/fb_fbml/comment.tpl.php fb_fbml/comment.tpl.php --- ../../all/modules/fb/themes/fb_fbml/comment.tpl.php 2009-08-29 08:50:06.000000000 -0400 +++ fb_fbml/comment.tpl.php 2009-08-29 10:56:47.000000000 -0400 @@ -1,6 +1,6 @@
-

diff -urp ../../all/modules/fb/themes/fb_fbml/fb_fbml.info fb_fbml/fb_fbml.info --- ../../all/modules/fb/themes/fb_fbml/fb_fbml.info 2009-08-29 08:50:06.000000000 -0400 +++ fb_fbml/fb_fbml.info 2009-08-29 10:43:15.000000000 -0400 @@ -9,7 +9,6 @@ regions[right] = Canvas Right regions[content_footer] = Content Footer regions[canvas_footer] = Canvas Footer - ; Information added by drupal.org packaging script on 2009-08-16 version = "6.x-2.x-dev" core = "6.x" diff -urp ../../all/modules/fb/themes/fb_fbml/node-teaser.php.tpl fb_fbml/node-teaser.php.tpl --- ../../all/modules/fb/themes/fb_fbml/node-teaser.php.tpl 2009-08-29 08:50:07.000000000 -0400 +++ fb_fbml/node-teaser.php.tpl 2009-08-29 10:54:07.000000000 -0400 @@ -1,6 +1,6 @@
">
-

diff -urp ../../all/modules/fb/themes/fb_fbml/node-teaser.tpl.php fb_fbml/node-teaser.tpl.php --- ../../all/modules/fb/themes/fb_fbml/node-teaser.tpl.php 2009-08-29 08:50:07.000000000 -0400 +++ fb_fbml/node-teaser.tpl.php 2009-08-29 10:55:57.000000000 -0400 @@ -1,6 +1,6 @@
">
-

diff -urp ../../all/modules/fb/themes/fb_fbml/node.tpl.php fb_fbml/node.tpl.php --- ../../all/modules/fb/themes/fb_fbml/node.tpl.php 2009-08-29 08:50:07.000000000 -0400 +++ fb_fbml/node.tpl.php 2009-08-29 10:57:35.000000000 -0400 @@ -12,7 +12,7 @@ if ($extra_style)
-

diff -urp ../../all/modules/fb/themes/fb_fbml/template.php fb_fbml/template.php --- ../../all/modules/fb/themes/fb_fbml/template.php 2009-08-29 08:50:09.000000000 -0400 +++ fb_fbml/template.php 2009-08-29 10:49:35.000000000 -0400 @@ -1,5 +1,36 @@ 1, + ); + + // Get default theme settings. + $settings = theme_get_settings($theme_key); + // Don't save the toggle_node_info_ variables. + if (module_exists('node')) { + foreach (node_get_types() as $type => $name) { + unset($settings['toggle_node_info_' . $type]); + } + } + // Save default theme settings. + variable_set( + str_replace('/', '_', 'theme_'. $theme_key .'_settings'), + array_merge($defaults, $settings) + ); + // Force refresh of Drupal internals. + theme_get_setting('', TRUE); +} + function fb_fbml_preprocess_page() { dpm(func_get_args(), 'fb_fbml_preprocess_page'); } @@ -260,4 +291,4 @@ function fb_fbml_fieldset($element) { return $output; } -?> \ No newline at end of file +?> Only in fb_fbml/: theme-settings.php