function content_theme_admin_content_wide in Content Theme 6
Same name and namespace in other branches
- 7.2 content_theme.admin.inc \content_theme_admin_content_wide()
- 7 content_theme.admin.inc \content_theme_admin_content_wide()
Menu callback; configures content wide themes.
1 string reference to 'content_theme_admin_content_wide'
- content_theme_menu in ./
content_theme.module - Implementation of hook_menu().
File
- ./
content_theme.admin.inc, line 298 - Admin page callbacks for the content_theme module.
Code
function content_theme_admin_content_wide() {
$form = array();
$form['update'] = array(
'#type' => 'fieldset',
'#title' => t('Update content wide themes'),
);
$form['update']['content_theme_edit'] = array(
'#type' => 'select',
'#title' => t('Creating & editing theme'),
'#description' => t('Choose which theme the content creating and editing pages should display in. System default theme: %system_default_theme.', array(
'%system_default_theme' => content_theme_get_info_theme_name(),
)),
'#default_value' => variable_get('content_theme_content_wide_edit', '0'),
'#options' => content_theme_get_content_wide_options(),
);
$form['update']['content_theme_view'] = array(
'#type' => 'select',
'#title' => t('Viewing theme'),
'#description' => t('Choose which theme the content viewing pages should display in. System default theme: %system_default_theme.', array(
'%system_default_theme' => content_theme_get_info_theme_name(),
)),
'#default_value' => variable_get('content_theme_content_wide_view', '0'),
'#options' => content_theme_get_content_wide_options(),
);
$form['update']['actions']['submit'] = array(
'#type' => 'submit',
'#value' => t('Update themes'),
);
return $form;
}