diff options
author | Ctibor Brančík <ctibor@brancik.cz> | 2016-03-20 19:48:44 +0100 |
---|---|---|
committer | Ctibor Brančík <ctibor@brancik.cz> | 2016-03-20 19:48:44 +0100 |
commit | 07a7c72b4bb6c8d585908b71c63d661880f1f61d (patch) | |
tree | e98f15502375d73bef448f47165b5ba6f28d7172 /sites/brdo.brontosaurus.cz/themes/brdo/theme-settings.php | |
parent | a2a11bb9b2c8bd27d6a058ee2ca2d91472995177 (diff) | |
download | brdo-07a7c72b4bb6c8d585908b71c63d661880f1f61d.tar.gz brdo-07a7c72b4bb6c8d585908b71c63d661880f1f61d.tar.bz2 |
Added brdo subtheme.
Diffstat (limited to 'sites/brdo.brontosaurus.cz/themes/brdo/theme-settings.php')
-rw-r--r-- | sites/brdo.brontosaurus.cz/themes/brdo/theme-settings.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sites/brdo.brontosaurus.cz/themes/brdo/theme-settings.php b/sites/brdo.brontosaurus.cz/themes/brdo/theme-settings.php new file mode 100644 index 000000000..56ba41445 --- /dev/null +++ b/sites/brdo.brontosaurus.cz/themes/brdo/theme-settings.php @@ -0,0 +1,27 @@ +<?php +/** + * Implements hook_form_system_theme_settings_alter(). + * + * @param $form + * Nested array of form elements that comprise the form. + * @param $form_state + * A keyed array containing the current state of the form. + */ +function STARTERKIT_form_system_theme_settings_alter(&$form, &$form_state) { + + // Create the form using Forms API: http://api.drupal.org/api/7 + + /* -- Delete this line if you want to use this setting + $form['STARTERKIT_example'] = array( + '#type' => 'checkbox', + '#title' => t('STARTERKIT sample setting'), + '#default_value' => theme_get_setting('STARTERKIT_example'), + '#description' => t("This option doesn't do anything; it's just an example."), + ); + // */ + + // Remove some of the base theme's settings. + unset($form['themedev']['zen_layout']); // We don't need to select the layout stylesheet. + + // We are editing the $form in place, so we don't need to return anything. +} |