Skip to content
Snippets Groups Projects
Commit 92766d77 authored by Tim Steiner's avatar Tim Steiner
Browse files

Disable the toggles for several template "features" that we either don't...

Disable the toggles for several template "features" that we either don't support or don't allow to be disabled.  I left a few that I wasn't sure about.

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@119 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent c3283a53
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,11 @@ function unl_wdn_get_instance()
require_once "UNL/Templates.php";
UNL_Templates::$options['version'] = UNL_Templates::VERSION3;
$instance = UNL_Templates::factory('Fixed');
if (theme_get_setting('toggle_main_menu')) {
$instance = UNL_Templates::factory('Fixed');
} else {
$instance = UNL_Templates::factory('Document');
}
}
return $instance;
......
......@@ -3,7 +3,14 @@ description = UNL WDN Theme
screenshot = screenshot.png
core = 7.x
engine = phptemplate
stylesheets[all][] = style.css
features[] = main_menu
features[] = node_user_picture
features[] = comment_user_picture
features[] = comment_user_verification
regions[content] = Main Content
regions[page_top] = Page top
regions[page_bottom] = Page bottom
......@@ -12,6 +19,9 @@ regions[leftcollinks] = Related Links
regions[contactinfo] = Contact Us
regions[optionalfooter] = Optional Footer
regions[footercontent] = Footer Content
plugins[panels][layouts] = layouts
settings[toggle_favicon] = 0
settings[zen_forms] = 0
settings[use_base] = 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment