diff --git a/domain_conf/domain_conf.domain.inc b/domain_conf/domain_conf.domain.inc index 3dd2923..c88272d 100644 --- a/domain_conf/domain_conf.domain.inc +++ b/domain_conf/domain_conf.domain.inc @@ -169,6 +169,24 @@ function domain_conf_domain_batch() { '#update_all' => TRUE, '#group' => t('Administrative theme'), ); + // Choose whether the admin theme is used when creating/editing content + $batch['node_admin_theme'] = array( + '#form' => array( + '#type' => 'checkbox', + '#title' => t('Use the administration theme when editing or creating content'), + '#description' => t('Choose whether to use the administrative theme on node add and edit pages on this domain.'), + ), + '#permission' => 'administer themes', + '#domain_action' => 'domain_conf', + '#system_default' => variable_get('node_admin_theme', 0), + '#variable' => 'node_admin_theme', + '#meta_description' => t('Choose whether to use the administrative theme when editing or creating content on all domains.'), + '#data_type' => 'boolean', + '#weight' => -7, + '#update_all' => TRUE, + '#group' => t('Administrative theme'), + ); + // Change the timezone. $zones = system_time_zones(); $batch['date_default_timezone'] = array(