- Patch #46985 by merlinofchaos: fixed problem with blogapi checkboxes.

4.7.x
Dries Buytaert 2006-01-30 18:30:44 +00:00
parent 3478cc50d0
commit 48b367c9d0
2 changed files with 2 additions and 2 deletions

View File

@ -564,7 +564,7 @@ function blogapi_settings() {
$defaults = isset($node_types['blog']) ? array('blog' => 1) : array();
$form['blogapi_node_types'] = array(
'#type' => 'checkboxes', '#title' => t('Blog types'), '#required' => TRUE,
'#default_value' => array_keys(variable_get('blogapi_node_types', $defaults), 1), '#options' => $node_types,
'#default_value' => variable_get('blogapi_node_types', $defaults), '#options' => $node_types,
'#description' => t('Select the content types for which you wish to enable posting via blogapi. Each type will appear as a different "blog" in the client application (if supported).')
);

View File

@ -564,7 +564,7 @@ function blogapi_settings() {
$defaults = isset($node_types['blog']) ? array('blog' => 1) : array();
$form['blogapi_node_types'] = array(
'#type' => 'checkboxes', '#title' => t('Blog types'), '#required' => TRUE,
'#default_value' => array_keys(variable_get('blogapi_node_types', $defaults), 1), '#options' => $node_types,
'#default_value' => variable_get('blogapi_node_types', $defaults), '#options' => $node_types,
'#description' => t('Select the content types for which you wish to enable posting via blogapi. Each type will appear as a different "blog" in the client application (if supported).')
);